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.9.tar.gz (137.3 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.9-cp37-abi3-win_amd64.whl (359.5 kB view details)

Uploaded CPython 3.7+Windows x86-64

pyraksamp-0.1.9-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (424.4 kB view details)

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

pyraksamp-0.1.9-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (404.6 kB view details)

Uploaded CPython 3.7+manylinux: glibc 2.17+ ARM64

pyraksamp-0.1.9-cp37-abi3-macosx_11_0_arm64.whl (387.4 kB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

pyraksamp-0.1.9-cp37-abi3-macosx_10_12_x86_64.whl (409.1 kB view details)

Uploaded CPython 3.7+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for pyraksamp-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d29218ff46081fb6e829eb7911f226c2149f97832937b4e0c7746407cb9ef21b
MD5 3662fc5d0ff98b38cde68a3a8bd473ee
BLAKE2b-256 444468672d6701da32af293d0c80786f7ce1faa9844e8a1be099b28fbc627786

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for pyraksamp-0.1.9-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 42f424eaec959b393bf5e95f7d154fcd29d41496e912088c364a341a5a40b6ec
MD5 a4023266ff03d80d51afb50b1dcbc50f
BLAKE2b-256 da8ff9f85445c11de0b899c7963e5bb72497bf745456667c9b5827a271025c13

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.9-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 90832ff3e5f833b6e26defaad9fe034bbcc3feeaf9cc55e130b030904bcbc3be
MD5 3a5bfcceb51af0c5a7b96de851d1342f
BLAKE2b-256 3c87c5828635e578841b2a6998e16735550c169e2aea9fa59ec6874460b3db86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.9-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 03e6f01ec35992ce24f44945b5b0c05c32283b282fa95cc6979f16f51a26ea45
MD5 c257dec1f3bcf3081cf19380710b90bf
BLAKE2b-256 7473ec247c3590d76034c0a2d77b849c17d4b2c1e21193101f4248d0f8a5982c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.9-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d669824bd7d1e88736c64d1ad43385010ddd42bc99dc084d8791bffff24e419
MD5 676cfdd344f4eb34821936070b6edb1c
BLAKE2b-256 0f9c23d4023bf472dc7d1400117728bf5e39e1a89ef131f922085c892a3a1f83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.9-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 46daf0f956b931c3cc3f2df8e4ed6d4eb09d46e9c24c4a85184d70427e4c6dea
MD5 a4ae376a0d18d718b377b9afca00c839
BLAKE2b-256 0e724d6b1fcbbbe638fa233732b5b05c05977d51228586e0503d8c8b933d0205

See more details on using hashes here.

Provenance

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