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.1

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.1
File Size Uploaded Provenance Actions
rustuna-0.2.1.tar.gz 274.5 kB With provenance Details for rustuna-0.2.1.tar.gz

Built distributions (wheels)

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

Total release size: 31.2 MB

Release files / rustuna-0.2.1.tar.gz

Download URL rustuna-0.2.1.tar.gz
Size 274.5 kB
Tags Source
SHA-256 checksum
How to use checksums
03500111b5e350c3ef46514a2d45508d2bdaa1fe57272e68290416506f66a82f
BLAKE2b-256 checksum
How to use checksums
0e252a23c3ec18ccf7887eda4b29e2fecf67cc6dfe14a69da04d778ae7f8dd24
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
2e93aeb563e9614dfdc66bf2df1a8cbf0c06e0c51425b073d2c05d0b4777e6cf
BLAKE2b-256 checksum
How to use checksums
60d3a12d7be4ce327342f25871cd5b888ed388f0b5e84476de04fa8927d73420
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
0c3324f2e16e52b8fa11f766589ae529c89ec01ad4194e177ff73a4ee767e24b
BLAKE2b-256 checksum
How to use checksums
d1de64e3c020206f68729e9e05bdf81970b3b4b3ae64b405ccdb73d36c2023af
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
a77d65192423f209d645b124bac40eef32eb16984d2b0433ee849913c6b45afc
BLAKE2b-256 checksum
How to use checksums
707ae6b9eeca84bcbdd28ec455ea74359087e4ca956594453eab735ea068488a
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
ebd053ca469bfc959e60784e8d652879fb5c442df47936c499b6346c28fc8ba0
BLAKE2b-256 checksum
How to use checksums
ece97c371d78a46c265043b0c532cb04d23e9b7b773b2bbe87a54249a470b433
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
502c8e682eefb30d398291dc12894be7c6bee6ea7442c18d5150573d8b270e9c
BLAKE2b-256 checksum
How to use checksums
921068498a5068cf6a22cef767356b2e217ada25fbf2fc9697572e76fec9d750
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
b1de4a75384ea6bb7379c1e3d1293aa536b0d08b98274f21495bcf62ad975a0a
BLAKE2b-256 checksum
How to use checksums
cb67fc2baafc413bdac9913eb692787830be1d615f862a5702b6a064f9c6ec69
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-cp311-abi3-win_arm64.whl
Size 1.9 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
79b4bfd69986ddc6af061c05ab69ed5daed8b96354c7affc84cd5e17b3b0403b
BLAKE2b-256 checksum
How to use checksums
bca8afd5c3d7eda37c26c6f6184d7ce2a7d2c3b617ac5b2e233906115a2f2328
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-cp311-abi3-win_amd64.whl
Size 2.1 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
902fabc7ffd78f8f93e590395afe3d10564f11dbf3062667f7ad9e3b8ab84eea
BLAKE2b-256 checksum
How to use checksums
3ce2341795589d40b3d096f853fabe4c46baf4a5ee443326d279a8ca25d4ba4f
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
9eb3cac1bd6927fa918a57b4758f3025299ecb0c2adb252c29b9f122990a7033
BLAKE2b-256 checksum
How to use checksums
aa0295c0b38101b6c9ff2bb2abd73571cde12457cc107a9fbc56430012daa19b
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
2650040fd724e4bc7562876924ca32dfd3019d4eaf918f29b007b3194c523973
BLAKE2b-256 checksum
How to use checksums
f41474a02fbe8643c93b829bf08e5f99276805236b4d326fc1687b68430bc6b7
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
3f6de2faa0673d8a46f5558ab799c15c1f98afc39db13e361bc68e5d198377b6
BLAKE2b-256 checksum
How to use checksums
30f890a665e5706bff5e4b943e93e12f0784676768cfc7237341021806884c51
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
3d11634d2658a6d9b806ff296fb6c6d094a970e7bb77f60a1c02c0ae3095f6b7
BLAKE2b-256 checksum
How to use checksums
696575b3b293229926b8eee59927cb0a8b8d4aae79cd12adb456b0de890a0c61
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
38ddfe05e3e2f743bd92e20d1c8e6d0e90e7d59378349560f1a5739f32e09cc8
BLAKE2b-256 checksum
How to use checksums
dfe6fa385db49b45c9b8876c93f0d6e4a3a077f6e1527176288f4b4588d97445
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 Oct 30, 2026.

Transparency log

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

Download URL rustuna-0.2.1-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
f11d02f06812c1449d87e092938daf5723c2208b46db8de09e32915a52924ba9
BLAKE2b-256 checksum
How to use checksums
52de8e2357dbc363ebe03a12c74337bd12cf7fa72f804483f6cba0cd1eec0f32
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 Oct 30, 2026.

Transparency log

Security for rustuna 0.2.1

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.1.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 30, 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