Skip to main content

Repo Template for creating a Python library in GitHub

Project description

# Python Template Repo —

Template Python Repo for getting started with a Python Library with GitHub.

## Benefits

  • GitHub Action Templates

  • Auto deploy to PyPi

  • Issue and Pull Request Templates

  • Auto Configured install and test requires

## To Use

  1. Clone the repo

  2. Rename the [python_GH_template](python_gh_template) directory to the name of your project.
    • Make sure the names updates in [setup.py](setup.py), [lint workflow](.github/workflows/lint.yml).

  3. Install package locally pip install -e .

  4. Add your project requirements to [requirements.txt](requirements.txt).
    • If you have any development requirements add them to [requirements-dev.txt](requirements-dev.txt).

  5. Add tests (or delete if you want)

  6. Change the [License](LICENSE) if desired.

  7. Edit the assignees in [Issue Templates](.github/ISSUE_TEMPLATE), [Pull Request Template](.github/PULL_REQUEST_TEMPLATE) and [Dependabot Config](.github/dependabot.yml).

  8. Edit [setup.py](setup.py) to have relevant links and information.

  9. Add PYPI_USERNAME and PYPI_PASSWORD into the secrets section.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_gh_template-1.0.0.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

python_gh_template-1.0.0-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page