Skip to main content

Automates the heavy lifting of release and distribution management for pure Python packages.

Project description

shut

Shut is an opinionated tool that allows you to configure everything around the Python packaging and release process from a single source of truth. It is intended to simplify the process of publishing Python packages and prevent common pitfalls.

At a glance

  • Bootstrap Python packages: shut pkg new --name my-package
  • Install and save dependencies: shut pkg requirements add <package>
  • Document changes: shut changelog --add fix --commit --message "Fixed `TypeError` in `foo()`"
  • Bump the version according to changelog: shut pkg bump --minor --tag --push
  • Publish on PyPI: shut pkg publish warehouse:pypi

Configuration

package.yml

name: my-package
modulename: my_module
version: 0.1.0
license: MIT
description: My first every package built with Shut
author: Me <me@example.org>
requirements:
- python ^3.5
- requests ^2.22.0
entrypoints:
  console_scripts:
  - mycli = my_module.__main__:mycli
package-data:
  - include: data/*.txt

Copyright © 2020, Niklas Rosenstein

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

shut-0.15.1.tar.gz (67.0 kB view details)

Uploaded Source

Built Distribution

shut-0.15.1-py3-none-any.whl (141.2 kB view details)

Uploaded Python 3

File details

Details for the file shut-0.15.1.tar.gz.

File metadata

  • Download URL: shut-0.15.1.tar.gz
  • Upload date:
  • Size: 67.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for shut-0.15.1.tar.gz
Algorithm Hash digest
SHA256 7244106ee8ef2565ba40a100202f50b2e340d8ffa7798e379f10879de7371eff
MD5 8d4dbfc47bebea7a91029aa398f0dd76
BLAKE2b-256 eb7d1fdbb4549b9bdaa343e00299b8a301d84a82a8c6a41485777d4acb5f8d2a

See more details on using hashes here.

File details

Details for the file shut-0.15.1-py3-none-any.whl.

File metadata

  • Download URL: shut-0.15.1-py3-none-any.whl
  • Upload date:
  • Size: 141.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for shut-0.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02710facb5389c8bd97dbf4a4590d28259dfb9c01bf31a423ab59dbd1bb86ab0
MD5 ae6f48efecbaca41f3cfac6faaebd5cd
BLAKE2b-256 0a9a0a07f2ae4844766fd2dd851051fe3bf29d56ce4a99a127b6b6e5097924cb

See more details on using hashes here.

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