Batch Template is a base template and toolkit designed to simplify the creation and initialization of Python scripts from scratch. Its purpose is to provide a solid and extensible starting point for developers who want to quickly set up.
batch-template/
├── README.md
├── LICENSE
├── .gitignore
├── requirements.txt
├── src/
│ ├── error/ # Project's general errors.
│ │ └── __init__.py
│ ├── services/
│ │ ├── client_api/
│ │ │ ├── error.py #
│ │ │ ├── api.py # Retrieve data from external system
│ │ │ └── models.py # Implement class for validate the input data (pydantic)
│ │ ├── operating_model/ #
│ │ │ ├── error.py #
│ │ │ ├── step1.py # Implement class operation with the data.
│ │ │ ├── .... # ...
│ │ │ └── models.py # Implement class for save in database (SQLAlchemy)
│ │ ├── health_status.py # Summary checklist
│ │ └── __init__.py
│ ├── settings/ # The configurations required for the project.
│ │ ├── logger.py # Logger configuration
│ │ ├── constants.py # Put only constants
│ │ ├── setup_env.py # Read variables from .env file
│ │ └── __init__.py
│ ├── utilities/ # Independent project components
│ │ └── __init__.py
│ └── bootstrap.py # Implement the main() function of the project
└── test/
└── src/ # add test for each module.