Skip to main content

About

Enviz is a python module that allows you to write and read environment variables from a file.

Installation

pip install enviz

Usage

from enviz import Env

# Read environment variables from a file
env = Env(path='.env.example', autowrite=True)

# We can update the environment variables with a dictionary
env.update({
    'TEST1': '1',
    'TEST2': '2'
})

# We can also update the environment variables by setting them manually
env['TEST3'] = '3'
# env.example
TEST1 = "1"
TEST2 = "2"
TEST3 = "3"

Enviz will automatically write the environment variables to the file if the autowrite parameter is set to True. If you want to write the environment variables manually, you can use the write() method.

Metadata

Release files for enviz 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for enviz 0.1.2
File Size Uploaded
enviz-0.1.2.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for enviz 0.1.2
File Interpreter ABI Platform
enviz-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / enviz-0.1.2.tar.gz

Download URL enviz-0.1.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b980524cde615bd3708adef096dab7bf02c9f66227aabf745d0aea61b9606f83
BLAKE2b-256 checksum
How to use checksums
f8e3144f89bb77ce15f952dc3db67cbdb563d68139a2889beb99fb3e6ee1f7c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / enviz-0.1.2-py3-none-any.whl

Download URL enviz-0.1.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
be59a14f81cca6f5e9b236bbb51455160399bd654033c80f78cb540cb72c640c
BLAKE2b-256 checksum
How to use checksums
e28939c5d8daab5855c71d25ac99dcd74cfb6bac223881de1ee1045f57f9a609
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page