A CLI tool to help teams share internal tooling written in python.
Project description
Sharing python tooling within your organization, the easy way.
What is Pytoolbelt?
Pytoolbelt is a CLI, 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pytoolbelt_cli-0.5.0.tar.gz
.
File metadata
- Download URL: pytoolbelt_cli-0.5.0.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f14e43bac082a468212d8bd07b3106a5ba02a095c9919e5209077f7f0d8294 |
|
MD5 | b264616ccdee2f5cd27759637e49ac15 |
|
BLAKE2b-256 | 3c569ccacc52af8381b4ea532b3bac3c3c9e0420b5893b89965e027eaeb79228 |
File details
Details for the file pytoolbelt_cli-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: pytoolbelt_cli-0.5.0-py3-none-any.whl
- Upload date:
- Size: 51.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 359953c47c3e4ffd3657883ef81bd41b5621a89f6ece72e90f066e83ae779469 |
|
MD5 | f511bd5039d35e0b21d6a39b0b7a9c3c |
|
BLAKE2b-256 | 6a27f46f4b4625403725afc0b8da9acc0e327adc8a21a9359f13888c34feefe1 |