Skip to main content

specbuild

PyPI version

Registry-based object builder for nested configuration dictionaries.

Docs: https://kabouzeid.github.io/specbuild/

Install

pip install specbuild

Quick start

from specbuild import register, build

@register()
class Encoder:
    def __init__(self, channels: int):
        self.channels = channels

cfg = {"type": "Encoder", "channels": 64}
model = build(cfg)

Works well with cfgx for loading config dictionaries.

Metadata

Release files for specbuild 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 specbuild 0.1.0
File Size Uploaded
specbuild-0.1.0.tar.gz 2.2 kB Details

Built distribution (wheel)

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

Total release size: 5.4 kB

Release files / specbuild-0.1.0.tar.gz

Download URL specbuild-0.1.0.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9516eaf44afd072d0e07b8a7fba1e0589d2cb064db4b23c7fae8004aa06f7e78
BLAKE2b-256 checksum
How to use checksums
e5b945380a6f4c8924fd06021dfadf1a65484dfd33f4cd48df4e289319586953
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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

Download URL specbuild-0.1.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a9ef334dd42f43e85fe89bdc24a2b7377f3d45a5ab6b683eb453afd0b86070e
BLAKE2b-256 checksum
How to use checksums
8026ff07c4c1656f2d1498a5b7f6e5182de4561ebd84af7e9cb4c7bf76af188b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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