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.0.tar.gz (11.1 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.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: little_a2s-0.2.0.tar.gz
  • Upload date:
  • Size: 11.1 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.0.tar.gz
Algorithm Hash digest
SHA256 497b4cbb27ca3ca854bb578d3406790b76f8f69ad9af8026b51670052d26daef
MD5 8ea4434b5a97295ae3c96dae102a1ad0
BLAKE2b-256 30a906d2e67e18c1327a8cabbb159d76ce3980bbf95c2ec50f68ad630406347a

See more details on using hashes here.

Provenance

The following attestation bundles were made for little_a2s-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: little_a2s-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ec2416302dc2f68349106c880a6aae03c805854163e7dd2e10aaeb52b71ca0a
MD5 78186768ba86c098cba3465a2d88ce72
BLAKE2b-256 3d7fe95e115982bbda7ea4f749a229da1bdfcf28ef42fda0df1f1f924710ed5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for little_a2s-0.2.0-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