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.11.5.tar.gz (64.1 kB view details)

Uploaded Source

Built Distribution

shut-0.11.5-py3-none-any.whl (135.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shut-0.11.5.tar.gz
  • Upload date:
  • Size: 64.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for shut-0.11.5.tar.gz
Algorithm Hash digest
SHA256 21dfdd9ef71aa780a7b898aeda99dffbd5e9ef188e67db33c3153aa06d0ae57c
MD5 c1c12880b16062e0baeabd564d7fd094
BLAKE2b-256 58e7081881fba5420e7976f9d2c72c31ee09e43c15745e453d1648fa72057c34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shut-0.11.5-py3-none-any.whl
  • Upload date:
  • Size: 135.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

File hashes

Hashes for shut-0.11.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c6ef8feb4094169b501599425dbcbe8f994222a3e22bce9157438dd9ec70d2a
MD5 ec8bfd49304e1cba8e205560a72cf104
BLAKE2b-256 0ba713f07c94e348acb2901b3b509193c149a75c881aa91fb843eb0a1411b30a

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