Skip to main content

Environment variables, but easy

The easiest way to load and handle the environment variables.

Usage:

  • Environment.get_variable_from_dotenv(var)
    • Read the variable varsimps from the dotenv file, but not load it.
  • Environment.set_variable(var, 33)
    • Set the value 33 in the var variable in our environment variables dict.
  • Environment.remove_variable(var)
    • Remove the var variable from our environment variables dict.
  • Environment.get_variable(var)
    • Get the value of the var variable in our environment variables dict.

See the tests/test_env.py for more examples.

Download files

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

Source Distribution

env_easy-0.0.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

env_easy-0.0.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file env_easy-0.0.4.tar.gz.

File metadata

  • Download URL: env_easy-0.0.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10

File hashes

Hashes for env_easy-0.0.4.tar.gz
Algorithm Hash digest
SHA256 cd833f2a79df130f78823f05dedf712387b9c2eb8233fae79c8619407d5bbffa
MD5 b9b66545bff5d32cc71ecddd701d0483
BLAKE2b-256 34710658f6a2f26f79a1d59d171fd3fb2838458c3c6fb0e18f2663f2967ab662

See more details on using hashes here.

File details

Details for the file env_easy-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: env_easy-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.9.0 Windows/10

File hashes

Hashes for env_easy-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d263a3d65d0d671ab3e8dad6bc962d453eaf6b8103edd78a1cb2550ad92db455
MD5 088ac873af6473bbcb02a3b53ddda808
BLAKE2b-256 7dfff1bb9738fefa3f4ff75826781b749ddf06a8963b291f6ca7c197ebcb9c43

See more details on using hashes here.

Supported by

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