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.

: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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotenvhub-0.6.1.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dotenvhub-0.6.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

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

Hashes for dotenvhub-0.6.1.tar.gz
Algorithm Hash digest
SHA256 64bc755fe5037148145c4206c219ff20c78a15ca8357da007424537a298ddcc8
MD5 e26d42c960d84216be8c3746d3f12ab3
BLAKE2b-256 f2adfd08d26aceeec90e9bc91077ac313986d04ebbb72cc36ec6e08d1cdc4d6e

See more details on using hashes here.

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

Hashes for dotenvhub-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c6a86c1dd08c21481a5d83f3fe63730b28f596e870e26553a61c7614bd405f8
MD5 d05e605c4a9f286dc5da02b0377b3dad
BLAKE2b-256 07b98c808101bb74895f6e21f5c2cbd98ebcc3d975d12ac4be7bd2c94fa77fb4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.6.1 This release

2 files

0.6.0

2 files

0.5.2

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.3

2 files

0.2.2

2 files

0.2.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.13

2 files

0.0.11

2 files

0.0.3

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page