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

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

Built distribution (wheel)

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

Total release size: 47.9 kB

Release files / dbrownell_toolsdirectory-0.14.13.tar.gz

Download URL dbrownell_toolsdirectory-0.14.13.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
bfdcd08e6c31c76c05898d62dfa4986324761ffec5a47523a3330d11843931cd
BLAKE2b-256 checksum
How to use checksums
dc13b8d29a2fbd9d3727fb1fe675e27b4893003cf35267ed6c88425a4019c296
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.13-py3-none-any.whl

Download URL dbrownell_toolsdirectory-0.14.13-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5d7bcd076a8aa349e973e6a1d004bd010b1828454b75527220e5970a9900f82
BLAKE2b-256 checksum
How to use checksums
97faecc44cdef164fe9d8b5e4f6bc3d7359cb392c69e14a46aff671440d6b9b0
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.13

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