Skip to content

EDC-00/batch-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Batch Template

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.

struct of the project

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.

About

Template for scripts batch type.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors