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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
497b4cbb27ca3ca854bb578d3406790b76f8f69ad9af8026b51670052d26daef
|
|
| MD5 |
8ea4434b5a97295ae3c96dae102a1ad0
|
|
| BLAKE2b-256 |
30a906d2e67e18c1327a8cabbb159d76ce3980bbf95c2ec50f68ad630406347a
|
Provenance
The following attestation bundles were made for little_a2s-0.2.0.tar.gz:
Publisher:
publish.yml on thegamecracks/little-a2s
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
little_a2s-0.2.0.tar.gz -
Subject digest:
497b4cbb27ca3ca854bb578d3406790b76f8f69ad9af8026b51670052d26daef - Sigstore transparency entry: 674867619
- Sigstore integration time:
-
Permalink:
thegamecracks/little-a2s@13167a7ec72a29b46c53e364020b73a5a00d6205 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/thegamecracks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@13167a7ec72a29b46c53e364020b73a5a00d6205 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ec2416302dc2f68349106c880a6aae03c805854163e7dd2e10aaeb52b71ca0a
|
|
| MD5 |
78186768ba86c098cba3465a2d88ce72
|
|
| BLAKE2b-256 |
3d7fe95e115982bbda7ea4f749a229da1bdfcf28ef42fda0df1f1f924710ed5a
|
Provenance
The following attestation bundles were made for little_a2s-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on thegamecracks/little-a2s
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
little_a2s-0.2.0-py3-none-any.whl -
Subject digest:
1ec2416302dc2f68349106c880a6aae03c805854163e7dd2e10aaeb52b71ca0a - Sigstore transparency entry: 674867623
- Sigstore integration time:
-
Permalink:
thegamecracks/little-a2s@13167a7ec72a29b46c53e364020b73a5a00d6205 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/thegamecracks
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@13167a7ec72a29b46c53e364020b73a5a00d6205 -
Trigger Event:
workflow_dispatch
-
Statement type: