Skip to main content

A CLI tool to help teams share internal tooling written in python.

Project description

Blueprint fonts

Currently in BETA Development - Not production ready!

Sharing python tooling within your organization, the easy way.

What is Pytoolbelt?

Pytoolbelt is a CLI, written in python, intended to remove the barrier to developing, sharing, testing and documenting internal tooling written in python within your organization.

It treats a standard git repo as a toolbelt, which is basically a mono repo with all of your python tools and scripts that you want to share and document for use within your organization.

It also allows your team to define one or more python environments (venv) that can be re-used for multiple tools, and facilitates installing your tools as a zipapp, which can be run globally from your terminal.

Why Pytoolbelt?

Python is a wonderful language for writing scripts and small tools, but sharing them within your organization can be a pain. virtual environments, requirements.txt, setup.py, makefile, pyproject.toml packaging, versioning, documentation, testing, public / private artifact repositories (pypi) etc....

Pytoolbelt takes care of all of that for you. It leverages best practices and existing tools in the python ecosystem to make it easy to share your tools with your colleagues.

Getting Started

pytoolbelt can be installed via pip (venv creation recommended):

pip install pytoolbelt-cli

pytoolbelt is also intended to be installed globally if desired. If that is the case, It is recommended to be installed via pipx

pipx install pytoolbelt-cli

Pipx is a tool that can be considered a "homebrew" for tools written in python. More information on pipx can be found here

Initialize pytoolbelt

To initialize a new pytoolbelt project and add the required directories to your $PATH, run the following command:

pytoolbelt init --path

Video Tutorials

Head over to the pytoolbelt YouTube channel for video tutorials on how to use pytoolbelt: Pytoolbelt YouTube Channel

As pytoolbelt allows the installation of python tools from a toolbelt, it must also be added to your $PATH by running

pytoolbelt init --path

this will add the ~/.pytoolbelt/tools directory to your $PATH in your .bashrc or .zshrc file.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

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

pytoolbelt_cli-0.4.0.tar.gz (34.2 kB view details)

Uploaded Source

Built Distribution

pytoolbelt_cli-0.4.0-py3-none-any.whl (49.2 kB view details)

Uploaded Python 3

File details

Details for the file pytoolbelt_cli-0.4.0.tar.gz.

File metadata

  • Download URL: pytoolbelt_cli-0.4.0.tar.gz
  • Upload date:
  • Size: 34.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pytoolbelt_cli-0.4.0.tar.gz
Algorithm Hash digest
SHA256 ed8de44f79ab13e780accf5ab989933fb3d641e28e6d70b2095d036d1cee3ef4
MD5 23904d23cac732977d5bce4f7860e406
BLAKE2b-256 10a57fee19e38387e82fc188ec272fdf5ba4a9316df759c8727b5c1c80e4462d

See more details on using hashes here.

File details

Details for the file pytoolbelt_cli-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytoolbelt_cli-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0562c65968cc85b4e93f82431e071ca9957f584c8b9ea797e3d7cb7932db52a
MD5 55593b0ac26c539116d26b252741d39e
BLAKE2b-256 e7c9b128485d0e7193029679982aa5d23eaf02ce59e2aa8283c5a45a68b8d945

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