Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Allows attributes of classes and/or instances to be set directly through config
files. Config file example followed by code:

[sect1]
foo=bar

[Klass]
prop1=qwe
prop2=456
prop3=false

[SubKlass]
hihi = HEHE
------------------------
class Klass(Configurable):
class SubKlass(Configurable):
config = Config(hihi = "hoho")
config = Config(
prop1="asd",
prop2=123,
prop3=True
)
assert Klass.config.prop1 == "asd"
assert Klass.config.prop2 == 123
assert Klass.config.prop3 == True
assert Klass.SubKlass.config.hihi == "hoho"
c = ConfigFile(path, globals())
assert Klass.config.prop1 == "qwe"
assert Klass.config.prop2 == 456
assert Klass.config.prop3 == False
assert c.Klass.prop1 == "qwe"
assert c.Klass.prop2 == "456"
assert c.Klass.prop3 == "false"

Metadata

Release files for configurable 0.1dev

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

Source distribution (sdist)

Source distribution for configurable 0.1dev
File Size Uploaded Provenance Actions
configurable-0.1dev.tar.gz 4.3 kB Without provenance Details for configurable-0.1dev.tar.gz

Release files / configurable-0.1dev.tar.gz

Download URL configurable-0.1dev.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
8be92d3dd082b71e222c90589e18053082e07ec56f65a924191244481f8cbd57
BLAKE2b-256 checksum
How to use checksums
5c6bf3e709515b94c41860850646e0f1efcf0afc993f7abae2b74f5a54ee84f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for configurable 0.1dev

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
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