code
Django-Styleguide
Our great sponsors
code | Django-Styleguide | |
---|---|---|
3 | 29 | |
2,007 | 4,568 | |
3.1% | 2.9% | |
2.2 | 4.7 | |
about 2 months ago | 5 days ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT 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.
code
- Has anybody implemented clean architecture in a Django application?
-
Do you know any Python projects on Github that are examples of best practices and good architecture?
This is the companion repo to the O'Reilly book "Architecture Patterns with Python": https://github.com/cosmicpython/code
-
Little confused on best practices for splitting up a larger python file
I've been working through Architecture Patterns with Python which has a public github with the code broken into different branches by chapter. They go through building a small app and show how to separate things out as the app grows. Great examples of how test driven development can help as you build things too. Highly recommend
Django-Styleguide
-
Django project structure
There are alternatives, such as HackSoft's Django style guide, but fat models, thin views is usually good enough.
-
Django Views – The Right Way
I think this is a great resource. The only comment I have is on the Thin Views chapter. Instead of attaching logic to the models, I like to make a services.py file in my app that has functions that satisfy all sorts of business logic.
Here's another opinionated Django guide: https://github.com/HackSoftware/Django-Styleguide if anyone's interested
-
Django github projects
you can follow the Django Style Guide by Hacksoft. They have awesome style guide for you on github https://github.com/HackSoftware/Django-Styleguide
- I'd like to look at well written Django projects.
-
DRF + React
I would also recommend taking a look at HackSoftware's django styleguide repo. I found applicable. You don't have to follow it religiously (or at all) but still brings up some good food for thought.
-
How do you Manage Orchestration in semi-complex apps?
I've read from Django Styleguide, Two Scoops of Django, Django for Startups, Still No Service, and a few threads even here in this subreddit (they largely reference above).
-
Learning Django as a non-beginner code/python
Perhaps the Django style guide is suitable? It definitely isn't a basic tutorial but perhaps it's too advanced? https://github.com/HackSoftware/Django-Styleguide
-
Has anybody implemented clean architecture in a Django application?
well Django encourages you to tightly couple your django code with your views but even I do not like that way of doing it. So what I had started following HackSoft's Django styleguide - https://github.com/HackSoftware/Django-Styleguide to write my Django code.
-
This Week In Python
Django-Styleguide – Django styleguide used in HackSoft projects
- Django Styleguide
What are some alternatives?
pynguin - The PYthoN General UnIt Test geNerator is a test-generation tool for Python
very_good_cli - A Very Good Command-Line Interface for Dart created by Very Good Ventures 🦄
Airflow - Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
awesome-django - A curated list of awesome things related to Django
scikit-learn - scikit-learn: machine learning in Python
django-api-domains - A pragmatic styleguide for Django API Projects
dnxfirewall - DNXFIREWALL™ and DAD'S NEXT-GEN FIREWALL™, a C/CPython hybrid next generation firewall built on top of Linux and bound to kernel/ netfilter hooks for packet control.
spinach - Modern Redis task queue for Python 3
wily - A Python application for tracking, reporting on timing and complexity in Python code
import-linter - Import Linter allows you to define and enforce rules for the internal and external imports within your Python project.
requests - A simple, yet elegant, HTTP library.
django-readers - A lightweight function-oriented toolkit for better organisation of business logic and efficient selection and projection of data in Django projects.