Safe, opinionated Python project workflows
Project description
Devnix
Devnix is a high-performance, zero-config CLI companion for Python developers. It automates repetitive tasks, enforces security standards, and ensures your environment is always healthy—letting you focus on writing code, not configuring it.
Why Devnix?
Modern Python development often feels like juggling: managing .env files, checking ports, running different server commands for different frameworks, and remembering to format code.
Devnix replaces that mental load with a single, intelligent tool.
- Zero Configuration: Drop into any project and run
devnix run. It just works. - Safety First: Automatically detects exposed secrets and unsafe production settings.
- Framework Aware: Tailors its behavior perfectly for Django, FastAPI, Flask, and more.
- Beautiful UI: Clean, ASCII-only terminal output designed for maximum compatibility and clarity.
🚀 Quick Start
Get up and running in seconds.
1. Installation
pip install devnix
2. Basic Usage
Navigate to your project folder and let Devnix take care of the rest:
devnix run # Detects framework and starts the server
devnix doctor # Comprehensive health and security check
devnix check # Run tests, formatters, and linters in one go
🛠️ Core Commands
devnix run
The "Just Work" Command.
Devnix identifies your framework and launches the appropriate dev server while automatically loading your .env variables and verifying that your ports are free.
devnix doctor
Your Personal Health Inspector. Performs a deep-scan of your project and environment:
- Environment: Verifies Python versions and Virtual Environments.
- Security: Scans for
DEBUG=Truein production and searches for committed secrets in Git. - Dependencies: Checks for missing
requirements.txtorpyproject.toml. - Infrastructure: Identifies port conflicts before they crash your app.
devnix check
The Continuous Integration Powerhouse.
Ensures your code is production-ready by running the full stack: pytest → black → isort → flake8. It stops at the first sign of trouble, forcing a perfect code state.
devnix info
Quick Metadata Viewer. Instantly see your project type (Django, Flask, etc.), current working directory, and the installed Devnix version.
devnix clean
Reset Your Workspace.
Instantly purges __pycache__, .pytest_cache, and other junk files that clutter your project.
devnix env
Secure Variable Management.
devnix env check: Compares.envto.env.exampleto ensure no variables are missing.devnix env generate: Creates a clean.env.examplewhile automatically stripping sensitive values.
🔍 Smart Framework Detection
Devnix understands your project structure better than you do.
| Framework | Detection Signature | Primary Action |
|---|---|---|
| Django | manage.py |
runserver |
| FastAPI | FastAPI instance in code |
uvicorn |
| Flask | Flask dependencies |
flask run |
| Script | main.py |
python main.py |
| Package | pyproject.toml |
Environment setup |
�️ Development & Contributing
We love contributions! If you want to build Devnix yourself:
- Clone the repository.
- Install in development mode:
pip install -e . - Ensure all checks pass:
devnix check
📄 License
Devnix is open-source software licensed under the MIT License.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file devnix-0.1.0.tar.gz.
File metadata
- Download URL: devnix-0.1.0.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79d84191aed30bda53db7f668c6f7ec27e51efa0400af15febc337ac79df31af
|
|
| MD5 |
312f4d6d7989a469d4a4b8f575378708
|
|
| BLAKE2b-256 |
619127badc33db6bb7ebdc5a5ecb92c4b6e9a876b74c5bf2d614e9617e1d7bfc
|
File details
Details for the file devnix-0.1.0-py3-none-any.whl.
File metadata
- Download URL: devnix-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
224601c38418a5d0df853e42221b7c4e029483c77f8986da9dcc42cd2f93fe5f
|
|
| MD5 |
496647f96c5431885b990908fe19c272
|
|
| BLAKE2b-256 |
bbe3cff3c5268ba5c6e97ae889f011508a95f776102119800373dd1476d63e68
|