A template for developing production-ready Python applications.
Before attempting to build this project, make sure you have direnv and Nix with Flake support installed on your machine.
To get a local copy of the project up and running on your machine, follow these simple steps:
-
Clone the project repository
git clone https://github.com/Kaweees/modern_python.git cd modern_python -
Install the project dependencies
If you have
direnvinstalled, simply allow the environment:direnv allow
Otherwise, you can use
nix-shellto enter the environment:nix-shell --max-jobs $(nproc) # Linux / Windows (WSL) nix-shell --max-jobs $(sysctl -n hw.ncpu) # macOS
-
Run the project
just run <package_name>
modern_python/
├── .github/ - GitHub Actions CI/CD workflows
├── scripts/ - Standalone scripts
├── shared/
│ └── utils/ - Shared utility functions
├── src/ - Project packages
│ ├── core/ - Core application logic
│ └── ... - Other packages
├── tests/ - Project tests (mirrors the main project structure)
├── LICENSE - Project license
└── README.md - You are hereThe source code for Kaweees/modern_python is distributed under the terms of the GNU General Public License v3.0, as I firmly believe that collaborating on free and open-source software fosters innovations that mutually and equitably beneficial to both collaborators and users alike. See LICENSE for details and more information.