
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
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.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.