Skip to main content

Ruff PyPI-Server Pyversions License: MIT Downloads

dotenvhub

Your Terminal App to manage your .env files

Introduction

header

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_dir following 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:
    1. Copy the Shell specific command to set the environment variables into your clipboard
    2. Create a Copy of the selected file into your current working directory
    3. 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.

⚠️ 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

Release files for dotenvhub 0.6.1

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

Source distribution (sdist)

Source distribution for dotenvhub 0.6.1
File Size Uploaded
dotenvhub-0.6.1.tar.gz 1.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for dotenvhub 0.6.1
File Interpreter ABI Platform
dotenvhub-0.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / dotenvhub-0.6.1.tar.gz

Download URL dotenvhub-0.6.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
64bc755fe5037148145c4206c219ff20c78a15ca8357da007424537a298ddcc8
BLAKE2b-256 checksum
How to use checksums
f2adfd08d26aceeec90e9bc91077ac313986d04ebbb72cc36ec6e08d1cdc4d6e
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / dotenvhub-0.6.1-py3-none-any.whl

Download URL dotenvhub-0.6.1-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1c6a86c1dd08c21481a5d83f3fe63730b28f596e870e26553a61c7614bd405f8
BLAKE2b-256 checksum
How to use checksums
07b98c808101bb74895f6e21f5c2cbd98ebcc3d975d12ac4be7bd2c94fa77fb4
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.13

2 release files

0.0.11

2 release files

0.0.3

2 release files

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