Bug 252078 - new port: devel/py-envs: easy access of environment variables from Python with support for booleans, strings, lists, tuples, integers, floats, and dicts
Summary: new port: devel/py-envs: easy access of environment variables from Python wit...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-23 17:56 UTC by rozhuk.im
Modified: 2020-12-24 03:12 UTC (History)
0 users

See Also:


Attachments
patch (2.15 KB, patch)
2020-12-23 17:56 UTC, rozhuk.im
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rozhuk.im 2020-12-23 17:56:16 UTC
Created attachment 220860 [details]
patch

Easy access of environment variables from Python with support for
booleans, strings, lists, tuples, integers, floats, and dicts.

Use Case
If you need environment variables for your settings but need an easy way
of using Python objects instead of just strings. For example, if you
need a list of strings.

Features
 - CLI to convert settings
 - CLI to list and check environment variables
 - Use strings, lists, tuples, integers, floats or dicts.
   IMPORTANT: When setting the variables in your environmenet
   (ex. in .env file) wrap them in single or double quotes
   (ex. "['some','list']")

WWW: https://github.com/capless/envs