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

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.12
File Size Uploaded Provenance
dbrownell_toolsdirectory-0.14.12.tar.gz 20.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 47.9 kB

Release files / dbrownell_toolsdirectory-0.14.12.tar.gz

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

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

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.14.12 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