Skip to main content

Rustuna

Installation

You can install Rustuna via pip. Unlike Optuna, Rustuna doesn't have runtime dependencies, not even on NumPy. This not only eliminates concerns of version conflicts for users but also significantly speeds up imports.

$ pip install rustuna

Example

import rustuna


def objective(trial: rustuna.Trial) -> float:
    x = trial.suggest_float("x", -10, 10)
    y = trial.suggest_float("y", -10, 10)
    value = (x - 2) ** 2 + (y + 5) ** 2

    print(f"trial={trial.number}, x={x:.05}, y={y:.05}, value={value:.05}")
    return value


study = rustuna.create_study()
study.optimize(objective, n_trials=100)
print(study.best_trial)

License

MIT License

Metadata

Release files for rustuna 0.3.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 rustuna 0.3.0
File Size Uploaded Provenance Actions
rustuna-0.3.0.tar.gz 275.0 kB With provenance Details for rustuna-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for rustuna 0.3.0
File Actions
rustuna-0.3.0-cp315-abi3.abi3t-win_arm64.whl CPython 3.15 abi3, abi3t Windows ARM64 Details for rustuna-0.3.0-cp315-abi3.abi3t-win_arm64.whl
rustuna-0.3.0-cp315-abi3.abi3t-win_amd64.whl CPython 3.15 abi3, abi3t Windows x86-64 Details for rustuna-0.3.0-cp315-abi3.abi3t-win_amd64.whl
rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl CPython 3.15 abi3, abi3t Linux glibc 2.28+ x86-64 Details for rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl CPython 3.15 abi3, abi3t Linux glibc 2.28+ ARM64 Details for rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
rustuna-0.3.0-cp315-abi3.abi3t-macosx_11_0_arm64.whl CPython 3.15 abi3, abi3t macOS 11.0+ ARM64 Details for rustuna-0.3.0-cp315-abi3.abi3t-macosx_11_0_arm64.whl
rustuna-0.3.0-cp315-abi3.abi3t-macosx_10_12_x86_64.whl CPython 3.15 abi3, abi3t macOS 10.12+ x86-64 Details for rustuna-0.3.0-cp315-abi3.abi3t-macosx_10_12_x86_64.whl
rustuna-0.3.0-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details for rustuna-0.3.0-cp311-abi3-win_arm64.whl
rustuna-0.3.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for rustuna-0.3.0-cp311-abi3-win_amd64.whl
rustuna-0.3.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for rustuna-0.3.0-cp311-abi3-musllinux_1_2_x86_64.whl
rustuna-0.3.0-cp311-abi3-musllinux_1_2_aarch64.whl CPython 3.11 abi3 Linux musl 1.2+ ARM64 Details for rustuna-0.3.0-cp311-abi3-musllinux_1_2_aarch64.whl
rustuna-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for rustuna-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl
rustuna-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details for rustuna-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl
rustuna-0.3.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for rustuna-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
rustuna-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for rustuna-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 31.2 MB

Release files / rustuna-0.3.0.tar.gz

Download URL rustuna-0.3.0.tar.gz
Size 275.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e2bb488cae05dc880667744b1516a698a714be0e58b832e724ba4d4bf6f7740b
BLAKE2b-256 checksum
How to use checksums
e3f0bce57960e7a1629aff43e04b51a7c1317d79a8307c32d2a4a09f125a6e38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp315-abi3.abi3t-win_arm64.whl

Download URL rustuna-0.3.0-cp315-abi3.abi3t-win_arm64.whl
Size 1.9 MB
Tags CPython 3.15 Windows ARM64 abi3 abi3t
SHA-256 checksum
How to use checksums
502179521ee87e41b59b447abcbf49078f75e4cb39ba901855daa9356a19e5a5
BLAKE2b-256 checksum
How to use checksums
08da6491688126d5e50087fe2149d6dd5cd5e60cc6edf5eb766385c9d9881512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp315-abi3.abi3t-win_amd64.whl

Download URL rustuna-0.3.0-cp315-abi3.abi3t-win_amd64.whl
Size 2.1 MB
Tags CPython 3.15 Windows x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
3ba51775a63b49007c7294879e114e94424d9f7c289666e4480b87506c7bcf10
BLAKE2b-256 checksum
How to use checksums
2d19914e7bf94f04f55b92322a414425f9be12caebf5be3eb7ff174f8b66134a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl

Download URL rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags CPython 3.15 Linux glibc 2.28+ x86-64 abi3 abi3t
SHA-256 checksum
How to use checksums
6ab3b07ed92927b3228e4c8caced29b178a14054753178d979197c165dda034a
BLAKE2b-256 checksum
How to use checksums
467a68719ec6dd3403aa171ce8ccdd47938d6def42e75c16f0cdb5ae6c7937cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl

