Skip to content

Releases: ndugram/fastgram-cli

v0.1.9

21 Mar 14:14

Choose a tag to compare

v0.1.8

21 Mar 14:07

Choose a tag to compare

Full Changelog: v0.1.7...v0.1.8

v0.1.7

21 Mar 13:45

Choose a tag to compare

What's Changed

  • ⬆️ Bump the python-deps group with 5 updates by @dependabot[bot] in #2

New Contributors

Full Changelog: v0.1.6...v0.1.7

v0.1.6

21 Mar 10:59

Choose a tag to compare

Full Changelog: 1.0.0...v0.1.6

🐍 Release 1.0.0 fastgram-cli

25 Jan 00:24

Choose a tag to compare

fastgram v1.0.0 — Initial Stable Release


🚀 Release Overview

We are excited to announce the first stable release of fastgram — a modern CLI tool designed to simplify and accelerate FastAPI development.

This release establishes the core philosophy of fastgram:

Django-like developer experience for FastAPI, without sacrificing performance or flexibility.


✨ Highlights

  • 🔧 FastAPI project initialization with clean, scalable architecture
  • 🧱 Django-like project structure out of the box
  • 🔐 Self-signed SSL certificate generation
  • 🧩 Pre-configured middleware system
  • ⚙️ Centralized configuration via settings.py
  • 💅 Beautiful CLI output powered by Rich
  • 📦 Ready for PyPI and production usage

📁 Generated Project Structure

project_name/
├── api/
├── core/
├── database/
├── schema/
├── service/
├── views/
├── middleware/
│   ├── cors.py
│   ├── logging.py
│   ├── rate_limit.py
│   ├── request_id.py
│   └── loader.py
├── main.py
├── manage.py
└── settings.py

🧩 Built-in Middleware

Generated projects include the following middleware by default.
All middleware is enabled automatically and can be configured or disabled via settings.py.

  • RateLimitMiddleware
    Controls request rate limiting (default: 5/second)

  • LoggingMiddleware
    Logs incoming HTTP requests and responses

  • CORSMiddleware
    Enables Cross-Origin Resource Sharing with permissive defaults

  • RequestIDMiddleware
    Attaches a unique request ID to every HTTP request


⚙️ Middleware Configuration

Middleware is registered centrally inside settings.py:

MIDDLEWARE = [
    "middleware.rate_limit.RateLimitMiddleware",
    "middleware.logging.LoggingMiddleware",
    "middleware.cors.CORSMiddleware",
    "middleware.request_id.RequestIDMiddleware",
]

🛠 CLI Commands

fastgram

  • fastgram init [name]
  • fastgram ssl
  • fastgram help

🐍 manage.py Commands

python manage.py runserver
python manage.py migrate
python manage.py help

🔐 SSL Certificates

certs/
├── cert.pem
└── key.pem

🧭 Stability Notice

This release is marked as v1.0.0 and considered stable.
All future releases will follow Semantic Versioning (SemVer).


📄 License

MIT License