Attention Python developers! πβ¨ Tired of the tedious setup process for new projects? Say hello to 'aasetpy' - your new best friend for kickstarting Python projects with ease!
With just one command, aasetpy sets up everything you need:
- Virtual Environment
- codebase structure
- REST API configuration
- Rate Limiting
- Environment Variables
- Initial Git commit
- Resource Usage Tracking
- Preserved Logging
- Containerization
- and more
It's like having a personal assistant for your development workflow, ensuring your projects are production-ready and scalable from the very start!
aasetpy will create:
- Virtual Environment (
env/) -
.envfile to store environment variables - Directory to store Execution Logs (
logs/) - Python Project Skeleton (
src/) -
utils/module insrc/> Theutilsmodule has annotations and environment variables ready to use -
requirements.txtwith basic lightweight contents-
coverage pytest pylint requests psutil pydantic pydantic-settings -
.gitignorewith necessary contents-
env/ venv/ *.log *.out __pycache__/ .env .venv .vscode test.py Dockerfileas basic containerization of the projectdocker.compose.ymlto build and run the docker projectREADME.mdwith the base instructionsmain.pywith basic implementation and usage of the src modules-
run.shto run your files in the parent directoryrun.shwill activate the virtual environment and run the program, storing the execution logs to the specified path -
If used with the
apiflag, it will create the following files:-
rest_apimodule -
api.pyfile in parent directory to run the uvicorn server - api security file
- api logging file
- update the
.envfile as per API variables
-
Lastly, it removes nested
__pycache__directories from the project.
Ready to revolutionize your project setup? Check out the 'aasetpy' repository here and see the magic for yourself! We're always open to contributions, so if you have ideas to make the starting point even better, don't hesitate to jump in. Let's make Python project initialization a breeze together! ππ»
Love the tool? Smash that star button and share it with your coding crew! β‘οΈπ€
Top comments (0)