python
Django
python | Django | |
---|---|---|
22 | 541 | |
7,306 | 84,810 | |
2.2% | 0.9% | |
8.2 | 9.8 | |
5 days ago | 3 days ago | |
Python | Python | |
Apache License 2.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
python
- Show HN: Kr8s a batteries-included Python client library for Kubernetes
-
How can I get a list of all namespaces within a specific Kubernetes cluster, using the Kubernetes API?
One option is to use list_namespace(), as described in https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/CoreV1Api.md
- python-k8sclient documentatiom
-
Running `connect_get_namespaced_pod_exec` using kubernetes client corev1api gives bad request
I have checked the python version == 2.7 and pip freeze - ipaddress==1.0.22, urllib3==1.24.1 and websocket-client==0.54.0 are the versions which satisfy the requirement - as mentioned here: https://github.com/kubernetes-client/python/blob/master/README.md#hostname-doesnt-matchfollowed the issue on this thread - https://github.com/kubernetes-client/python/issues/36 - not much help.
-
How to use the kubernetes-client for executing "kubectl apply"
kubectl apply -f class.yamlkubectl apply -f rbac.yamlkubectl apply -f deployment-arm.yaml I want to use the kubernetes-client written in python to replace it. My current code, loads the there yaml files (using pyyaml), edits them a bit, inserts into a file and use the command line kubectl to execute those three commands. Some of the code:
-
Tell HN: Amusing Substitutions for Class Keyword
In the Kubernetes Python client code it's called "klass":
https://github.com/kubernetes-client/python/blob/1a0cb469528e6b2bdeb3eb2c06945f1c22303dfd/kubernetes/client/api_client.py#L266
and in Apache ecosystem it's called clazz:
https://github.com/search?q=org%3Aapache+clazz&type=code
Just thought it was amusing and wanted to share
- Connecting to EKS from a Python Lambda
-
Leader Election In Kubernetes
One way is to use configmap lock https://github.com/kubernetes-client/python/tree/master/kubernetes/base/leaderelection
-
Unable to connect to kubernetes python api - .kube/config file not found
I'm having trouble connecting to the kubernetes python client even though I'm following the examples here in the api.
-
Automate All the Boring Kubernetes Operations with Python
As you can imagine, that's a lot of functions to choose from, luckily all of them are listed in docs and you can click on any one of them to get an example of its usage.
Django
-
Configuring CSP: A Test For Django 6.0
The Bakery Demo project uses pip from Python for package management, and the Wagtail dot org website uses Poetry. The differences in connecting both were very subtle, with the bakery demo being the easier of the two. The overarching requirement was that you would have cloned the most recent version of Django from its GitHub repository. For the Bakery Demo, you would need a virtual environment and an installation of Django pointing to your local editable version via pip install -e /path/to/django. This virtual environment would contain your Django, editable version of Wagtail, and Bakery Demo website. For a poetry-based installation, modifying the project's pyproject.toml to point to a locally editable version of Django (or mounted volume of it, as in a potential case of containerization)
-
The Factory Timezone
"settings.py" is your local configuration. The global default is still Chicago:
* https://github.com/django/django/blob/main/django/conf/globa...
-
How to Choose the Right Tech Stack for Your SaaS MVP
Python + Django/Flask (rapid development, lots of libraries)
-
AI Stack for Solo Developers: Build an Entire Startup with These Tools
Tools: ChatGPT (free), Claude, Django, FastAPI, Node.js ChatGPT is great for planning and scaffolding. Claude shines when working with multiple files or complex refactoring. Together, they can spin up routes, models, authentication, and even database setup in record time.
-
Behind the Scenes: Building My Modular Django Portfolio - PART 1
Django framework: a powerful framework for building full-stack websites.
-
Software design isn’t magic, but it feels like sorcery when you get it right
Django MVC done right (and battle-tested)
-
15 dev survival lessons from someone who actually made it
Django
-
Thinking in Templates
Django, for example, has a template engine that allows you to define a template in HTML and render it with a context -- data usually sourced from the database via the Django view. However, with its filters and helpers, it is almost too powerful -- undermining the core idea of templating. The same goes for Ember.js, as well.
-
Why and How to Patch a Python Package in Nix
I am maintaining a Python codebase that is based on Django and Django REST Framework (DRF). The codebase uses Nix for development, testing, CI/CD and packaging.
-
Rapid AI-powered applications with Django MongoDB and Voyage API
In the world of Python web development, Django is considered a powerhouse. It is one of the oldest, yet most actively developed web frameworks with a vibrant developer community. Technically speaking, Django is a third-party Python framework for creating web applications that run on a server.
What are some alternatives?
py3cw - Unofficial wrapper for the 3Commas API written in Python
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
pyJoules - A Python library to capture the energy consumption of code snippets
Flask - The Python micro framework for building web applications.
Pyadomd - A pythonic approach to query SSAS data models.
Masonite - The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