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.yamlworkflow. To activate, move the file from.github/disabled-workflows/publish.yaml.disabledto.github/workflows/publish.yaml, and set a valid PyPI token asPYPI_API_TOKENin 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
292ba636b96891f4bebf5ec3fdee3615f6942db5726b7a427f9f6ba5d084acdc
|
|
| MD5 |
94b828c783ab4dd2ee1d2c2d8fea066f
|
|
| BLAKE2b-256 |
400d811389f63cfebf928bdbd3aea30948fd30b464d45b9069d40825f0edc2ec
|
File details
Details for the file narrate_gpt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: narrate_gpt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97fdc99ed45d71e5eee4b0fa925959093feca16ca2b4eb0a60f80a51a38cd6b4
|
|
| MD5 |
5690d3e22cbc2714084cda3d74ed33e1
|
|
| BLAKE2b-256 |
57336dff58ed7aefcce62150f098ef1f15d39f5e6fd37f8dac6deafc83acf619
|