Skip to main content

Simple Poetry

A clean, automated setup for publishing simple Python packages to PyPI using Poetry and GitHub Actions.

action pypi codecov docs

Setup

  1. Prepare GitHub repo

    • Create new GitHub repository / fork this repository
    • Setup PyPI Credentials in repository secrets
      • PYPI_TOKEN: PyPI API token
  2. Replace text in files

    • Rename simple_poetry folder to <package_name>
    • Replace all simple_poetry instance in files to <package_name>
    • Replace all simple-poetry instance in files to <package-name>
    • Replace all 3.8 instance in files to <target-python-version>
    • Replace ppeetteerrs with <github_user_name>
  3. Enter Package Information

    • pyproject.toml: Project description, authors
    • <package_name>/__init__.py: Author and email
    • README.md: Customize it, change the name and description especially
  4. Further Customizations

    • mkdocs.yaml: Edit theme and mkdocstrings preferences (Can also add sub-pages to API Reference etc.)
    • .devcontainer.json: Add preferred extensions / build configurations (e.g. use GPUs)
    • Dockerfile: Install necessary formatters / linters / packages for local testing
    • docs/: Write your documentation
    • .github/workflows/push.yaml: Remove the tests::Run Tests step if you need to run tests locally (e.g. if your tests require GPU). Keep the rest to upload Codecov.
  5. Publish and Setup GitHub Pages

    • commit and push your changes
    • Create first release
    • Go to Settings and activate your GitHub Pages using the gh-pages branch

Release files for simple-poetry 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simple-poetry 0.1.0
File Size Uploaded
simple-poetry-0.1.0.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for simple-poetry 0.1.0
File Interpreter ABI Platform
simple_poetry-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.0 kB

Release files / simple-poetry-0.1.0.tar.gz

Download URL simple-poetry-0.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4e2d848786f5a3d1243a63cf6d0e98df30ca5c692981ce2aad9d7562d24e4aa1
BLAKE2b-256 checksum
How to use checksums
16cade654b5b3685975d3fae50241646e6124b7e1a288804d935f7b0119651a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.12 Linux/5.11.0-1028-azure

Release files / simple_poetry-0.1.0-py3-none-any.whl

Download URL simple_poetry-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
096337b944f80b48892c0908995b2b6b5d898172e82d46db609c53ce0b1b1161
BLAKE2b-256 checksum
How to use checksums
87473d6185147a3133d04ae22b481305c17cca1ec310a22205673b6762304445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.8.12 Linux/5.11.0-1028-azure

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page