Skip to main content

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

arma3query-1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

arma3query-1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file arma3query-1.1.tar.gz.

File metadata

  • Download URL: arma3query-1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for arma3query-1.1.tar.gz
Algorithm Hash digest
SHA256 b3a44d14bc9cfc827608010d69e853b22dfda9301cc9522ec265a657af7dcbc4
MD5 52a15ebfaed59e57e24629a38a4703df
BLAKE2b-256 247bad08369b5352bc068060a28a98bceec6f379365938e458287001e28c5a4e

See more details on using hashes here.

File details

Details for the file arma3query-1.1-py3-none-any.whl.

File metadata

  • Download URL: arma3query-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for arma3query-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 947014e3c82776b66ac61921b8f31f04469b9c3e4d9182e430873a591d64f5da
MD5 a8cd49935c651fa3dfbbad68f5ce4d99
BLAKE2b-256 57b10fbe1903745cfa70c315d093dac4d245dbf203c18c0efe46ecc0925d3e74

See more details on using hashes here.

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