Skip to main content

narrate-gpt

Project description

narrate-gpt

A simple template for Python projects, with CI/CD configured through GitHub Actions. Compatible with any virtual environment manager (e.g. uv, venv, pyenv, poetry, conda).

Install

pip install "narrate-gpt @ git+ssh://git@github.com/fkodom/narrate-gpt.git"

# Install all dev dependencies (tests etc.)
pip install "narrate-gpt[test] @ git+ssh://git@github.com/fkodom/narrate-gpt.git"

# Setup pre-commit hooks
pre-commit install

Tooling

Tool Description Runs on
black Code formatter - git commit (through pre-commit)
- git push
- pull requests
ruff Code linter - git commit (through pre-commit)
- git push
- pull requests
pytest Unit testing framework - git push
- pull requests
mypy Static type checker - git push
- pull requests
pre-commit Pre-commit hooks - git commit
twine $\dagger$ PyPI package uploader - New release (git tag)

$\dagger$ Requires enabling the publish.yaml workflow. To activate, move the file from .github/disabled-workflows/publish.yaml.disabled to .github/workflows/publish.yaml, and set a valid PyPI token as PYPI_API_TOKEN in the repo secrets.

Then tag a new release of this repo, and GHA will automatically build and publish a Python wheel (.whl) to PyPI.

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

narrate_gpt-0.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

narrate_gpt-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file narrate_gpt-0.1.0.tar.gz.

File metadata

  • Download URL: narrate_gpt-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.14

File hashes

Hashes for narrate_gpt-0.1.0.tar.gz
Algorithm Hash digest
SHA256 292ba636b96891f4bebf5ec3fdee3615f6942db5726b7a427f9f6ba5d084acdc
MD5 94b828c783ab4dd2ee1d2c2d8fea066f
BLAKE2b-256 400d811389f63cfebf928bdbd3aea30948fd30b464d45b9069d40825f0edc2ec

See more details on using hashes here.

File details

Details for the file narrate_gpt-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for narrate_gpt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97fdc99ed45d71e5eee4b0fa925959093feca16ca2b4eb0a60f80a51a38cd6b4
MD5 5690d3e22cbc2714084cda3d74ed33e1
BLAKE2b-256 57336dff58ed7aefcce62150f098ef1f15d39f5e6fd37f8dac6deafc83acf619

See more details on using hashes here.

Supported by

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