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.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.1.1
File Size Uploaded
rustuna-0.1.1.tar.gz 263.3 kB Details

Built distributions (wheels)

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

Total release size: 31.1 MB

Release files / rustuna-0.1.1.tar.gz

Download URL rustuna-0.1.1.tar.gz
Size 263.3 kB
Tags Source
SHA-256 checksum
How to use checksums
078bb3571dff681f109896d3952bf46a910ea7f5b3f6c460edfcbee104d3f0d6
BLAKE2b-256 checksum
How to use checksums
2da4db77fad2ebbd213624d1b9d756f4b92fe69c47b3f04df8b5d33ff683c2d0
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
183a598c88a663ba5500b03859304e68439dc2868073932024c482565f2410c9
BLAKE2b-256 checksum
How to use checksums
b6b3f5a818bb2e79c1240d59e75b96b4c0af58c8ba91be0f1f466991dfecf299
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
7200327cda2d826424cebc5d2d1d7ec630092c7f3822726763445df5b6a35d52
BLAKE2b-256 checksum
How to use checksums
20ddf736f20371b41670200f1b704abb224d49f7ddd3acac0b27b54702f344b1
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
c31984f1c1b240311e7233f4d47f7cd66102b812fed5a74ee260cb57c7cf4d28
BLAKE2b-256 checksum
How to use checksums
0691ba2cb0d6e18fff3c3d54db564a5d7760597401805dc3c18418fe18cbb2e2
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
724f7f8e544aaf7eb5350b2ec22fd6d7c2fa81793e3e342bbb18f8e4156f0a44
BLAKE2b-256 checksum
How to use checksums
4ef7fc1e1d8bf37f19ac236b7a511eefc8638e3ee900bc8e7a9ee06f10603ea7
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
8975eaa95cda02a39dd7bdf21a3b301d8c382894cc1ad84b8083ccf0e19beda8
BLAKE2b-256 checksum
How to use checksums
0b9b03c54da08fdc3034ba8bd06ea80c124460fd1897b4ea4c2ecc98b0a10a36
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.1-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
4d18fb24e56fe067ae63514ea2844f6821c3f8f5006e49570817aa3383367761
BLAKE2b-256 checksum
How to use checksums
3447061a1a4988321bcb84f35f746c7f207b6d1512dc6a84d9a9e738b42cdda3
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.1-cp311-abi3-win_arm64.whl
Size 1.9 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
5123c82889b4324cbe8188a45c411f883190bf86d111bc580dd3e49476624ca7
BLAKE2b-256 checksum
How to use checksums
007d1b330381b9f1616c24970fd4e10c27de4717a9881173b2c0435f3c10d4f5
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
42b3e598f63c6df61ec06121a414bd7583ff8702039a7f28d359d5a65af95e2d
BLAKE2b-256 checksum
How to use checksums
425b3639a8ac9482bc40cb7896b9bb044b9e862eaaf6d96dffede13124da996f
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
3fd5217997f0cfb30dfe3fcafcf5d2d7b74deb9caece9193c83ad58bb3cd0647
BLAKE2b-256 checksum
How to use checksums
caa4837ac2e690b451d3e8a0cde2e816d865c57a815689a84a7efce4fba28d05
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
6bca73ac8b2fa6d54441dd828ac95233c22afeda164e90c2188032075da916b5
BLAKE2b-256 checksum
How to use checksums
3d8b20aa4581f7ea148bf85a88739b6879742fc9b44d8b426d7a44fc5612bcea
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 28, 2026.

Transparency log

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

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

Transparency log

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

Download URL rustuna-0.1.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
acfb935cf50804f920f376b819f2993042f7015987d7872ba6f755441d601cb1
BLAKE2b-256 checksum
How to use checksums
876436af346131d4505277f684e6d41b16c0c8dd3d21401fbe715ca073c0dc18
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
73eaed4356f5e5f8bc7aaa72b45994903b7b32fd91a47289db562a40db8f02ef
BLAKE2b-256 checksum
How to use checksums
0a25360dc3716cf4718f767e8d8bd5c1107231681456441b00d692ad7c5fea51
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 28, 2026.

Transparency log

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

Download URL rustuna-0.1.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
22e1b85de75e2f2ac89d8497401008dd68d4a42b93c52303c93d0fc6deabae47
BLAKE2b-256 checksum
How to use checksums
96a79b54defa13f012a6fe4bf71c99af3f08d31c8094c29f8bd7afb81268b9d0
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 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 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