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.2.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.2.0
File Size Uploaded Provenance Actions
rustuna-0.2.0.tar.gz 274.4 kB With provenance Details for rustuna-0.2.0.tar.gz

Built distributions (wheels)

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

Total release size: 31.2 MB

Release files / rustuna-0.2.0.tar.gz

Download URL rustuna-0.2.0.tar.gz
Size 274.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7978abfbf919a58cc8eddff1d91c27a916375b31d5bf527bc402f9b4ca9f8c9a
BLAKE2b-256 checksum
How to use checksums
bee5608277a0729036abb5760a5dbc114f2f9f04071b7a71fcf4cd5e637c9c03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
bdc99de43401230a7b53173aac2bc9014712bb9beef6fd1a935957b43af2db14
BLAKE2b-256 checksum
How to use checksums
f96c1a7803ee56480cb38a6727fc29af519e2d2c81ed1dfcf32426193772881c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
e96f6503d0facc286fc9993395fe0f82234164dc93f4e8a2a5b267ece00cdfb3
BLAKE2b-256 checksum
How to use checksums
75e1e50313079a3f47e5eda0c4779a45c14720c7e192ba930cbd4855405f36f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
c9aa376680af786858d7e45d0971f3e437f23a989a31e2f82c413790bd4f5f3e
BLAKE2b-256 checksum
How to use checksums
97c9122a2f591ee51df5cf6925e6cde6c18d942f9b657c346e490d15aa959785
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
090f47ab37e54ffd9160ea77c3db92621726493145efa12e39fa4d0ace485e57
BLAKE2b-256 checksum
How to use checksums
1d89f171fae2cba33395aaf75e2b5a53fc22d8c270b1c4c5257890bd7f03ceac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
78fc18fd01caf29e5662cdfda6ccc4c40ee39e1921a92dfaada38f62242a0993
BLAKE2b-256 checksum
How to use checksums
f8d8716eb27bec7e099a1bb0c48108b6bf09fbd649c506dcc13e86aaadfa0a07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
0f3aedb0aee4544271651e930731be7b5f3ed95d035da7b6d63d3a9078f30536
BLAKE2b-256 checksum
How to use checksums
9da67e0253745af262a7c0acbc598dfd0f3808aed41980f87ce6b5d71bb9bbf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.0-cp311-abi3-win_arm64.whl
Size 1.9 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
259f68f9337387003a9dbe21b7b900fda53b5c0f6f97611412cabe2569523922
BLAKE2b-256 checksum
How to use checksums
492820fbf15d72ea975c320fcfd64f9bdae49490ff6755b698fb424bdbd0adaa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
e7487ad5dafc4d2746a50dac97db4f28371b2b618c64e5f030154cd16cabc85e
BLAKE2b-256 checksum
How to use checksums
251d6346c247de5b17904fd8d0fe4169fd334deab8508506cbc9034881931e39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
c588584a452ba9989395f4d9b409af1c51dcc4514cc53c6c7c6dd5d56b076778
BLAKE2b-256 checksum
How to use checksums
d31dbb1eb69c6f1cd011f0a1988bfe65503178bd2aa85cd0db6019985eead5e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
d695a366865e592a76e497ca108cdd5b83d21ab8471901d57ecb26aee66b49c1
BLAKE2b-256 checksum
How to use checksums
64589bdd34009c73afa71c81a04154522db55c86fd6f2f1dd513986ea98d744a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
b66626b7c3ffc621ef47d0c81a664b5b64fb960a8f9baf053c2a198db5f37f21
BLAKE2b-256 checksum
How to use checksums
decec87431ce5badfc9bc797afba50588ceeb404191526132dd313d92a4fb8e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
a3124b87c29f400e5c05d0e1c21677f48ed367a5f8eb22fc06f1f95d3f73a3c8
BLAKE2b-256 checksum
How to use checksums
6c3ada87420549605a86c2da6a93100380691c00d8b7b2148be1fb205cda5968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
9a365a2835b1cc504527f84d13e92bf228efdfdb3fe131d248b11e64ea310204
BLAKE2b-256 checksum
How to use checksums
3b15b1c790c023462efa1c8950e67712ae97941d8f469fb4337b05197a778e89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

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

Download URL rustuna-0.2.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
912fb9af157e0b438d2548579efeaa02752c6b2ee53c5a2e2b77685dc836088a
BLAKE2b-256 checksum
How to use checksums
bb1c2e655446421aa72964a186868bfd7d1d7cd752eea6e67be25d059fe34fbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 26, 2026.

Transparency log

Security for rustuna 0.2.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.2.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 Oct 26, 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