Skip to main content

Super Simple Environment

Release build

Super Duper Simple, Super Duper Easy dotenv (.env) package in Python.

Feature

  • Handle dotenv (.env)
  • Import, Load, and Use it now!

Installation

Requirements

  • Python 3.X

You can just install Environment package by using pip:

pip install ssenv

Usage

Import the package

First, you should import the package and create an instance of Environment class.

import ssenv

env = ssenv.Environment()

Load the dotenv

You can load the dotenv file by using load_dotenv() method. If you want to reload the dotenv file, you can just use load_dotenv() method again.

env.load_dotenv()

Use it!

You can use the dotenv file by using get() method. If you want to get the value of the dotenv, you can just use get() method with the key of the dotenv. If the dotenv file doesn't have the key, it will return None.

pwd = env.get('MY_PASSWORD')

Metadata

Release files for ssenv 1.0.1

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

Source distribution (sdist)

Source distribution for ssenv 1.0.1
File Size Uploaded
ssenv-1.0.1.tar.gz 2.9 kB Details

Built distribution (wheel)

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

Total release size: 6.0 kB

Release files / ssenv-1.0.1.tar.gz

Download URL ssenv-1.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d408224ce9a6dfd73e5d408b891dca4228091fd00e9cd6e097f0da16f56d7fdc
BLAKE2b-256 checksum
How to use checksums
188c77f8c8ba4898407cf22214377030d5cced1c249253435fda7286540a7275
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / ssenv-1.0.1-py3-none-any.whl

Download URL ssenv-1.0.1-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b62779b3f70c55dd01548459059242cb4e38ad5f1aa703ea15ed039ff304505c
BLAKE2b-256 checksum
How to use checksums
42456a4c4f34edc07bf6ccedbaaa4c4478a1f1b79fb00748f88efaf8e960a7b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

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