Saturn Library is a Python development toolkit and CLI designed to simplify common development workflows.
It provides a command-line interface through the sr command.
Install Saturn Library from PyPI:
pip install saturn-libraryAfter installation:
sr --helpThe current CLI structure is:
sr
├── server
│ ├── run
│ ├── kill
│ └── kill-all
└── cache
└── clear
Start an ASGI development server using Uvicorn:
sr server runBy default, Saturn uses:
Application: app:app
Host: 127.0.0.1
Port: 8000
Reload: enabled
You can customize the ASGI application:
sr server run --app main:appChange the port:
sr server run --port 8001Change the host:
sr server run --host 0.0.0.0Or combine the options:
sr server run --app main:app --host 0.0.0.0 --port 8001Stop development servers started and tracked by Saturn:
sr server killStop development server processes detected by Saturn:
sr server kill-allThis command is more aggressive than sr server kill and may terminate development servers that were not started through Saturn.
Clear Python cache files and __pycache__ directories from the current project:
sr cache clearClone the repository:
git clone https://github.com/Samuel19012002/Saturno-Library.git
cd Saturno-LibraryCreate a virtual environment:
python3 -m venv venvActivate it on macOS or Linux:
source venv/bin/activateInstall Saturn in editable mode:
python3 -m pip install -e .Then test the CLI:
sr --helpSaturn Library is under active development. Additional developer tooling, cloud integrations, and AI-related capabilities may be added in future releases.