PYTHON-DOTENV(1)
PYTHON-DOTENV(1) π
okay bestie, welcome to the User Commands section, this is the python-dotenv manual page and honestly? she's a whole vibe. β¨
πΈ NAME πΈ
python-dotenv β the .env file manipulator. that's it, that's the girl. she sets, she gets, she unsets. queen behavior. π
π¦ SYNOPSIS π¦
python-dotenv [OPTIONS] COMMAND [ARGS]...
like yes, options first, then the command, then the args for that command. order matters, i don't make the rules (she does). π
π DESCRIPTION π
so basically this script is used to set, get or unset values from a .env file. that's the whole job. no cap. π«Ά
β¨ OPTIONS β¨
-f,--filePATH β tells her where the.envfile is at. if you don't say anything, she just assumes there's a.envfile chillin' in the current working directory. lowkey default behavior. π-q,--quote[always|never|auto] β do we quote the variable values or not, that's the question. the default mode isalways. and heads up bestie, this does not affect parsing. nope. not even a little. π-e,--exportBOOLEAN β whether to write the dot file as an executable bash script. yep, executable. bash. script. iconic tbh. π§--versionβ shows the version and dips. that's it. π--helpβ shows this message and exits. the classic. the moment. π
π Commands: π
getβ retrieve the value for the given key. go get your girl (the value). π«Άlistβ display all the stored key/value pairs. show them off, they're all main characters. βrunβ run a command with the environment variables present. she's coming WITH you. π₯setβ store the given key/value. put it in the vault bestie. πunsetβ removes the given key. gone. deleted. not me erasing your ex. π
fr fr, that's the whole page β every flag, every command, nothing skipped, nothing made up. periodt. π
πΈ that's a wrap on python-dotenv version 1.2.1-2, dated March 2026. ty for coming to my ted talk, love u, mwah πβ¨ππ¦
π¦ where this page comes from
- ubuntu stonking: python3-dotenv 1.2.1-2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms