PythonHub
2.37K subscribers
2.35K photos
49K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Building a Bootstrap styled form in vanilla Django

In this post, David Smith explores creating a Bootstrap-styled form in vanilla Django without relying on third-party packages. He discusses customizing form widgets, adding CSS classes, and creating a custom field template.

https://smithdc.uk/blog/2023/bootstrap_form_in_vanilla_django
Skyfield: Elegant Astronomy for Python

https://rhodesmill.org/skyfield/
Running Python Parallel Applications with Sub Interpreters

Python 3.12 introduced a new API for “sub interpreters”, which are a different parallel execution model for Python that provide a nice compromise between the true parallelism of multiprocessing, but with a much faster startup time. This post will explain what a sub interpreter is, why it’s important for parallel code execution in Python and how it compares with other approaches.

https://tonybaloney.github.io/posts/sub-interpreter-web-workers.html
CPython Object System Internals: Understanding the Role of PyObject

Understand how objects are implemented in CPython and how CPython emulates Inheritance and Polymorphism in C using struct embedding.

https://codeconfessions.substack.com/p/cpython-object-system-internals-understanding