Skip to main content



CI Coverage PyPI License Documentation

YAML configuration meets Python

Define Python objects in YAML. Reference, compose, and instantiate them effortlessly.


Quick Start

pip install sparkwheel
# config.yaml
dataset:
  num_classes: 10
  batch_size: 32

model:
  _target_: torch.nn.Linear
  in_features: 784
  out_features: "%dataset::num_classes"  # Reference

training:
  steps_per_epoch: "$10000 // @dataset::batch_size"  # Expression
from sparkwheel import Config

config = Config()
config.update("config.yaml")

model = config.resolve("model")  # Actual torch.nn.Linear(784, 10)

Features

  • Declarative Objects - Instantiate any Python class with _target_
  • Smart References - @ for resolved values, % for raw YAML
  • Composition by Default - Dicts merge, lists extend automatically
  • Explicit Control - = to replace, ~ to delete
  • Python Expressions - Dynamic values with $
  • Schema Validation - Type-check with dataclasses

Get Started · Documentation · Quick Reference

Community

About

Sparkwheel is a hard fork of MONAI Bundle's config system, with the goal of making a more general-purpose configuration library for Python projects. It combines the best of MONAI Bundle and Hydra/OmegaConf, while introducing new features and improvements not found in either.

Metadata

Release files for sparkwheel 0.0.11

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

Source distribution (sdist)

Source distribution for sparkwheel 0.0.11
File Size Uploaded Provenance Actions
sparkwheel-0.0.11.tar.gz 50.1 kB Without provenance Details for sparkwheel-0.0.11.tar.gz

Built distribution (wheel)

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

Total release size: 109.9 kB

Release files / sparkwheel-0.0.11.tar.gz

Download URL sparkwheel-0.0.11.tar.gz
Size 50.1 kB
Tags Source
SHA-256 checksum
How to use checksums
84ccedb64e5ecfd0787c1546c65d9778f0e4ea3bae0f0307541e67912f393d95
BLAKE2b-256 checksum
How to use checksums
1d8baece518d61e756c38b8b75a0eb086ac5869eb6639c8818f381d4bcf9b1f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","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 / sparkwheel-0.0.11-py3-none-any.whl

Download URL sparkwheel-0.0.11-py3-none-any.whl
Size 59.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b38bb2ae2b436a06b69ce72641af437341025e8b932fc1499d2715b5ec4ad5ee
BLAKE2b-256 checksum
How to use checksums
e157c482271dcbac3309042b2a1c5e0c8a154c53f118ec1e07e35751421a5c65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","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}

Security for sparkwheel 0.0.11

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