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.3.tar.gz (3.2 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.3-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: env_easy-0.0.3.tar.gz
  • Upload date:
  • Size: 3.2 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.3.tar.gz
Algorithm Hash digest
SHA256 9caa24ef37ed6b5c877b9514a80c6f2b24cc56049727e95efd285487e6f8cdda
MD5 e49e22e40cb0c5e387466081f9fea298
BLAKE2b-256 737ddd528cce5dad16c5828b79788ebec30b25e4757612e5869cfeb43495b8bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: env_easy-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 886836874d89b0a44f1767a50bd42cd05d7cecc5357fe8c5dfe1fe918003021b
MD5 640b23be5d2c0eda8bc9ab9f77adc6d2
BLAKE2b-256 4ba5fae2cb09306ca9f868ea2e9a3042cf7fd80c50dfc48103d5faa24bd831b6

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