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

Uploaded CPython 3.7+Windows x86-64

pyraksamp-0.1.7-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.7-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.7-cp37-abi3-macosx_11_0_arm64.whl (387.8 kB view details)

Uploaded CPython 3.7+macOS 11.0+ ARM64

pyraksamp-0.1.7-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.7.tar.gz.

File metadata

  • Download URL: pyraksamp-0.1.7.tar.gz
  • Upload date:
  • Size: 136.8 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.7.tar.gz
Algorithm Hash digest
SHA256 35e7945016865e3fd6c3c2ecb63bc2de1107553eaeaab21c7c0b8ee588fc0455
MD5 afe27e4cc596df1849b8da9276289d69
BLAKE2b-256 52de13120173373cafde4f5e1bc54d601283856c016e06303988f302a1005eea

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyraksamp-0.1.7-cp37-abi3-win_amd64.whl
  • Upload date:
  • Size: 359.2 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.7-cp37-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d58f957e218b000f684768887b38340c5b910f57229dc8067e66f92ecd580cc1
MD5 3df266b916913093503013cc6d453ba7
BLAKE2b-256 0a46bb32b09eab08385152cf1cb961543581ad3c102964d21b2a42239b7c60c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.7-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 562b103c5c7a2d68f142ec5dfb1f6e793220cbb6959e2542386c2d8b7e5c76d1
MD5 82006f456cc1de641809e1397a41703a
BLAKE2b-256 fa6a975d312812b3feded22dbd11d8ae1db1776ae6a814548f4902c30e80f06d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.7-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 31c3904100e6bee9b5d25fe46ca41fead01daf4daa62f434ee481d829c8f4b1b
MD5 ca72d12decc1a1651ca9eb6d8698e5d4
BLAKE2b-256 755a267354d5cf242f0959c31a3474e28f8ed11898953e0745cd024f43be115a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.7-cp37-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 415e978df75e975fd033cb765c85d65e0066c901a03f89df4e49ed13e4920bf0
MD5 71b95becf52c768ea3c5eeaf1307e83d
BLAKE2b-256 447e38b13571367717932806d79d496db35e10ccd7c5d68a251510e2c31029f0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyraksamp-0.1.7-cp37-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 6126ecf9f72c3f5d85ca1e2c9f381f7cb4d0489e309d368ecc0897d757dbbfed
MD5 606b17f73002c8e9cdfa303f7ae4ba5a
BLAKE2b-256 13866f2c447c88c1e3b42be77982cc4c84366a225a7486b1d581f4768ab14b70

See more details on using hashes here.

Provenance

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