A CLI tool to help teams share internal tooling written in python.
Project description
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
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.3.1.tar.gz
.
File metadata
- Download URL: pytoolbelt_cli-0.3.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f17d7ea4060893687e800712e18523a4d170d071edf1d9743f580ee81b282b9c |
|
MD5 | 0017024e0e0f47c2bdf62ab040444b5b |
|
BLAKE2b-256 | f56880931b7f3b06ac8aabc4ff4dce69f760ceea17a9100c4d7a2da2ea7db5d6 |
File details
Details for the file pytoolbelt_cli-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: pytoolbelt_cli-0.3.1-py3-none-any.whl
- Upload date:
- Size: 47.5 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 | 20b52f53be73b1461abda49952af4cadb2f52f0c38cc8e6ad8e20ddd0513cc7c |
|
MD5 | 1ad7657a9d004dff504d9733678becea |
|
BLAKE2b-256 | 74e7ba595a28ffcec39c3e6164b3de869040b189e32da92ffc101794d76c164f |