Skip to main content

Environment variable helpers

Project description

Roskarl

Roskarl is a tiny module for environment variables.

How to install

pip install roskarl

Example usage

Single variable:

from roskarl import get_env_var
since = get_env_var(var="SINCE")
until = get_env_var(var="UNTIL", optional=True)

List of strings

tables_list = get_env_var(var="TABLES")
tables = get_list_of_strings(input=tables_list)

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

roskarl-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

roskarl-0.0.1-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file roskarl-0.0.1.tar.gz.

File metadata

  • Download URL: roskarl-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for roskarl-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9d99c86e57536b0536ceeabf3662df33f0aa7feef5cbb98675c405827b2fad97
MD5 70814be86d09022f375c37a4ec002c28
BLAKE2b-256 d27c65a73cac9e1819b066afdf86c67b97e3fc4bc7f1bb6b3496e3bbad817f2c

See more details on using hashes here.

File details

Details for the file roskarl-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: roskarl-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for roskarl-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75a919cd9f1261bdd66ab7ba69cfe79fcd78391e32897fd7b239ed2844343157
MD5 8f1e4a386cda67030378f992f9761ec7
BLAKE2b-256 38d9008a73c6738fbf5f5fcc156058dbaa3c58cffe35e90ee4374201ade53303

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