Version 1 is not compatible with 0.1.0
Index
Install
- Pypi:
pip3 install aiopes - Git:
pip3 install git+https://github.com/WardPearce/aiopes.git
Example
import asyncio
import aiopes
PES = aiopes.client(
api_key="..."
)
async def example():
try:
async for data, server in PES.servers():
print(data.id)
server_target = server
except aiopes.exceptions.InvalidAuthorization:
print("Invalid API Key.")
else:
async for location in PES.locations():
print(location.city)
async for group in PES.mapgroups():
print(group.name)
for map_details in group.maps():
print(map_details.name)
print(await PES.mods())
print(await PES.plugins())
print(await PES.tickrates())
async for gamemode in PES.gamemodes():
print(gamemode.name)
async for file in PES.files():
print(file.name)
if await PES.validate.settings(rcon="new_rcon"):
print("Setting is valid")
loop = asyncio.get_event_loop()
loop.run_until_complete(example())
Metadata
Release files for aiopes 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiopes-1.0.0.tar.gz | 7.2 kB | Without provenance | Details for aiopes-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiopes-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for aiopes-1.0.0-py3-none-any.whl |
Total release size: 30.2 kB
Release files / aiopes-1.0.0.tar.gz
| Download URL | aiopes-1.0.0.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32b9069e72c96101232b69507b27689e0b2b46851cc240ae138baa8509a65c66
|
|
BLAKE2b-256 checksum How to use checksums |
9cdf24e791b401735c2a3d6484b0b8d3888dd24188989061373b1a478e0095dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / aiopes-1.0.0-py3-none-any.whl
| Download URL | aiopes-1.0.0-py3-none-any.whl |
|---|---|
| Size | 23.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0aca29b6fbefb7de823299cbdcf35dd2f1bba91e82d1e4c2613e62780b16178a
|
|
BLAKE2b-256 checksum How to use checksums |
678b08412563d6d4628d2f4f8e20408fc38b05b4b03bc0c0f29e3cf387efbe43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Security for aiopes 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.