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.6.tar.gz (136.2 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.6-cp37-abi3-win_amd64.whl (356.1 kB view details)

Uploaded CPython 3.7+Windows x86-64

pyraksamp-0.1.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (422.2 kB view details)

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

pyraksamp-0.1.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (402.4 kB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

pyraksamp-0.1.6-cp37-abi3-macosx_11_0_arm64.whl (385.9 kB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

pyraksamp-0.1.6-cp37-abi3-macosx_10_12_x86_64.whl (407.5 kB view details)

Uploaded CPython 3.7+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: pyraksamp-0.1.6.tar.gz
  • Upload date:
  • Size: 136.2 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.6.tar.gz
Algorithm Hash digest
SHA256 4f0082ac4ee7c1ee3e10dfe514eab783fb5380d07329759519c046908eae7d5b
MD5 fe12d650f409982b0bfe956aea056729
BLAKE2b-256 50417cf630a420af184e8ebbf265e5073ba9be6f88a4f1412c4d8ea6812e6aec

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.6.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.6-cp37-abi3-win_amd64.whl.

File metadata

  • Download URL: pyraksamp-0.1.6-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 356.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.6-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 373631824b020d0853b617122d74944b598dd4a30c7df01ce6dc14a32267df83
MD5 10688907d9bfbe262cd5ffa33d5eafce
BLAKE2b-256 e628473389b30554fbde973707d68ae94e288be89b8988e885576ae5b68ebc5d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.6-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.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.6-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d556c851a3a99d0dae3dded56bd3eec3929ea917ac630631a60b11909c342e24
MD5 a6f49e875d30d019bb698b15e97cf1f7
BLAKE2b-256 04d698c060192f482239c608a8c941dd5a0ead6b2f7471647471554c5db24426

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.6-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.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.6-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ee4a9e9f36539d20b6e200ceb1d9425a29faa454989db23ba5ad4a1e6c717338
MD5 c5f701da4ecd83b259e4f66be5af3658
BLAKE2b-256 e1f78567b0bfd6bc634bd38a86db144aef35cc4515f483b50bd942e3d7cc9881

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.6-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.6-cp37-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.6-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a0b5a08dd6871127c4d8c672a599215af7313d232ed937b31e2cf79e04486bb
MD5 da453ad9f921409ba67bdab686cbaa81
BLAKE2b-256 35afe313c60868d167f00451b4f43176c2fa256d128f9ea79972a527d49ebe12

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.6-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.6-cp37-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pyraksamp-0.1.6-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f6e70a0241d14b2fd4811793dfe5dc820d16cd9a2a7c51502642275ca2500c3b
MD5 9a82e2871406b7571c42e6d41e9b2f93
BLAKE2b-256 bf67ce9483f3a5c7133ab564c00df71b5fba86e9c0a06a9e4cdd39f12efe210b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyraksamp-0.1.6-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