{"id":22506300,"url":"https://github.com/chickenzord/dotenvy","last_synced_at":"2025-03-27T23:40:27.596Z","repository":{"id":57423723,"uuid":"103363566","full_name":"chickenzord/dotenvy","owner":"chickenzord","description":"Dotenv handler for Python","archived":false,"fork":false,"pushed_at":"2018-01-08T15:47:34.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T05:17:58.676Z","etag":null,"topics":["dotenv","environment-variables","library"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chickenzord.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-13T06:43:59.000Z","updated_at":"2019-03-30T18:26:11.000Z","dependencies_parsed_at":"2022-08-29T22:00:08.467Z","dependency_job_id":null,"html_url":"https://github.com/chickenzord/dotenvy","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickenzord%2Fdotenvy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickenzord%2Fdotenvy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickenzord%2Fdotenvy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chickenzord%2Fdotenvy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chickenzord","download_url":"https://codeload.github.com/chickenzord/dotenvy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245944060,"owners_count":20697946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dotenv","environment-variables","library"],"created_at":"2024-12-07T00:42:59.219Z","updated_at":"2025-03-27T23:40:27.579Z","avatar_url":"https://github.com/chickenzord.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"dotenvy\n=======\n\n.. image:: https://img.shields.io/travis/chickenzord/dotenvy.svg?style=flat-square\n    :target: https://travis-ci.org/chickenzord/dotenvy\n    :alt: Build status\n\n.. image:: https://img.shields.io/coveralls/chickenzord/dotenvy.svg?style=flat-square\n    :target: https://coveralls.io/github/chickenzord/dotenvy\n    :alt: Coverage status\n\n.. image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\n    :target: https://raw.githubusercontent.com/chickenzord/dotenvy/master/LICENSE.txt\n    :alt: MIT license\n\n.. image:: https://img.shields.io/pypi/v/dotenvy.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/dotenvy\n    :alt: PyPI package version\n\n.. image:: https://img.shields.io/pypi/pyversions/dotenvy.svg?style=flat-square\n    :target: https://pypi.python.org/pypi/dotenvy\n    :alt: PyPI python version\n\n\nDotenv handler for Python\n\n\nusages\n------\n\nInstalling ::\n\n  pip install dotenvy\n\nCommon usage as library ::\n\n  from dotenvy import load_env, read_file\n  from os import environ\n\n  load_env(read_file('.env'))\n  my_var = environ.get('MY_VAR')\n\nLoading dotenv file to a dict with type casting ::\n\n  from dotenvy import read_file, truthy\n\n  config = read_file('.env', schema={\n    'HOSTNAME': str,\n    'PORT': int,\n    'IS_DEBUG': bool,  # either [1/true/on/yes] or [0/false/off/no]\n  })\n\nUsing it as a CLI tool ::\n\n  # default dotenv file is '.env'\n  dotenvy ./mywebapp run\n\n  # using alternate dotenv file\n  dotenvy --file=prod.env ./mywebapp run\n\n\ndevelopment\n-----------\n\nChecking codestyle ::\n\n  ./setup.py stylecheck\n\nRunning tests ::\n\n  ./setup.py test\n\nRunning tests on all supported python versions ::\n\n  pip install tox\n  tox\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchickenzord%2Fdotenvy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchickenzord%2Fdotenvy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchickenzord%2Fdotenvy/lists"}