Download URL rustuna-0.3.0-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
Size 2.3 MB
Tags CPython 3.15 Linux glibc 2.28+ ARM64 abi3 abi3t
SHA-256 checksum
How to use checksums
36d397da8b58d6deee366352e15398964e7c4bff7e2d5fe3c6aceb568553f118
BLAKE2b-256 checksum
How to use checksums
9cf8a63c8ccb05d7284bf1b2073c853276545e7170c84fff9e0c09c163f33c1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp315-abi3.abi3t-macosx_11_0_arm64.whl

Download URL rustuna-0.3.0-cp315-abi3.abi3t-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.15 abi3 abi3t macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5316cba04e9e30d263422a5060b167024318ec290a43c21393cd029cf1d53d33
BLAKE2b-256 checksum
How to use checksums
0d8344896c7a88a86ba2b48c1a8260067930da281db3d7ca77c11ee27f8f48bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp315-abi3.abi3t-macosx_10_12_x86_64.whl

Download URL rustuna-0.3.0-cp315-abi3.abi3t-macosx_10_12_x86_64.whl
Size 2.3 MB
Tags CPython 3.15 abi3 abi3t macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4b1c0ffed5bb9233d1d19f0a1457d9d783b64cf26e0747893fc6a33296127c1e
BLAKE2b-256 checksum
How to use checksums
8447ec76559307d13fd6a2484f3814a0994dc737472e2fe39d6ef8a3140a0304
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-win_arm64.whl

Download URL rustuna-0.3.0-cp311-abi3-win_arm64.whl
Size 1.9 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
cc493c03a7b9246fc7fdc61bf3db09b05556f44c082d9c299a9c0bc6181291ec
BLAKE2b-256 checksum
How to use checksums
71a0140250c70112be0360c86ba9e2bbae5e13cf00aced699af9b80f4bba7e9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-win_amd64.whl

Download URL rustuna-0.3.0-cp311-abi3-win_amd64.whl
Size 2.1 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b846948b704be847a693b955fc3fd31b48f975d01394bea432839b693ee9a0ed
BLAKE2b-256 checksum
How to use checksums
46acc87ad7b92603c4730428777efe91c303dfc4c94928f25cb1ef7b991cb0c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL rustuna-0.3.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 2.5 MB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
c56b9377aeafe7b4933136b5a78c572952a8abfbefb74ac5fa86780d72cfbdbf
BLAKE2b-256 checksum
How to use checksums
2a6f09b43a61398055008025692910c53f12213ec920c25074812fdfacca9219
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL rustuna-0.3.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 2.4 MB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
99cedab6b583d40bd4bbef310fc73f38a430e4d85b7ef204ad63a243fefef970
BLAKE2b-256 checksum
How to use checksums
e231ef6e762dd7d4a7702c75c42cf9118f94f98c290b152b46b5b834eb3f5914
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL rustuna-0.3.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
0d3e9ab84073cd2b5e6fbc604238c5f8d1dd7eb58efc5ace38bb809b2741972a
BLAKE2b-256 checksum
How to use checksums
12e5615f707a449987276501255a2907d2da2efa0daebadee7881e00001d9e57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL rustuna-0.3.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 2.3 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
e3b8f7e46a705bb353cd32cb22f6d8f09736fcc3ac6c416c630dd2db3f1ba43c
BLAKE2b-256 checksum
How to use checksums
b56a15d90dbbed4e4b2e44f10ed2b11cc5338e6893264c940b33310d1a5ae012
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL rustuna-0.3.0-cp311-abi3-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0b14ec9b344d3b6280f226813a3b4f31c723ea7f8e7bec6139b9303ed771e2a1
BLAKE2b-256 checksum
How to use checksums
5341c5f8353b9ed9571af7cce4c6dc207fe76baace284a1a60328f0cad89b93e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Release files / rustuna-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL rustuna-0.3.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 2.2 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
59adb4c156ebf3cd832552cd953fe145b7b5cced87389e3259a25e1d4a0c5e24
BLAKE2b-256 checksum
How to use checksums
8cb619d2887f4d48fc44d83beeb951c045faf5eca6e0397e11f740e850ef9ae6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 16, 2026.

Transparency log

Security for rustuna 0.3.0

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.

Full provenance

All 15 files in this release have been uploaded with provenance metadata.

Select from 15 files

Attestation for rustuna-0.3.0.tar.gz

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 Nov 16, 2026.

Transparency log

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