Skip to main content

Environment Variables

Project description

MyENV: Environment Variable Parsing with Types

MIT License PyPI Wheel Supported Python Versions PyPI Version CalVer v201809.0002-beta
Build Status Checked with mypy Code Coverage

MyENV parses you’re environment variables using types and defaults declared like this:

import myenv
import dblib

class DBEnv(myenv.BaseEnv):

    host      : str  = ""
    port      : int  = 5432
    name      : str  = "app_db_v1"
    user      : str  = "myuser"
    password  : str
    read_only : bool = True

# parse from os.environ
dbenv = myenv.parse(DBEnv)

conn = dblib.connect(,

Changelog for pycalver


  • Initial release

Download files

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

Files for myenv, version 201809.1b0
Filename, size File type Python version Upload date Hashes
Filename, size myenv-201809.1b0-py36.py37-none-any.whl (3.4 kB) File type Wheel Python version py36.py37 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page