Skip to main content

General helper functions for environments

Project description

Pynenv

Richer featured environment variable grabber.

Install

pip install pynenv

Example Useage

from pynenv.environment import get_environment_variable, json2dict, yaml2dict

my_env_var = get_environment_variable('HOME')
json_dict = json2dict('test_json.json')
yaml_dict = yaml2dict('test_yaml.yaml')

Build

  • Adjust version in pyproject.toml
  • Run poetry build
  • Run poetry publish

Project details


Download files

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

Source Distribution

pynenv-0.2.5.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pynenv-0.2.5-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file pynenv-0.2.5.tar.gz.

File metadata

  • Download URL: pynenv-0.2.5.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Linux/6.8.7-200.fc39.x86_64

File hashes

Hashes for pynenv-0.2.5.tar.gz
Algorithm Hash digest
SHA256 bbbab57f9c7dcfd4085177bd9c5b81502d055073262b41a99f1ce95a0bba787d
MD5 b45dbe2e1d15c338baafc9610697b95b
BLAKE2b-256 ddb210f2b5822f0ea6504062258535a5027d11f73758c56e41676224a1271d17

See more details on using hashes here.

File details

Details for the file pynenv-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: pynenv-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.2 Linux/6.8.7-200.fc39.x86_64

File hashes

Hashes for pynenv-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 aff7fe886e65e6b22edd8dbde2b876ab616a16271157cd7b46cb90cd41387b26
MD5 125186deedee10a174203c5d3cbe245d
BLAKE2b-256 4e898acadf385d68429ffc8eaaf3b48a3cfe69bf52eb1405c2773daa59cd1913

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 Pingdom Monitoring Sentry Error logging StatusPage Status page