Skip to main content

Project: License

Package: PyPI - Python Version PyPI - Version PyPI - Downloads

Development: uv ruff ty pytest CI Code Coverage GitHub commit activity

Contents

Overview

dbrownell_ToolsDirectory is a Python utility that automates the setup of tool environments by generating shell initialization scripts. It scans a directory structure containing organized tools and their versions, then creates either Bash or Batch scripts that add these tools to your system path and configure their environment variables. This tool is handy for managing multiple tool versions across different operating systems and architectures, allowing you to maintain a centralized directory of tools and automatically generate the necessary shell commands to make them available in your terminal environment.

How to use dbrownell_ToolsDirectory

There are two ways to use dbrownell_ToolsDirectory: through convenience activation scripts or by using the CLI directly.

  1. Clone the repository locally:

    git clone https://github.com/davidbrownell/dbrownell_ToolsDirectory
    
  2. Run the activation script for your shell:

    For Bash (Linux/macOS):

    . <repository location>/src/dbrownell_ToolsDirectory/Scripts/activate.sh <tools directory>
    

    For Batch (Windows):

    <repository location>\src\dbrownell_ToolsDirectory\Scripts\activate.bat <tools directory>
    
  3. All tools and environment variables from <tools directory> will be added to your environment.

Example

Hard Drive
/Tools/
├── Tool1/
│   └── Tool1.env
├── Tool2/
│   └── bin/
└── Tool3/
    ├── v1.2.3/
    └── v4.5.6/
Tool1.env
FOO=BAR
FILENAME=./filename
After Activation
# Added by traversing the directory hierarchy
PATH=${PATH}:/Tools/Tool1:/Tools/Tool2/bin:/Tools/Tool3/v4.5.6

# Added through .env files within the directory hierarchy
FOO=BAR
FILENAME=/Tools/Tool1/filename

Installation

Installation Method Command
Via uv uv add dbrownell_ToolsDirectory
Via pip pip install dbrownell_ToolsDirectory

Development

Please visit Contributing and Development for information on contributing to this project.

Additional Information

Additional information can be found at these locations.

Title Document Description
Code of Conduct CODE_OF_CONDUCT.md Information about the norms, rules, and responsibilities we adhere to when participating in this open source community.
Contributing CONTRIBUTING.md Information about contributing to this project.
Development DEVELOPMENT.md Information about development activities involved in making changes to this project.
Governance GOVERNANCE.md Information about how this project is governed.
Maintainers MAINTAINERS.md Information about individuals who maintain this project.
Security SECURITY.md Information about how to privately report security issues associated with this project.

License

dbrownell_ToolsDirectory is licensed under the MIT license.

Metadata

Release files for dbrownell-toolsdirectory 0.14.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dbrownell-toolsdirectory 0.14.9
File Size Uploaded Provenance
dbrownell_toolsdirectory-0.14.9.tar.gz 19.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dbrownell-toolsdirectory 0.14.9
File Interpreter ABI Platform
dbrownell_toolsdirectory-0.14.9-py3-none-any.whl Python 3 none any Details

Total release size: 46.9 kB

Release files / dbrownell_toolsdirectory-0.14.9.tar.gz

Download URL dbrownell_toolsdirectory-0.14.9.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c170bcbfcda428b2163d8ee325ae1ecd93a7bbe67ada05b8f72724217d930ad1
BLAKE2b-256 checksum
How to use checksums
d26de6507af2f559a882b3c52f342ce4c543587ec0bb4180e9537f4053c156aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dbrownell_toolsdirectory-0.14.9-py3-none-any.whl

Download URL dbrownell_toolsdirectory-0.14.9-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54024ade082270f1f305e7bca8d9e1f6091443b438264e26348f841ca60dc393
BLAKE2b-256 checksum
How to use checksums
7bd0a386ff4537c58dd85acd917aac630960d2d23605b51c1d8800cf8e7e63c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for dbrownell-toolsdirectory 0.14.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.14.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page