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

Uploaded Source

Built Distribution

shut-0.11.1-py3-none-any.whl (198.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shut-0.11.1.tar.gz
  • Upload date:
  • Size: 60.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for shut-0.11.1.tar.gz
Algorithm Hash digest
SHA256 5fb3e5c02edf69977103c0e726ebd46042f63e601891048b008867e99e6e2cec
MD5 44768c9c9bfcfd8bb9a68e9d8513f915
BLAKE2b-256 da87d00710221a41d9d6b9213e84c7d5b00c236bb97e0fb7fe3b069462ba07da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shut-0.11.1-py3-none-any.whl
  • Upload date:
  • Size: 198.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for shut-0.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a3d08baea5750cc5da9e9dc163e7c5685cb6f88d7059a5b00684dbf295b90afb
MD5 c7f3c6547e25e242687601cd731ff73d
BLAKE2b-256 1916fae4906186342408ea1e56fef098f61732b023334f73351d2676ff151476

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