Skip to main content

A completely unnecessary multitool module.

Project description

multinut

The multitool nobody asked for. Includes stuff and so


multinut.env

A simple but flexible environment loader. Supports .env file parsing with optional mode suffixes (e.g. .env.production, .env.testing, etc.), lazy loading, and dynamic access.

Useful when:

  • You want a single class that can load environment configs based on mode (development, production, etc.)
  • You need access via env["KEY"], env.get("KEY"), or even env.KEY
  • You want optional type casting and sane default handling
  • You don’t want os.environ to be touched

Use cases

  • Loading .env files in mode-aware Python projects
  • Separating secrets and configs by deployment context
  • Dynamically reading values like env.DB_URL, env.get("DEBUG", default=False, cast=bool)
  • Avoiding external dependencies beyond python-dotenv

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

multinut-0.2.1.post1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

multinut-0.2.1.post1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file multinut-0.2.1.post1.tar.gz.

File metadata

  • Download URL: multinut-0.2.1.post1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for multinut-0.2.1.post1.tar.gz
Algorithm Hash digest
SHA256 ace15adb9e8146402ce27a47850df609ed7a487e913dc0badc33198a17ac9598
MD5 08149213073fec493af3ad519085ff85
BLAKE2b-256 c857a11138b231cac6928f72de570769e569a57664bcddac671c7bf38f0eecde

See more details on using hashes here.

File details

Details for the file multinut-0.2.1.post1-py3-none-any.whl.

File metadata

  • Download URL: multinut-0.2.1.post1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for multinut-0.2.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 0b11dc76511b93a679ea170b9d37a77b5a187e87a531f2c939b0bee8737f878b
MD5 31b0a99f4587d4f5769c63607d741dda
BLAKE2b-256 8a8a34fb6b8467878f21a65f4afc50985727c5900f505b41a3f97f2d9c3532c2

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