This repository serves as a Python project template, providing a foundation for designing and developing fully equipped projects. It includes configurations for continuous integration, static analysis, code style adherence, and dependency management with PDM.
- Python 3.8 or higher
- PDM for Python dependency management
To set up the project environment:
-
Clone the repository:
git clone <repository-url>
-
Navigate to the project directory:
cd <repository-name>
-
Install PDM if you haven't already:
pip install pdm
-
Initialize the project using PDM (if not already done):
pdm init
-
Install project dependencies:
pdm install
To run the application, use:
pdm run python src/main.py
Replace src/main.py
with the path to your Python script.
To run tests, execute:
pdm run pytest
Contributions are welcome! We use GitHub to host code, to track issues and feature requests, and to accept pull requests.
Please use the issue templates provided to report any bugs or file feature requests. Navigate to the .github/issue_template
directory to access the bug report and feature request templates. This will help us understand and address your concerns more efficiently.
Here are some guidelines for submitting pull requests:
- Navigate to the
.github/pull_request_template
directory and use the pull request template provided for your submissions. - Provide a clear summary of what the PR achieves.
- Explain the motivation behind the changes.
- Describe any testing that has been done to ensure the changes work as expected.
By contributing, you agree that your contributions will be licensed under the project's license.
This project is licensed under the Apache License 2.0 - see the LICENSE
file for details.
- This project uses GitHub Actions for continuous integration, which automatically runs tests and checks code formatting with Black.
- The
.gitignore
file is configured to ignore Python-specific files and directories, such as__pycache__
and thevenv
directory. - For more details on project organization and workflow management, refer to the documentation in the
docs
directory.