This is a template project for a Python application using Poetry for dependency management and pytest for testing.
- Python 3.8 or higher
- Poetry
-
Clone the repository:
git clone https://github.com/rodneyxr/python-poetry-template.git cd python-poetry-template rm -rf .git
-
Install dependencies:
poetry install
poetry run python app/cli.py
poetry run pytest --cov
app/cli.py
: Entry point for the command-line interface.app/logger.py
: Logger configuration.test/hello_test.py
: Example test file.
.vscode/launch.json
: VS Code launch configuration..vscode/settings.json
: VS Code settings.pyproject.toml
: Project configuration file for Poetry.poetry.lock
: Lock file for Poetry dependencies.
This project is licensed under the MIT License.
Feel free to customize this README file further based on your specific project requirements.