You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

envier

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

envier - pypi Package Compare versions

Comparing version
0.2.0
to
0.2.1
+1
-1
envier.egg-info/PKG-INFO
Metadata-Version: 2.1
Name: envier
Version: 0.2.0
Version: 0.2.1
Summary: Python application configuration via the environment

@@ -5,0 +5,0 @@ Home-page: https://github.com/DataDog/envier

@@ -221,3 +221,3 @@ import os

) # type: str
if self._full_prefix:
if self._full_prefix and not self._full_prefix.endswith("_"):
self._full_prefix += "_"

@@ -224,0 +224,0 @@

Metadata-Version: 2.1
Name: envier
Version: 0.2.0
Version: 0.2.1
Summary: Python application configuration via the environment

@@ -5,0 +5,0 @@ Home-page: https://github.com/DataDog/envier

@@ -143,7 +143,10 @@ from typing import Optional

def test_env_nested_config(monkeypatch):
monkeypatch.setenv("MYAPP_SERVICE_PORT", "8080")
@pytest.mark.parametrize(
"prefix,var", [("", "MYAPP_PORT"), ("service", "MYAPP_SERVICE_PORT")]
)
def test_env_nested_config(monkeypatch, prefix, var):
monkeypatch.setenv(var, "8080")
class ServiceConfig(Env):
__prefix__ = "service"
__prefix__ = prefix

@@ -150,0 +153,0 @@ host = Env.var(str, "host", default="localhost")