Skip to main content

SA:MP 0.3.7 headless client library

Project description

CI PyPI Python

pyraksamp

SA:MP 0.3.7 headless client library for Python.

Install

pip install pyraksamp

Example

import asyncio
import pyraksamp

async def main():
    bot = pyraksamp.SAMPBot("play.example.com", 7777, "MyBot")

    @bot.on_chat()
    async def on_chat(msg):
        if "hello" in msg.text.stripped.lower():
            bot.send_chat("hi!")

    await bot.start()
    await bot.run_until_disconnected()

asyncio.run(main())

Docs

https://bulatovv.github.io/pyraksamp/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyraksamp-0.1.8.tar.gz (137.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyraksamp-0.1.8-cp37-abi3-win_amd64.whl (359.1 kB view details)

Uploaded CPython 3.7+Windows x86-64

pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (423.3 kB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ x86-64

pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (404.1 kB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

pyraksamp-0.1.8-cp37-abi3-macosx_11_0_arm64.whl (388.0 kB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

pyraksamp-0.1.8-cp37-abi3-macosx_10_12_x86_64.whl (409.7 kB view details)

Uploaded CPython 3.7+macOS 10.12+ x86-64

File details

Details for the file pyraksamp-0.1.8.tar.gz.

File metadata

  • Download URL: pyraksamp-0.1.8.tar.gz
  • Upload date:
  • Size: 137.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyraksamp-0.1.8.tar.gz
Algorithm Hash digest
SHA256 0871dc9f1cc53195e4c5e4c5d005423edd8a029391f32427d32b93a1a945faaf
MD5 ebd52428061bd6d7041b44fe7dd58666
BLAKE2b-256 89aa9a1d7ada47f5b75109813b353a261877880e932a5e0899ec9c0a010f4eb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.8.tar.gz:

Publisher: release.yml on bulatovv/pyraksamp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyraksamp-0.1.8-cp37-abi3-win_amd64.whl.

File metadata

  • Download URL: pyraksamp-0.1.8-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 359.1 kB
  • Tags: CPython 3.7+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyraksamp-0.1.8-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f5e39ebcc3e8fad2788b0013da68d4dbe09df850990a228a6e57cd365821e0c0
MD5 afc4893358627a08e469e910297769c1
BLAKE2b-256 9da061196b90641e2ae87986cbc74bb3be49c08273c8a37e385f826b05ee1040

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.8-cp37-abi3-win_amd64.whl:

Publisher: release.yml on bulatovv/pyraksamp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ce99df9e3809cb6847fe6e1f6a76d4ca809d4bab0ad36ef5b5c924c709dcb1f
MD5 e08031b4312f59bc925c16a37c2be9d5
BLAKE2b-256 d40575af84203d530e26ee6a5b33cb85f2a02190e94753980a473c1e426af0a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on bulatovv/pyraksamp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8764bed139ab786394c69e36c82f8b9165dd85232a2fcf96739bd8d71eaa2f97
MD5 e26321d0ea497f4cdcaabe011274fdba
BLAKE2b-256 d9b369ac632a60d917e97daca35e09360c260a9197951ab31ff640388b6949c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.8-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on bulatovv/pyraksamp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyraksamp-0.1.8-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.8-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 91fae50493ae9c0a5b414fa66615a0285ac49368d58811348343b446debfffaf
MD5 8a1c0168d6e51f3365be00c6c2685e29
BLAKE2b-256 1eb8e27e4206f9436b455fbc2a0989aaa789bcaefd6a8a84df38056bdbdcf770

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.8-cp37-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on bulatovv/pyraksamp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyraksamp-0.1.8-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.8-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 bc6475661214090133115c650cffdf76c21822cae554bfa8bfb0a2de4ea0cd45
MD5 d0323e665b81c1a77befc6bd7d779227
BLAKE2b-256 fab4fb050a62a738084be00be15c7dc657b33d81ea94d85ab5aeaf917519e32e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.8-cp37-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on bulatovv/pyraksamp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page