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.12.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.12.0
File Size Uploaded Provenance Actions
slither_sim-0.12.0.tar.gz 1.7 MB With provenance Details for slither_sim-0.12.0.tar.gz

Built distributions (wheels)

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

Total release size: 5.4 MB

Release files / slither_sim-0.12.0.tar.gz

Download URL slither_sim-0.12.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
9964d4aa79a2e4adcd610f2e692ba19fb6a817ed9a4691c86514c8c976cee1bc
BLAKE2b-256 checksum
How to use checksums
d142bd8fd58b072df3d2a9fe2f6fad156d28e8d0df1f41620aa1fa0f0f356ab0
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 Nov 7, 2026.

Transparency log

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

Download URL slither_sim-0.12.0-cp311-abi3-win_amd64.whl
Size 658.4 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c2156223628456aeb69b09ec9f315ef129c84e328e1b7757227ff23b85a8c31d
BLAKE2b-256 checksum
How to use checksums
6296dd654296bb34ea71ea2830c79cca2e5b184796f1f23f9d18289c4b2c644b
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 Nov 7, 2026.

Transparency log

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

Download URL slither_sim-0.12.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 786.4 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
73965d0b54f6e781e8ab235b6f797070cd00de89809680f8afe843b96cd836e3
BLAKE2b-256 checksum
How to use checksums
e71776aa14e8a5e8636cf40cf8c7b1462476051b7617f1dfeb120ada6c2ca1c1
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 Nov 7, 2026.

Transparency log

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

Download URL slither_sim-0.12.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 750.3 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
25602008ed1f13afe7dabf251284803878617fc68072c326cf416d614b93085d
BLAKE2b-256 checksum
How to use checksums
dfcdb2274a1337e322aa4d6077ce6d2a69cb9ba2ee6c5b4038d74bac58a850bb
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 Nov 7, 2026.

Transparency log

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

Download URL slither_sim-0.12.0-cp311-abi3-macosx_11_0_arm64.whl
Size 700.4 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
442de00ae11d8ec8b85699029c43261d3fbc478b00658886f23902b0fa555f14
BLAKE2b-256 checksum
How to use checksums
ef5bcfce28eda26fd4e505509922bce75863c0e43f1df62ff59e11c64d6a1068
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 Nov 7, 2026.

Transparency log

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

Download URL slither_sim-0.12.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 736.0 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
23ce512337d5437e50f1f253b8448c08544f8987febe6d7d35042ba1a8ef7e9d
BLAKE2b-256 checksum
How to use checksums
c24dbad20280df0458c5ebbf9c710fef5faded31670cb44a6b4848a80ca9e261
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 Nov 7, 2026.

Transparency log

Security for slither-sim 0.12.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.12.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 Nov 7, 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