Terminal App to manage .env files written in Python powered by Textual
Project description
dotenvhub
Your Terminal App to manage your .env files
Introduction
DotEnvHub helps storing and accessing your project specific .env files from a central place to setup your environment variables. Supporting you to follow the 12-factor principles when developing applications.
Features
- Organizes files centrally under
user_data_dirfollowing the XDG Basedir Spec - Saves your last selected shell automatically via a config file under
user_config_dir - Supports Creating/Editing/Deleting files in your dotenvhub
- Simple Navigation using textual-jumper to display a jump overlay
- Currently provides 3 ways to set your environment variables:
- Copy the Shell specific command to set the environment variables into your clipboard
- Create a Copy of the selected file into your current working directory
- Copy the path of the selected file to be used with e.g. python-dotenv
without creating a copy in the project
Installation
You can install dotenvhub with one of the following options:
# not recommended
python -m pip install dotenvhub
pipx install dotenvhub
uv tool install dotenvhub
I recommend using pipx or uv to install CLI Tools into an isolated environment.
Usage
Using the Graphical UI
After Installation the Interface can be opened with:
dot
Use Ctrl+q to close the interface.
Using the CLI
The Creation of a Copy in the CWD and copying the Shell String to set the environment variables can also be done directly in the CLI:
To create a copy of FOLDER/FILE from DotEnvHub and save it as SAVENAME in your CWD:
dot copy <FOLDER/FILE> -N <SAVENAME>
To copy the string to clipboard to set FOLDER/FILE from DotEnvHub in your Shell of Choice:
dot shell <FOLDER/FILE> -S <SHELL>
Feedback and/or Issues
If you have feedback or find bugs, feel free to open an Issue.
:warning: DotEnvHub uses pyperclip to handle copy/paste actions.
Based on the pyperclips documentation, you might need additional packages installed
on linux systems like xclip or xsel which can be installed with:
sudo apt-get install xclip
sudo apt-get install xsel
like mentioned here
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dotenvhub-0.6.1.tar.gz.
File metadata
- Download URL: dotenvhub-0.6.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64bc755fe5037148145c4206c219ff20c78a15ca8357da007424537a298ddcc8
|
|
| MD5 |
e26d42c960d84216be8c3746d3f12ab3
|
|
| BLAKE2b-256 |
f2adfd08d26aceeec90e9bc91077ac313986d04ebbb72cc36ec6e08d1cdc4d6e
|
File details
Details for the file dotenvhub-0.6.1-py3-none-any.whl.
File metadata
- Download URL: dotenvhub-0.6.1-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c6a86c1dd08c21481a5d83f3fe63730b28f596e870e26553a61c7614bd405f8
|
|
| MD5 |
d05e605c4a9f286dc5da02b0377b3dad
|
|
| BLAKE2b-256 |
07b98c808101bb74895f6e21f5c2cbd98ebcc3d975d12ac4be7bd2c94fa77fb4
|