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.1.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.1.0
File Size Uploaded
rustuna-0.1.0.tar.gz 263.0 kB Details

Built distributions (wheels)

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

Total release size: 31.0 MB

Release files / rustuna-0.1.0.tar.gz

Download URL rustuna-0.1.0.tar.gz
Size 263.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f055767e2cda4ebaec5bcbf7a1a121b8fdb03f97df531b9dc65fe7f54822b471
BLAKE2b-256 checksum
How to use checksums
38644a0b235958be6bf1518d68306a620c30aa0f74397b343fd7df9144a88955
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
c377c5f3ed66f07eec3567945e37bca67a6be53005e9e60ac6ee09fe272574bc
BLAKE2b-256 checksum
How to use checksums
06e770cdc31ae1e7ca214082883cdf403dfd024f0317ca93f9f8d6731ae576b0
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
854ed461c90eb71b080ab70007f5a96c13e34b488070d72706d44b78c99f6940
BLAKE2b-256 checksum
How to use checksums
cb738ca7a8533a4d99efc02f4851f2f9f32e511dfff4402202edcf2d65d771c2
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
6790bff1a39450cec78d508c65c1d6e1117447b43f0dce898c7017eb4cb4a5fc
BLAKE2b-256 checksum
How to use checksums
8ec8412ec984d05eb2a5610f7f8cd538900cec60ba30640671b5225910a50709
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
8e85a5d5a789f544a3aa2527f8d0e0b6e8b87631fad45aef16fbddd22774456e
BLAKE2b-256 checksum
How to use checksums
3c7a4c98b86c638dd99a245a3022f82bf7e0736613702a43584fef5eca662660
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
0d25e7b3edc433875ace21009052c1a8fc9fb7b019122b9dabf6cbebf7b67ae7
BLAKE2b-256 checksum
How to use checksums
89d4442276bcaa2e48af7b6e0e5a28f8bf69104766bb6124d80dd0986a68ac08
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.0-cp315-abi3.abi3t-macosx_10_12_x86_64.whl
Size 2.2 MB
Tags CPython 3.15 abi3 abi3t macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
5b883610b06575c05acbd6296456c37dcc3f404139f9e966f0f8151db75cede1
BLAKE2b-256 checksum
How to use checksums
db3a409e0c89d006502ef15e01fc7781338b0b942a0d3d31907dbe55e5ac5e11
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.0-cp311-abi3-win_arm64.whl
Size 1.8 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
578dbdf1fcea686339fdcf428e44e7aca2c8c22c4eebc21f7472c013402df808
BLAKE2b-256 checksum
How to use checksums
084c29369ed0357266cb69d2c2938a0863cdd4a52f3feeecad161a9d243f0e05
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
ed5e676aabb33e32c2a38729680c4f8499583754d954c4868bd874e0258b6af2
BLAKE2b-256 checksum
How to use checksums
fbe4ab3175c1f7c3a63096d63a1c4899ce3f57b8a30afb898937dd0d237b34ef
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
3f5937230a037483b44bda5aaf35f13535ed1224d8a0c3e9bc2e978cb4743339
BLAKE2b-256 checksum
How to use checksums
d70beccdd39da6f470771cb50d1c0d02868409e9097f81a17577e7fb91748c3f
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
ece060261cb507d128ef44d9a939001355a39c5259400080586e59750311bec3
BLAKE2b-256 checksum
How to use checksums
40ecd3b70769ba864fadc4e6b7f3ce34f842e83a0641ec8b3673cab0e2ba7865
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
7db76e80f7054c8c5b36d8690642419fe544e6bd09e98c6737dba1bcc83787f8
BLAKE2b-256 checksum
How to use checksums
e197e3906c02268a1055b943d19d320cfb0ee733f3b24a995d1278f524f5e34f
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
0b90d539925c9be81b095cd4382d256fc60dc2e1a7d59eb8aca36af16870aff5
BLAKE2b-256 checksum
How to use checksums
161197db9a13fd8dea116725d0fb213d74db7f32ad4b9a8e0c7af81d03a02f16
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
f9f9f235186cce75ac556467a82940bcf20c6bede361672e342b5d9db72cdc0d
BLAKE2b-256 checksum
How to use checksums
f63e28ad63e782e57651c0b6e0f7caef95cfcfa2bcafbce1adc367896ab787c9
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 Sep 7, 2026.

Transparency log

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

Download URL rustuna-0.1.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
28f8c726faecf7f90d2b503d7fe740ad593422fb6df5d53acfd9706b827933cc
BLAKE2b-256 checksum
How to use checksums
cfa67a97651259812d3105f965d7563af46624b9102877186d89fac9f24bf31e
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 Sep 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

15 release files

This release

0.1.0 This release

15 release files

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