Skip to content

Small Python module to decode the DayZ rules binary response.

License

Notifications You must be signed in to change notification settings

Yepoleb/dayzquery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dayzquery

Small Python module to decode the DayZ rules binary response.

Requirements

Python >= 3.9, python-a2s

Install

pip3 install .

API

Functions

  • dayzquery.dayz_rules(address, timeout=DEFAULT_TIMEOUT, encoding=DEFAULT_ENCODING)
  • async dayzquery.dayz_arules(address, timeout=DEFAULT_TIMEOUT, encoding=DEFAULT_ENCODING)
  • dayzquery.dayz_rules_decode(rules_resp, encoding=DEFAULT_ENCODING)

dayz_rules_decode decodes a a2s.rules(encoding=None) response, the other functions work just like their a2s counterpart.

Return Values

All functions return a DayzRules instance. Some documentation is included in the source file.

License

MIT

About

Small Python module to decode the DayZ rules binary response.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages