Enhance your Django developer experience: CLI and Guides for the Modern Developer.
Project description
Falco
An opinionated toolkit for a modern Django development experience
[!WARNING] This is a work in progress (WIP), this is also fuzzy-couscous new cooler brother.
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.
- 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)
- 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.
- Optimizing Database Access
- Dynamic Model Schema
- Use Sqlite in production
- Bussiness logic in django
- Managing Multitenancy in Django
- Writing documentation
- Database Tips: Backup, Scaling, Triggers, and More
- Async Coding in Django
- Realtime in Django: Websockets, SSE, Polling
- Interactive user interfaces
- Task Queues and Schedulers
- Running your project in a single container
- Deploy your project
- Permissions and authorizations
- Writing tests
- Logging and monitoring
- Tips and extra
Acknowledgements
Falco is inspired by (and borrows elements from) some excellent starter templates:
- cookiecutter-django
- django-hatch-startproject
- django-unicorn (Inspiration for the logo)
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.0.23.tar.gz
.
File metadata
- Download URL: falco_cli-0.0.23.tar.gz
- Upload date:
- Size: 949.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0befe8f161e331c94f1dd415164b003dc24a7e436b93bd93d8642a146714fb61 |
|
MD5 | 676d5c72ce39654af3fd9b7d1ad69346 |
|
BLAKE2b-256 | 19ce60ab85c17fb3ef8e838eb282dc828dbafebaaff3833a5eb61c0a5cad4c0c |
File details
Details for the file falco_cli-0.0.23-py3-none-any.whl
.
File metadata
- Download URL: falco_cli-0.0.23-py3-none-any.whl
- Upload date:
- Size: 54.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.25.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96dc1084034a951c4e21238d3540cc78ce33e10041532b88ffc23b5e59e6478f |
|
MD5 | 1df42850cced303c0b2a07eda9afe967 |
|
BLAKE2b-256 | 0409a642e8f29e21fd47995511be2d72d75e08a9ca6e96ee2fc2b8e18d1ee049 |