Skip to main content

noizu-direnv-config

Python SDK for direnv-config (dc) — read and write YAML-backed directory configuration.

Install

pip install noizu-direnv-config

Quick Start

from direnv_config import DcClient

# Auto-detect the nearest .dc store
dc = DcClient()

# Read a value
db_host = dc.get("database", "host")
db_port = dc.get_int("database", "port")
debug = dc.get_bool("app", "debug")

# Read an entire config namespace
database_config = dc.get("database")

# Write a value (to the local layer by default)
dc.set("app", "debug", "true")

# Write to a specific layer
dc.set("database", "host", "localhost", layer="local")

# Remove keys
dc.unset("app", ["stale_key", "old_setting"])

# List available config namespaces
configs = dc.list_configs()

# Watch for changes
watcher = dc.watch(lambda version: print(f"config changed: v{version}"))
watcher.start()
# ... later ...
watcher.stop()

Backend Modes

The client supports two backends:

  • native (default) — reads/writes YAML files directly; no external dependencies
  • cli — shells out to the dc binary; useful when you need full CLI compatibility
dc = DcClient(mode="cli", dc_binary="/usr/local/bin/dc")

Full Documentation

See the direnv-config repository for full documentation, CLI usage, and configuration format.

License

MIT — see LICENSE.

Metadata

Release files for noizu-direnv-config 0.1.0

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

Source distribution (sdist)

Source distribution for noizu-direnv-config 0.1.0
File Size Uploaded Provenance
noizu_direnv_config-0.1.0.tar.gz 7.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for noizu-direnv-config 0.1.0
File Interpreter ABI Platform
noizu_direnv_config-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 18.1 kB

Release files / noizu_direnv_config-0.1.0.tar.gz

Download URL noizu_direnv_config-0.1.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4e22372d86ba860771f360fa2df3a68c15c39268fc99c9a06870e670bdb46a40
BLAKE2b-256 checksum
How to use checksums
c51ff464da5453c8f1bf3c8bb0e3bacfb86c38b56870f078eb8b048ecf3c4016
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / noizu_direnv_config-0.1.0-py3-none-any.whl

Download URL noizu_direnv_config-0.1.0-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16138af9e0ecb1870a4a44cd531b9d4ca3bf220e8f1aabdcdf1a76707a5bb209
BLAKE2b-256 checksum
How to use checksums
59a7c6c95b909d7fb6aa17a63d16a4ea433e042ac95fbff8e2ade2b884937bd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for noizu-direnv-config 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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