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, run the following command:

pytoolbelt init

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

Uploaded Source

Built Distribution

pytoolbelt_cli-0.3.2-py3-none-any.whl (47.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pytoolbelt_cli-0.3.2.tar.gz
  • Upload date:
  • Size: 32.9 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.3.2.tar.gz
Algorithm Hash digest
SHA256 0d73492af98527da58c7aa8a647c6c5375d7a3fa86d3c75d0d2afaea8c92013c
MD5 165514f40acd65a2208bd2c7a64d7793
BLAKE2b-256 89346818666c2dafe4440158089e4e5902b9b9d9143fdf4e747de2eda8e77aa8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pytoolbelt_cli-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c1fa80bc6ed9a94a451734b26128fd858ecf2819e332db82baaf757eaf2888be
MD5 9953c3c7b8008e3c9a51a29abd1a494f
BLAKE2b-256 137441d10a3c7cc715aa53b4eb6172636cddbc9c8a049754981c5c60379a676f

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