Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Template for easy building and publishing python packages on PyPI

License

Notifications You must be signed in to change notification settings

soerface/template-python-package

Repository files navigation

Template for Python packages

This is a template repository for building Python packages. It allows you to quickstart your Python package.

Using it

  • Click on Use this template
  • A workflow "Use template" will start automatically. It will rename "hello_gh_actions" to whatever you have chosen for your repository name
  • After one or two minutes, a new commit will appear on your master branch. Checkout the diff to see if everything is alright!

To be able to publish documentation and package, follow these steps:

  • Create an account on readthedocs and connect this repository
  • Create an account on PyPI and generate an API-Key for your project

Go to your repositories "Settings -> Secrets" page and add the PYPI_API_KEY secret with the key you received from PyPI.

Below is a README example. It will be used for your repository.


Hello GitHub Actions

Documentation Status Tests Status

Getting started

Installation via pip:

pip install hello_gh_actions

Using the fizzbuzz:

>>> from hello_gh_actions.fizzbuzz import fizzbuzz
>>> fizzbuzz(35)
'fizzbuzz'

About

Template for easy building and publishing python packages on PyPI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages