Small module to decode the Arma 3 rules binary response.
Project description
arma3query
Small Python module to decode the Arma 3 rules binary response.
Requirements
Python >= 3.10, python-a2s
Install
pip3 install arma3query
API
Functions
arma3query.arma3rules(address, timeout=DEFAULT_TIMEOUT, encoding=DEFAULT_ENCODING)async arma3query.arma3rules_async(address, timeout=DEFAULT_TIMEOUT, encoding=DEFAULT_ENCODING)arma3query._parse_rules_data(rules_resp, encoding=DEFAULT_ENCODING)
_parse_rules_data decodes a a2s.rules(encoding=None) response, the other functions work just like their a2s counterpart.
Return Values
All functions return an ArmaRules instance. Some documentation is included in the source file.
Authors
Built by @jishnukarri
Worked on with @Benkol003
License
MIT
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
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 arma3query-1.3.tar.gz.
File metadata
- Download URL: arma3query-1.3.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
407cfd438f0a05cb31f8a9dbb78d8620edcb7f5bc2149bc7e4454fbae981d2a7
|
|
| MD5 |
79c958752141fbce37127ca003d8ca58
|
|
| BLAKE2b-256 |
42e1b998033c1b851c91dc0352fb2edf503ca499067597615381b63079b65745
|
File details
Details for the file arma3query-1.3-py3-none-any.whl.
File metadata
- Download URL: arma3query-1.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b407883da453891aef3787a9f002463abfe09b550968fc1f08b7a3becb074f63
|
|
| MD5 |
31e20e6558a349352d4887e67071cb78
|
|
| BLAKE2b-256 |
d3d4ee3a6c9b659805e1325d1f7cc04e77894ecabada22bbb7a12faf27403deb
|