Publish a Python script - Template Repo

View on GitHub

A GitHub template repository for publishing a standalone Python script, the starting point for my Python scripts.

It comes with a config.py.example for tokens and settings (the real config.py is ignored by git), Dependabot for pip and GitHub Actions, an MIT licence, and a release workflow. Raise the version in package.json and it tags a release, with notes from my shared workflows: what the script does, then a list of what’s changed.

  • Use the template to create a new repo.
  • Copy config.py.example to config.py and add any tokens.
  • Write the script in script.py, and update the README and package.json description.
  • Raise the package.json version to release a change.

// Written by: thechelsuk
// Published: , with 127 words. 0 mentions.

No webmentions were found.

← Back to Projects

thechels.uk thechels.uk thechels.uk Bluesky Mastodon @thechels.uk GitHub YouTube Twitch Ko-fi Gravatar @thechels.uk