opengsq package
Subpackages
- opengsq.exceptions package
- opengsq.protocols package
- Submodules
- opengsq.protocols.ase module
- opengsq.protocols.battlefield module
- opengsq.protocols.doom3 module
- opengsq.protocols.eos module
- opengsq.protocols.fivem module
- opengsq.protocols.gamespy1 module
- opengsq.protocols.gamespy2 module
- opengsq.protocols.gamespy3 module
- opengsq.protocols.gamespy4 module
- opengsq.protocols.kaillera module
- opengsq.protocols.killingfloor module
- opengsq.protocols.minecraft module
- opengsq.protocols.quake1 module
- opengsq.protocols.quake2 module
- opengsq.protocols.quake3 module
- opengsq.protocols.raknet module
- opengsq.protocols.samp module
- opengsq.protocols.satisfactory module
- opengsq.protocols.scum module
- opengsq.protocols.source module
- opengsq.protocols.teamspeak3 module
- opengsq.protocols.unreal2 module
- opengsq.protocols.vcmp module
- opengsq.protocols.warfork module
- opengsq.protocols.won module
- Module contents
- opengsq.rcon_protocols package
- opengsq.responses package
- Subpackages
- opengsq.responses.ase package
- opengsq.responses.battlefield package
- opengsq.responses.doom3 package
- opengsq.responses.eos package
- opengsq.responses.gamespy1 package
- opengsq.responses.gamespy2 package
- opengsq.responses.kaillera package
- opengsq.responses.killingfloor package
- opengsq.responses.minecraft package
- opengsq.responses.quake1 package
- opengsq.responses.quake2 package
- opengsq.responses.raknet package
- opengsq.responses.samp package
- opengsq.responses.satisfactory package
- opengsq.responses.scum package
- opengsq.responses.source package
- Submodules
- opengsq.responses.source.environment module
- opengsq.responses.source.extra_data_flag module
- opengsq.responses.source.gold_source_info module
- opengsq.responses.source.partial_info module
- opengsq.responses.source.player module
- opengsq.responses.source.server_type module
- opengsq.responses.source.source_info module
- opengsq.responses.source.vac module
- opengsq.responses.source.visibility module
- Module contents
- opengsq.responses.unreal2 package
- opengsq.responses.vcmp package
- opengsq.responses.warfork package
- Module contents
- Subpackages
Submodules
opengsq.binary_reader module
- class opengsq.binary_reader.BinaryReader(data: bytes)
Bases:
object
- remaining_bytes() int
- is_end() bool
- prepend_bytes(data)
- read() bytes
- read_byte() int
- read_bytes(count: int) bytes
- read_short(unsigned=True) int
- read_long(unsigned=False) int
- read_long_long() int
- read_float() float
- read_string(delimiters=[b'\x00'], encoding='utf-8', errors='ignore') str
- read_pascal_string(encoding='utf-8', errors='ignore')
opengsq.cli module
- class opengsq.cli.CLI
Bases:
object
- register(parser: ArgumentParser)
- async run(args: Sequence[str]) str
- opengsq.cli.main()
- async opengsq.cli.main_async()
opengsq.protocol_base module
opengsq.protocol_socket module
- class opengsq.protocol_socket.SocketKind(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
- SOCK_STREAM = 1
- SOCK_DGRAM = 2
- class opengsq.protocol_socket.Socket(kind: SocketKind)
Bases:
object
- async static gethostbyname(hostname: str)
- settimeout(value: float)
- async connect(remote_addr)
- close()
- send(data: bytes)
- async recv() bytes
- class opengsq.protocol_socket.UdpClient
Bases:
Socket
- async static communicate(protocol: ProtocolBase, data: bytes)
- class opengsq.protocol_socket.TcpClient
Bases:
Socket
- async static communicate(protocol: ProtocolBase, data: bytes)
opengsq.version module
Module contents
OpenGSQ Python Library
Python library for querying game servers
- copyright:
2021 BattlefieldDuck
- license:
MIT, see LICENSE for more details.