Skip to main content

slither-sim

SlitherSim is a headless Slither.io simulator in Rust. Run its serve sessions in-process for Python bots, with typed-array steps and frame columns instead of JSON in the decision loop.

pip install slither-sim
import math
import slither_sim

session = slither_sim.Session()
session.reset(seed=7, worlds=2, agents=4, config={"radius": 1000, "dynamicRadius": False})
headings = [math.nan if me == slither_sim.NONE else 0.0
            for world in range(session.worlds) for me in session.frame(world).view_self]
session.step(headings, bytes(len(headings)))
print(session.frame(1).time)

Stable-ABI wheels serve CPython 3.11+ on Linux (x86-64 and ARM64, glibc 2.17+), macOS (Apple silicon and Intel) and Windows (x86-64). Elsewhere, pip builds from source with Rust 1.99+.

The package version is the slither-sim crate's. The Python API is experimental and may change between 0.x versions. MIT licensed.

Metadata

Release files for slither-sim 0.8.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 slither-sim 0.8.0
File Size Uploaded Provenance Actions
slither_sim-0.8.0.tar.gz 1.5 MB With provenance Details for slither_sim-0.8.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for slither-sim 0.8.0
File Actions
slither_sim-0.8.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for slither_sim-0.8.0-cp311-abi3-win_amd64.whl
slither_sim-0.8.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for slither_sim-0.8.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
slither_sim-0.8.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for slither_sim-0.8.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
slither_sim-0.8.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for slither_sim-0.8.0-cp311-abi3-macosx_11_0_arm64.whl
slither_sim-0.8.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for slither_sim-0.8.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 4.9 MB

Release files / slither_sim-0.8.0.tar.gz

Download URL slither_sim-0.8.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
792f148423ed751100ee900e8b2339d4b588ab9144935c34798034c82439707c
BLAKE2b-256 checksum
How to use checksums
18b701759dfb390162750190546e1071b6b2c9c0135ad7288eb2282e007e43e3
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 28, 2026.

Transparency log

Release files / slither_sim-0.8.0-cp311-abi3-win_amd64.whl

Download URL slither_sim-0.8.0-cp311-abi3-win_amd64.whl
Size 610.1 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f140973b48a59caef2887b5b694148c36c8733653b2a4c720bb0fb5a00abf176
BLAKE2b-256 checksum
How to use checksums
314d7a81f792a418d4df03c1bead4db221e422eac69ad402767a31af6195f30b
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 28, 2026.

Transparency log

Release files / slither_sim-0.8.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL slither_sim-0.8.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 737.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
a6258e6000a80c77f9f49e4f52becea81e9cef9a02ebf27b3918732e7cd2a4a1
BLAKE2b-256 checksum
How to use checksums
f14ce124b8f4613ef6b2ba427ed5efae864bc009dc0b66d16282b7b5a45c79de
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 28, 2026.

Transparency log

Release files / slither_sim-0.8.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL slither_sim-0.8.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 705.7 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
a240a4e92aa84f727ae71254fe0bc3c9b268f2bb3196f2f98497a5429c43ea44
BLAKE2b-256 checksum
How to use checksums
c00ef53b88eb0ffe751916756e5996797cfcf8ad27f7f485a89fe2c339b0f190
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 28, 2026.

Transparency log

Release files / slither_sim-0.8.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL slither_sim-0.8.0-cp311-abi3-macosx_11_0_arm64.whl
Size 656.2 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bc14d6fb9be220fe31ba746b67faad492eec4581ca5b26931093211f7183d181
BLAKE2b-256 checksum
How to use checksums
5eb172cd8f8bdbfd2197504c63ef419fc71bc1348845601aed149fcd6e912c4b
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 28, 2026.

Transparency log

Release files / slither_sim-0.8.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL slither_sim-0.8.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 688.0 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
8021e7ea31173d632ecd9172672dd4347d2f491177fc71c87b932864e617a7cf
BLAKE2b-256 checksum
How to use checksums
29364e022845570f564b3a09e7bed89a69c7306c94cf55742b0f1c670b16c53b
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 28, 2026.

Transparency log

Security for slither-sim 0.8.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 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for slither_sim-0.8.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 28, 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