Skip to main content

Quikenv

This was wrapper around the python dot-env project at

Here is the pypi release I made:

I really liked the project but wanted something even more lazy. All credit goes to the original developers. I only added features I wanted on top of an already really great project.

This wrapper has the following features:

  • A ezload() classmethod that automatically looks for for your .env file in the current working directory and 2 dirs up
import quikenv

env = quikenv.ezload()
var = env.get("my_environment_var")
print(env.environment_variables)
  • A proper_load() classmethod that will load this class with a given file path
import quikenv

env_path = "C:/somedir/.env"
env = quikenv.proper_load(env_path)
var = env.get("my_environment_var")
print(env.environment_variables)
  • A normal procedural start for the class
import quikenv

env_path = "C:/somedir/.env"
env = quickenv.Quikenv(env_path)
env.load()
var = env.get("my_environment_var")
print(env.environment_variables)
  • A lot of safety features (I don't think speed is relevant here):
    • Errors out when you give it an invalid file path to the .env file
    • Will NOT add values from your computer and will only use values from your .env file
    • Errors out when you try to get a value that doesn't exist or has am empty value
      • My years of programming has taught me that I'm still stupid enough to do this. You probably are too.
      • At least you get told now when something is null/empty instead of spending 2 hours debugging your idiocy.

Release files for quikenv 1.0.0

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

Source distribution (sdist)

Source distribution for quikenv 1.0.0
File Size Uploaded
quikenv-1.0.0.tar.gz 5.4 kB Details

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / quikenv-1.0.0.tar.gz

Download URL quikenv-1.0.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5ed1d9ecca523035bc3e2ff10ed27b9cbf37e9c753d7acd490cf275077465a2e
BLAKE2b-256 checksum
How to use checksums
2258cd7d37c5cc35ad30cb7b06e70cfd0842709518fad3501c4b55b5414dd66f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release files / quikenv-1.0.0-py3-none-any.whl

Download URL quikenv-1.0.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
08c92f0a24d6211d6e8011b4b9c971e6e996e548646f39047bfde72d3ea11158
BLAKE2b-256 checksum
How to use checksums
a574885805efdb8f2d7a1e5d480bf0528c5d318b464d1187b71700fd6228a200
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

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