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+.
- Python package guide: API, frame columns, threads and timing
- Bot protocol:
requests, worlds and frames shared with
serve - Changelog
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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| slither_sim-0.8.1.tar.gz | 1.5 MB | With provenance | Details for slither_sim-0.8.1.tar.gz |
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| slither_sim-0.8.1-cp311-abi3-win_amd64.whl | CPython 3.11 | abi3 | Windows x86-64 | Details for slither_sim-0.8.1-cp311-abi3-win_amd64.whl |
| slither_sim-0.8.1-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.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
| slither_sim-0.8.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.11 | abi3 | Linux glibc 2.17+ ARM64 | Details for slither_sim-0.8.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
| slither_sim-0.8.1-cp311-abi3-macosx_11_0_arm64.whl | CPython 3.11 | abi3 | macOS 11.0+ ARM64 | Details for slither_sim-0.8.1-cp311-abi3-macosx_11_0_arm64.whl |
| slither_sim-0.8.1-cp311-abi3-macosx_10_12_x86_64.whl | CPython 3.11 | abi3 | macOS 10.12+ x86-64 | Details for slither_sim-0.8.1-cp311-abi3-macosx_10_12_x86_64.whl |
Total release size: 4.9 MB
Release files / slither_sim-0.8.1.tar.gz
| Download URL | slither_sim-0.8.1.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb3fc4d157f7b6a5022928ebcd6c27a37b24960f3b7ed5251daa1d897b1d4852
|
|
BLAKE2b-256 checksum How to use checksums |
3c6a4113958bee1212503ace09c9f0f761bf1ceca13a66c9c6dea527c93b91c1
|
| 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 29, 2026.
Transparency logRelease files / slither_sim-0.8.1-cp311-abi3-win_amd64.whl
| Download URL | slither_sim-0.8.1-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 610.0 kB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f6418cd2ce282eb2564712d816cbc03ccb9d05e80ac936b447d97add5cd86b0a
|
|
BLAKE2b-256 checksum How to use checksums |
229bd96df0065e20d503b4f9eb447548c4f4e6cc65bc297e7ff2e78e9e0f7b84
|
| 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 29, 2026.
Transparency logRelease files / slither_sim-0.8.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | slither_sim-0.8.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 737.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
4dfffdbe0342f1e8df7aa4bdad9ba7ccd4aa49fefbd3891292a4145da52ab7eb
|
|
BLAKE2b-256 checksum How to use checksums |
97709c56f89a5a33c75dfa4d3e9e8514e6560650e895f126fd8c162addc95591
|
| 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 29, 2026.
Transparency logRelease files / slither_sim-0.8.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | slither_sim-0.8.1-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 |
a5a419e12cefdd9ac6b7bb4fc7f358d291e02bc46776c4a231fd419c29fc40b8
|
|
BLAKE2b-256 checksum How to use checksums |
676c0a21bdd3799682f0f891d610e510b0f9de65af57e2eae7a8042da9d02bc8
|
| 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 29, 2026.
Transparency logRelease files / slither_sim-0.8.1-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | slither_sim-0.8.1-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 656.1 kB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
05d4a2be7e0146570e1344c0ecfa0b599ee8cba378115df59b78e332fc25bbc3
|
|
BLAKE2b-256 checksum How to use checksums |
b404314c48d8fb4f204587f9cf5bf289f19840cc2c10f8f73f45301f36af12b7
|
| 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 29, 2026.
Transparency logRelease files / slither_sim-0.8.1-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | slither_sim-0.8.1-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 |
27e84e675bdfe3a5c7e0458e04d769676cd0f9e14b002c7efec3a291b88ef99c
|
|
BLAKE2b-256 checksum How to use checksums |
de9fbbfd55bb0bf2c8c076cb952eaac0c6b3c2f45f4355d04713ddb991405796
|
| 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 29, 2026.
Transparency logSecurity for slither-sim 0.8.1
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.
Attestation for slither_sim-0.8.1.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 29, 2026.
Transparency logA 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.