ConfigSpace
A simple Python module implementing a domain specific language to manage
configuration spaces for algorithm configuration and hyperparameter optimization tasks.
Distributed under BSD 3-clause, see LICENSE except all files in the directory
ConfigSpace.nx, which are copied from the networkx package and licensed
under a BSD license.
The documentation can be found at https://automl.github.io/ConfigSpace/latest/. Further examples can be found in the SMAC documentation.
Minimum Example
from ConfigSpace import ConfigurationSpace
cs = ConfigurationSpace(
name="myspace",
space={
"a": (0.1, 1.5), # UniformFloat
"b": (2, 10), # UniformInt
"c": ["mouse", "cat", "dog"], # Categorical
},
)
configs = cs.sample_configuration(2)
Citing the ConfigSpace
@article{
title = {BOAH: A Tool Suite for Multi-Fidelity Bayesian Optimization & Analysis of Hyperparameters},
author = {M. Lindauer and K. Eggensperger and M. Feurer and A. Biedenkapp and J. Marben and P. Müller and F. Hutter},
journal = {arXiv:1908.06756 {[cs.LG]}},
date = {2019},
}
Release files for ConfigSpace 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| configspace-1.2.2.tar.gz | 134.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| configspace-1.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 251.7 kB
Release files / configspace-1.2.2.tar.gz
| Download URL | configspace-1.2.2.tar.gz |
|---|---|
| Size | 134.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b5cc981c145ef9632104d230acf963c2f68fe5a375983946e941c2eec5dd08e4
|
|
BLAKE2b-256 checksum How to use checksums |
ae517a63132fdc3a71eea66d9f81b451a61a38631af0a73bdcda1ec784cea32e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency logRelease files / configspace-1.2.2-py3-none-any.whl
| Download URL | configspace-1.2.2-py3-none-any.whl |
|---|---|
| Size | 117.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9dd5090fab08fbfc0fa8a66affb53e991e9df65ae20959fcee8e544bb3c0a09d
|
|
BLAKE2b-256 checksum How to use checksums |
566701bf8795064d2132d7244341908f75bb2ea87dc114364cd8c5b20c606a8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 19, 2025.
Transparency log