Skip to content
/ python-template Public template

A comprehensive Python template designed to streamline software versioning using Semantic Versioning (SemVer) and automate the deployment process for Python packages. It provides a solid foundation for developing and releasing Python projects, ensuring efficient version management and effortless deployment.

License

Notifications You must be signed in to change notification settings

JohnnyIrvin/python-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

This template is for creating a new project. Please replace this section with your project's introduction.

Tasks

  • Create a new project from this template.
  • Replace the project name in the README.md file.
  • Rename project_name/ to your project_name in snake_case.
  • Update usage notes to reflect the new project name.
  • Update the license to reflect the new project contributors.
  • Update each file's license header to reflect the new project contributors.

Usage

Inside of a python environment, you can import the requirements and run the following commands to start the project.

pip install -r requirements.txt
python -m project_name

If you prefer to use docker, you can use the docker image.

docker build -t project_name --target RUN .
docker run project_name

Testing

To test the library, you can use the run_tests.py script. It is highly recommended to use the docker image to keep your system isolated from integration tests.

Using docker, you can run the following commands to run the tests.

docker build -t tests --target TEST .
docker run tests

You may still run the tests on your system, but it is recommended to use the docker image.

pip install pytest
python -m pytest

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contribution

This project is open source. Feel free to contribute to the project by making a pull request, creating an issue ticket, or sending an email to Johnny Irvin.

About

A comprehensive Python template designed to streamline software versioning using Semantic Versioning (SemVer) and automate the deployment process for Python packages. It provides a solid foundation for developing and releasing Python projects, ensuring efficient version management and effortless deployment.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published