Skip to main content

Enhance your Django developer experience: CLI and Guides for the Modern Developer.

Project description

falco logo

Falco

An opinionated toolkit for a modern Django development experience

CI Publish Python Package Documentation pypi Hatch project Ruff MIT License PyPI - Python Version PyPI - Versions from Framework Classifiers PyPI - Downloads

[!WARNING] The falco CLI isn't stable at the moment; stability is expected with the 1.0.0 release. I'm still making numerous changes quite frequently. If you're currently using it, remember to run pip install --upgrade falco-cli from time to time.

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.

For a brief introduction to the user experience of the CLI, visit this page.

pip install falco-cli
  • start-project: Initialize a new django project the falco way.
  • start-app: Initialize a new django app 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)

Templates

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 as soon as I can. To receive updates subscribe to this discussion or follow me on x or mastodon

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.

Acknowledgements

Falco is inspired by (and borrows elements from) some excellent open source projects:

Contributors

All Contributors

Thanks to the following wonderful people emoji key who have helped build falco.

Tobi DEGNON
Tobi DEGNON

💻 📖 ⚠️
Muhammad Hammad
Muhammad Hammad

🤔
mathiasag7
mathiasag7

💻
Richard Shea
Richard Shea

📖
Waqar Khan
Waqar Khan

💻
tissieres
tissieres

💵
Hsiaoming Yang
Hsiaoming Yang

🐛
Aimé An-Nyong DEGBEY
Aimé An-Nyong DEGBEY

🤔
Hana Belay
Hana Belay

💻

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

falco_cli-0.23.8.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

falco_cli-0.23.8-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

Details for the file falco_cli-0.23.8.tar.gz.

File metadata

  • Download URL: falco_cli-0.23.8.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for falco_cli-0.23.8.tar.gz
Algorithm Hash digest
SHA256 22544fc9a84cb18199849cf92c36148f2552fe58b60efccfbd63063474974d5c
MD5 0c62b8635092a366f4981ff10095c2f1
BLAKE2b-256 8b1329b0b88bdc628cde3e9c8ef3cc7dc11d8787368e82043e3e2c4a1e2dff05

See more details on using hashes here.

File details

Details for the file falco_cli-0.23.8-py3-none-any.whl.

File metadata

  • Download URL: falco_cli-0.23.8-py3-none-any.whl
  • Upload date:
  • Size: 37.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for falco_cli-0.23.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ed54e237aaaf5c050c3493b87d8352e398cbef2a9b1275de9c2eb19f31bcacc9
MD5 f7939390a72819e0d1c8e00a6329d7c5
BLAKE2b-256 f6f00eb36c9bd0c59322a32baddf048c942e11bb79baef845ea7c10c4a4e4445

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page