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.10

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.10
File Size Uploaded Provenance
dbrownell_toolsdirectory-0.14.10.tar.gz 19.9 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 46.9 kB

Release files / dbrownell_toolsdirectory-0.14.10.tar.gz

Download URL dbrownell_toolsdirectory-0.14.10.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
db85f811f64a2f84d853567bec6120212e7ad1dbffce6c9db15202ee06610e91
BLAKE2b-256 checksum
How to use checksums
e8be4d6e039d5128c612482f8735a808fef8f087870fd5e5044c432cf55fe151
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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.10-py3-none-any.whl

Download URL dbrownell_toolsdirectory-0.14.10-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db8fc5271c2f8c7404389f72ec33743657ab59aef9db41dbac09e5068add17f5
BLAKE2b-256 checksum
How to use checksums
dd92323f30cb38c4e440248807a02fc676ac074976ac08a4f2a3136dffff6226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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.10

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.10 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