Skip to main content

@configu/py

Configu SDK for Python published to PyPI.

Install

pip install configu

Usage

import os

import configu

config_store = configu.InMemoryConfigStore()
test_set = configu.ConfigSet("test")
schema = configu.ConfigSchema("get-started.cfgu.json")

configu.UpsertCommand(
  store=config_store,
  set=test_set,
  schema=schema,
  configs={
    "GREETING": "hello",
    "SUBJECT": "configu python sdk",
  },
).run()

data = configu.EvalCommand(
  store=config_store, set=test_set, schema=schema
).run()

configuration_data = configu.ExportCommand(data=data).run()

print(os.environ["MESSAGE"])
# hey, configu python sdk!
print(configuration_data)
# {'GREETING': 'hey', 'SUBJECT': 'configu python sdk', 'MESSAGE': 'hey, configu python sdk!'}

Reference

oss.configu.com/py

Contributing

Requirements

Setup

Run these commands in order:

cd py
pyenv install
pyenv local 3.9.16
poetry env use $(pyenv which python)
poetry install

Contribute

Follow the Sending a Pull Request section from the CONTRIBUTING.md.

Metadata

Release files for configu 0.6.3

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

Source distribution (sdist)

Source distribution for configu 0.6.3
File Size Uploaded Provenance Actions
configu-0.6.3.tar.gz 17.7 kB Without provenance Details for configu-0.6.3.tar.gz

Built distribution (wheel)

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

Total release size: 41.8 kB

Release files / configu-0.6.3.tar.gz

Download URL configu-0.6.3.tar.gz
Size 17.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2031d07ae022a92a25fd1e0b43edcd006d4212a81858667e65a95ad34f0aeb3a
BLAKE2b-256 checksum
How to use checksums
e58c32657ba1189ebb7db3be57c75a8d7dc86b7ad297bd92c8cde0cbf40757ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.9.16 Linux/6.2.0-1018-azure

Release files / configu-0.6.3-py3-none-any.whl

Download URL configu-0.6.3-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bff40cd759f4a9ea29c64e2c26be7c15c536d2ef8ae70f7859abf4cc8d8e5d41
BLAKE2b-256 checksum
How to use checksums
9447b59cd4b2a80f19efda1e7bb492aaef2683dc40628df87c82c95e02aed6ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.0 CPython/3.9.16 Linux/6.2.0-1018-azure

Security for configu 0.6.3

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.

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