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.7.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.7.0
File Size Uploaded Provenance Actions
slither_sim-0.7.0.tar.gz 1.5 MB With provenance Details for slither_sim-0.7.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for slither-sim 0.7.0
File Actions
slither_sim-0.7.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for slither_sim-0.7.0-cp311-abi3-win_amd64.whl
slither_sim-0.7.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.7.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
slither_sim-0.7.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for slither_sim-0.7.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
slither_sim-0.7.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for slither_sim-0.7.0-cp311-abi3-macosx_11_0_arm64.whl
slither_sim-0.7.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details for slither_sim-0.7.0-cp311-abi3-macosx_10_12_x86_64.whl

Total release size: 4.8 MB

Release files / slither_sim-0.7.0.tar.gz

Download URL slither_sim-0.7.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
8a15be35fcd343d21331afa04654372eab144f7c59d3350c5437e2cf1fd6c99a
BLAKE2b-256 checksum
How to use checksums
92e752f1241d22853aa4b92a0f99e255e3a99460ec93acf18d73ef0a537ab02b
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 27, 2026.

Transparency log

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

Download URL slither_sim-0.7.0-cp311-abi3-win_amd64.whl
Size 593.4 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
17ec161c4eb6de2cc8827b3e296130a5411aefa5b97689c033d359879106b028
BLAKE2b-256 checksum
How to use checksums
65e94de6d65440cdb359a2b3c3ce16f3963d8225f9ce5d15515dcec0a1d6914a
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 27, 2026.

Transparency log

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

Download URL slither_sim-0.7.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 720.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
525d27c464dc80e1066e12d2dab9933034576f2ada6481b8252eb637c3782737
BLAKE2b-256 checksum
How to use checksums
efc9531fff589141d8b31d8cc9e98931687cd3af55f57a0f1b5dfa87fe67fc21
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 27, 2026.

Transparency log

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

Download URL slither_sim-0.7.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 690.6 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
5a2c765dbb7857ffd39ecd2f6d2ae778504f43f8f39cdc6f506154ce827b3c19
BLAKE2b-256 checksum
How to use checksums
211ac86f6acd4ff9ae9c364b6289075cf4e5f5652397f1c0737cb22f95356525
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 27, 2026.

Transparency log

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

Download URL slither_sim-0.7.0-cp311-abi3-macosx_11_0_arm64.whl
Size 641.2 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
e4c94a6ba0c1f4d422835101c1bc1534db3cac529258d753ca5265062c196429
BLAKE2b-256 checksum
How to use checksums
795c6b093e2f3ef94476c0039288c31769ca6d2ed58c6d717582fe2ca6056bef
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 27, 2026.

Transparency log

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

Download URL slither_sim-0.7.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 671.2 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
857faf5d99ec3e87ac96edb9af61b9c5ab1adb5dc2da1c897552f39f38287028
BLAKE2b-256 checksum
How to use checksums
1dd695eaff9aeb49d993fb432781a3b47f3ffa786f0eed3722670b054bc4dc27
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 27, 2026.

Transparency log

Security for slither-sim 0.7.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.7.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 27, 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