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.14.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.14.0
File Size Uploaded Provenance Actions
slither_sim-0.14.0.tar.gz 1.7 MB With provenance Details for slither_sim-0.14.0.tar.gz

Built distributions (wheels)

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

Total release size: 5.4 MB

Release files / slither_sim-0.14.0.tar.gz

Download URL slither_sim-0.14.0.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
af19eea8a4ae2e0fd9ad48af4cfce62f2e90c385b2a6fa7865f7cc2b06c99897
BLAKE2b-256 checksum
How to use checksums
95cc55a635ca25223aeb37c2079bc98cfebdecc0f020f8b31bf619262d9e13e7
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 14, 2026.

Transparency log

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

Download URL slither_sim-0.14.0-cp311-abi3-win_amd64.whl
Size 665.5 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
2d72cd26bcb457f0ac717cb3b72b106fbd20c59bef11fc5b4bb59a1cbd182981
BLAKE2b-256 checksum
How to use checksums
a90094269d3b92a01c6efc39dc775c7ff02aa79ae4dd38d19dc58ba40d2577cd
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 14, 2026.

Transparency log

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

Download URL slither_sim-0.14.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 788.2 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
19272c04c1c36fc3bedd7d2649095b0331c54897a4fc74ac1e7405ed19fcbeeb
BLAKE2b-256 checksum
How to use checksums
8e396a0e9d6e329e648c9ea27e98d079f191f495381cf6e2c3e920b36dfaaa10
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 14, 2026.

Transparency log

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

Download URL slither_sim-0.14.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 752.5 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8b431c8a2ece4121170a0273da49fdecc86a9a793c7d613875bc105a995cc0f4
BLAKE2b-256 checksum
How to use checksums
664f3e59d075f1604e5760037be4c1faa1e8c23038ff5de163a1c0adbe9b3283
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 14, 2026.

Transparency log

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

Download URL slither_sim-0.14.0-cp311-abi3-macosx_11_0_arm64.whl
Size 703.5 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
795dc75fd241c7ab7ea079aee30b29be1ab2a39103bf308562da690e51ac3387
BLAKE2b-256 checksum
How to use checksums
3ca6bafad6e569bb036bfce2a3b5fd63082dd3fbe7f535e6f9e9dee62e6b3beb
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 14, 2026.

Transparency log

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

Download URL slither_sim-0.14.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 738.0 kB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
d5ba47b1d7dc80ab9dac77f344b47af7ce59568a50b618c7e4aba9bc2aa02c5c
BLAKE2b-256 checksum
How to use checksums
80a16af3444dc694d43647090a95576b0a914aefa4e04341d7f06d1c6922a069
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 14, 2026.

Transparency log

Security for slither-sim 0.14.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.14.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 14, 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