djLint
django-migration-linter
Our great sponsors
djLint | django-migration-linter | |
---|---|---|
4 | 3 | |
598 | 509 | |
7.2% | 2.0% | |
8.3 | 7.1 | |
12 days ago | about 1 month ago | |
Python | Python | |
GNU General Public License v3.0 only | Apache License 2.0 |
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.
djLint
-
Django Code Formatting and Linting Made Easy: A Step-by-Step Pre-commit Hook Tutorial
- repo: https://github.com/Riverside-Healthcare/djLint rev: v1.32.0 hooks: - id: djlint-reformat-django - id: djlint-django
-
Improve your Django Code with pre-commit
For Django users, which you presumably are, this will be a God send! Check out the repo. This is an HTML linter... but for Django templates 🤯
-
Hugo no theme
There is also another gohtml file type formatter, you can find it here https://github.com/Riverside-Healthcare/djlint.
-
Django template formatter
djLint is far batter than djhtml. it has support for both formatting and linting.
django-migration-linter
-
How do you verify the safety of database schema migrations?
https://github.com/3YOURMIND/django-migration-linter running before tests in CI, with some extra stuff that only warns by default set up to error out as well, for example non-async index create/drop.
-
Schema Migrations and Avoiding Downtime
A tool I've used with Django in the past is the one: https://github.com/3YOURMIND/django-migration-linter
It helps with the problem that if you're running several application servers it's important to avoid migrations that are backwards incompatible - since if some of your application servers haven't yet updated to the latest code you could get errors when they try to run queries against the migrates database.
-
Does anyone use ci/cd for deploying database changes?
There's actually a Django package called django-migration-linter that can help with this by spotting migrations that could break under that condition: https://github.com/3YOURMIND/django-migration-linter
What are some alternatives?
null-ls.nvim - Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
Flask-Migrate - SQLAlchemy database migrations for Flask applications using Alembic
pretix - Ticket shop application for conferences, festivals, concerts, tech events, shows, exhibitions, workshops, barcamps, etc.
dev-setup - macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
kapitan - Generic templated configuration management for Kubernetes, Terraform and other things
prisma-client-py - Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
jinjax - Server-Side Components with Jinja
terminusdb - TerminusDB is a distributed database with a collaboration model
jinja2-simple-tags - Base classes for quick-and-easy template tag development
Redash - Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
best-of-web-python - 🏆 A ranked list of awesome python libraries for web development. Updated weekly.
django-pgschemas - Django multi-tenancy through Postgres schemas