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.11.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.11.0
File Size Uploaded Provenance Actions
slither_sim-0.11.0.tar.gz 1.7 MB With provenance Details for slither_sim-0.11.0.tar.gz

Built distributions (wheels)

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

Total release size: 5.3 MB

Release files / slither_sim-0.11.0.tar.gz

Download URL slither_sim-0.11.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
51f8f7fbaf1a1b5e3d1840fdcebe67e39d501bbc94185e67f48af3d3ccc7602f
BLAKE2b-256 checksum
How to use checksums
34b83101128f8dfb99c772af1604b9b423b0b69bfff03b464358e84da6a5d520
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 6, 2026.

Transparency log

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

Download URL slither_sim-0.11.0-cp311-abi3-win_amd64.whl
Size 658.3 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
0d31e8f54ec231beba56ed9b7cadfedd88cd622b8d2c7eb1dc44f520a14efd8e
BLAKE2b-256 checksum
How to use checksums
0bc56a064c1387fe40d9c33514c49cffab395019486fb59ed2e17f5af99cc7a2
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 6, 2026.

Transparency log

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

Download URL slither_sim-0.11.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 786.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
54a861f7454330a2acfd18342c13c2164acdd7570dd5d173a2cac5e7489c45bf
BLAKE2b-256 checksum
How to use checksums
18961a0db9d8acce7e71a635e307c874f50616227019108a85f9b9befc3955b4
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 6, 2026.

Transparency log

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

Download URL slither_sim-0.11.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
c497eeafdcc502bfc3ccd399053b2c49f248d7c51b067bd7cdb04773ee7ed468
BLAKE2b-256 checksum
How to use checksums
3744d6b8213def36ca1afcb2a46968edb38c21aea994b8e42bc3d7af28e01fe1
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 6, 2026.

Transparency log

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

Download URL slither_sim-0.11.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
31dbda0f677d24bc2b0926b0b5c9b8637eab41cf3146ba843e8707ed0c805d72
BLAKE2b-256 checksum
How to use checksums
d40a3263a0c25de142d940e4414c6d9d466648808a7f780b9ec669b3f612e7c5
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 6, 2026.

Transparency log

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

Download URL slither_sim-0.11.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
918d104828f55a9a4cc4d0b53018c57948eb067936e959821388f5fc155b651d
BLAKE2b-256 checksum
How to use checksums
78f73a39ee588202b25d3de5e9646267c99cb94a86cee98044871813b0c4de98
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 6, 2026.

Transparency log

Security for slither-sim 0.11.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.11.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 6, 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