No project description provided
Project description
Falco
The toolkit for a better 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 that aims to improve the development experience of django projects. It is made of the CLI that goes from starting a new django project, to generating simple CRUD views for rapide prototyping, and a collection of guides that address common issues in web development, but tailiored to django projects.
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 your whole django projects in one command.
- htmx: Download the latest version (if no version is specified) 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, intended only for development.
- make-superuser: Make a superuser from the specified 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
- Task Queues and Schedulers
- Interactive UX (User Experience) with HTMX
- 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
Hashes for falco_cli-0.0.21-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1225c1c1a14d6700ca15c04ffafe5c2812817c7eb6d5844f357c2ec78a5fd019 |
|
MD5 | c2f563ee61be0962c8cdd9278649e9a1 |
|
BLAKE2b-256 | e5304e97ce3fd0d23423fd8e4661889c0e1cc393d4808e4163f456b6b51f67ab |