This repository is a template for Python projects using Flask. It's designed to provide a strong foundation for building and developing Flask applications, complete with essential tools and practices for a robust development workflow.
- Programming Language: Python3.9
- Code Formatting: Black
- Static Analysis: Flake8
- Continuous Integration: CircleCI
- Testing Framework: Pytest
- Package Management: PDM (Python Dependency Management)
- License: MIT
Ensure you have Python 3.9 and PDM installed on your machine.
- Clone the repository:
git clone https://github.com/Jas000n/CSGY9223_OSPSD
- Navigate to the cloned directory:
cd CSGY9223_OSPSD
- Install dependencies using PDM:
pdm install
Execute the following command to start the Flask server:
pdm run python src/opensource/app.py
Run tests using Pytest:
pdm run pytest
To perform static analysis using Flake8, run:
pdm run flake8 .
To format code using Black, execute:
pdm run black .
This template is configured with CircleCI for continuous integration. The CI pipeline is defined in .circleci/config.yml
.
Work in progress for template for issue and pull request.
This project is licensed under the MIT License - see the LICENSE file for details.