Skip to content

Template for Python projects with Poetry, automation of semantic release with CI/CD using Github Actions.

License

Notifications You must be signed in to change notification settings

joao-soares-amaro/python-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Project Template

Actions Status Semantic Release GitHub Open in Visual Studio Code

Template for Python projects with Poetry, automation of semantic release with CI using GitHub Actions.

Summary


Installation and usage

Installation

pip3 install poetry

Run

poetry run python src/main.py

Configuration

You can set up a pyproject.toml file to set rules. This is useful to avoid reusing the same CLI flags over and over again and helps to define the structure of your project.

Example:

[tool.python-project-template]
variable = "samples"
list-of-variables = ["sample 1", "sample 2", "sample 3"]
boolean-variable = true

CLI flags always overwrite the config file.

Contributing

Thank you for considering making template better for everyone!

Refer to Contributing docs.

Change log

See CHANGELOG.

License

MIT

Credits

Thanks to guilatrova, and he's project called tryceratops for insights.

About

Template for Python projects with Poetry, automation of semantic release with CI/CD using Github Actions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages