Enhance your Django developer experience: CLI and Guides for the Modern Developer.
Project description
Falco
An opinionated toolkit for a modern Django development experience
Falco is a Django-centric toolkit designed to enhance the development experience. The CLI offers commands for initiating new projects, generating simple CRUD views for rapid prototyping, and more. Additionally, it provides a collection of guides to address common issues in web development specifically tailored to Django.
The CLI
This is a set of commands to help you throughout the lifecycle of your django project development, from bootstrapping a new project using modern tools like htmx, hatch, tailwindcss, to generating CRUD views for your models and a few utilities that might help during deployment.
pip install falco-cli
- start-project: Initialize a new django project the falco way.
- crud: Generate CRUD (Create, Read, Update, Delete) views for a model.
- install-crud-utils: Install utils necessary for CRUD views.
- work: Run all the services required to run your django project in parallel with a single command. (development only)
- htmx: Download a local copy of the latest version of htmx.
- htmx-ext: Download one of htmx extensions.
- sync-dotenv: Synchronize the
.env
file with the.env.template
file. - rm-migrations: Remove all migrations for the specified applications directory. (development only)
- reset-migrations: Delete and recreate all migrations. (development only)
- make-superuser: Make a superuser from some pre-defined django settings.
The guides
[!NOTE] These are currently a work in progress. Most of them are half-written or not written at all. I hope to get them in a usable state by the end of january 2024.
If you don't find any use of the CLI, I hope you will in these guides. This is a collection of guides that address common issues in web development, specifically tailored to Django. Each guide provides solutions, patterns, and approaches that are relevant to Django projects. It is similar to the Django topic guides, but instead of focusing on components of the framework like forms
, models
, views
, etc., it focuses on more general topics like task queues
, deployment
, realtime
, etc.
- Interactive user interfaces
- Task Queues and Schedulers
- Writing documentation
- Writing tests
- Logging and monitoring
- Deploy your project
- Optimizing Database Access
- Business logic in django
- Dynamic Model Schema
- Realtime in Django: Websockets, SSE, Polling
- Permissions and authorizations
- Database Tips: Backup, Scaling, Triggers, and More
- Managing Multi-tenancy in Django
- Async Coding in Django
- Use Sqlite in production
- Running your project in a single container
- Tips and extra
Acknowledgements
Falco is inspired by (and borrows elements from) some excellent open source projects:
- cookiecutter-django
- django-hatch-startproject
- django-unicorn (Inspiration for the logo)
- neapolitan
Contributors
Tobi DEGNON 💻 📖 ⚠️ |
Muhammad Hammad 🤔 |
mathiasag7 💻 |
Richard Shea 📖 |
Waqar Khan 💻 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file falco_cli-0.2.4.tar.gz
.
File metadata
- Download URL: falco_cli-0.2.4.tar.gz
- Upload date:
- Size: 658.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 801c208163ecbe768ce02ced9b61559496532db51f288c4d437e6ef34dfa9fc9 |
|
MD5 | 387cebd82b536a6e342c9d16243ae908 |
|
BLAKE2b-256 | e9d2199a13fa3e8ae3eb8ff076b2effd13ab9388d22e6ff791a25ff798b55802 |
File details
Details for the file falco_cli-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: falco_cli-0.2.4-py3-none-any.whl
- Upload date:
- Size: 61.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acbe6bf645e6004f4e99d85b6d1e7e11fbc9efa6c392333cffd90fa5375e287d |
|
MD5 | a20352630c9e8de62dd940ddde19618d |
|
BLAKE2b-256 | 17cce754c449ac7bdf3425af4748233187719d59d97f2b3362ad6436f4aea598 |