
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
AI-detected possible typosquat
Supply chain riskThere is a package with a similar name that is downloaded much more often.
Did you mean |
---|
config |
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
ZeConfig is a Python library designed to manage application configurations, making it easier to handle sensitive data and environment-specific settings. It supports configuration files in both TOM, JSON, YAML, YML and ENV formats.
pip install zeconfig
At the root of the project, create a file with one of the extensions .toml, .json, .yaml, .yml or .env.
For example: config.json
config.json
{
"DATABASE_URL": "sqlite:///dev.db",
"SECRET_KEY": "dev-secret"
}
from ze import config
Retrieve a value for a specific key in the current environment:
DATABASE_URL = config("DATABASE_URL")
print(f"Database URL: {DATABASE_URL}")
>>> OUTPUT:
sqlite:///dev.db
ZeConfig raises descriptive exceptions for common issues:
KeyError
: Missing environment or key in the configuration file.This project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository.
For questions or support, please reach out to uadsonpy@gmail.com.
FAQs
Configuration Manager Package
We found that zeconfig demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.