Browse Source

Update readme and setup files

async
Gabriel Huber 5 years ago
parent
commit
859060f5e3
  1. 5
      README.md
  2. 4
      setup.py

5
README.md

@ -7,7 +7,7 @@ Official demo application: [Sourcequery](https://sourcequery.yepoleb.at)
## Requirements
Python >=3.6, no external dependencies
Python >=3.7, no external dependencies
## Install
@ -21,6 +21,9 @@ Python >=3.6, no external dependencies
* `a2s.players(address, timeout=DEFAULT_TIMEOUT, encoding=DEFAULT_ENCODING)`
* `a2s.rules(address, timeout=DEFAULT_TIMEOUT, encoding=DEFAULT_ENCODING)`
All functions also have an async version as of package 1.2.0 that adds an `a` prefix, e.g.
`ainfo`, `aplayers`, `arules`.
### Parameters
* address: `Tuple[str, int]` - Address of the server.

4
setup.py

@ -7,7 +7,7 @@ with open("README.md", "r") as readme:
setuptools.setup(
name="python-a2s",
version="1.1.5",
version="1.2.0",
author="Gabriel Huber",
author_email="[email protected]",
description="Query Source and GoldSource servers for name, map, players and more.",
@ -23,5 +23,5 @@ setuptools.setup(
"Operating System :: OS Independent",
"Topic :: Games/Entertainment"
],
python_requires=">=3.6"
python_requires=">=3.7"
)

Loading…
Cancel
Save