Skip to main content

A synchronous and sans-I/O library implementing the A2S Valve Source Query protocol.

Project description

little-a2s

A synchronous and sans-I/O library implementing the A2S Valve Source Query protocol.

from little_a2s import A2S

with A2S.from_addr("example.com", 27015, timeout=1) as a2s:
    print(a2s.info())
    print(a2s.players())
    print(a2s.rules())

Installation

This project requires Python 3.11 or newer.

$ python3 -m venv
$ .venv/bin/activate
(.venv) $ pip install little-a2s

Usage

For now, see the examples directory for basic usage or the documentation for a complete API reference.

License

This project is written under the MIT License.

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

little_a2s-0.2.1.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

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

little_a2s-0.2.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file little_a2s-0.2.1.tar.gz.

File metadata

  • Download URL: little_a2s-0.2.1.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for little_a2s-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8f46c81f765504525724abd192916fcca7d2786a73c641c473245b38b5b23c91
MD5 1ec6831fbbd2096d6a6f7bb074b2eaf5
BLAKE2b-256 cf2a42e7a95551b83e062ee36acc84735fb4af458d7581fc8040f830dd08efa3

See more details on using hashes here.

Provenance

The following attestation bundles were made for little_a2s-0.2.1.tar.gz:

Publisher: publish.yml on thegamecracks/little-a2s

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

File details

Details for the file little_a2s-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: little_a2s-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for little_a2s-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ed4917cc4ca5773d6062a01922e8da99cc1f694d7707177f8dadc6dcc263262
MD5 13e7f642fee8e6781eeaccfd4c9621be
BLAKE2b-256 450353acf11c796678a0dd553074f5f3384e2330b0e054386a660930080de766

See more details on using hashes here.

Provenance

The following attestation bundles were made for little_a2s-0.2.1-py3-none-any.whl:

Publisher: publish.yml on thegamecracks/little-a2s

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