Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
myenv-201809.1b0-py36.py37-none-any.whl (3.4 kB) Copy SHA256 hash SHA256 Wheel py36.py37 Sep 7, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page