A Python wrapper for the GameMode client API.
Project description
A Python wrapper for the GameMode client API (https://github.com/FeralInteractive/gamemode).
To use this effectively, you'll need to install GameMode on your system. See either your system's package manager or the build instructions here.
Example usage:
import gamemode as gm
if gm.request_start() != 0:
msg = gm.error_string()
raise ValueError('Failed to request gamemode start: {}...'.format(msg))
# ...do things here...
if gm.request_end() != 0:
msg = gm.error_string()
raise ValueError('Failed to request gamemode end: {}...'.format(msg))
See test.py for all available calls.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pygamemode-0.1.1.tar.gz
(3.5 kB
view hashes)
Built Distributions
Close
Hashes for pygamemode-0.1.1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af374c21adbab2e298c5a5672c3fb5b1c26463141540ef342bb76ab17e376377 |
|
MD5 | 2cef639ff3d8d4220352c3f85c4f385f |
|
BLAKE2b-256 | 334ea215d01d84d0c49ff791f3e921fdc25c7e4b688bbdbec8d0d3be9ef6f685 |
Close
Hashes for pygamemode-0.1.1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6888aad980a9eed737fb866ad98558e56677fd5b323f6f8c2bd90ab9ea5d6215 |
|
MD5 | 44dac62b9520923cb816119640e2ea66 |
|
BLAKE2b-256 | 2535d75d1a9a898deb71281b1a81e369067cb5a711e391e2034b513a4e72267f |
Close
Hashes for pygamemode-0.1.1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1fb577350c4fe0672c882a7eba4400032c8535e264f9b905a4448b36dd61969 |
|
MD5 | 76d03d26c1314326b1fefa31fb1c00fa |
|
BLAKE2b-256 | dc9056c64d751fac12b9b879dee11718476bf32f2b60fce10faa5af59ea226df |
Close
Hashes for pygamemode-0.1.1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dee083cdc562dafa9c35442b443c13ad952bcb96b8edb6b513daa0b735ef68e |
|
MD5 | f18db95bc84b91ca671c4a3201f2028e |
|
BLAKE2b-256 | 49e6216406697aed71e686aa0b89e02472b0a754747b2d8d3fc7617a3ef84b83 |
Close
Hashes for pygamemode-0.1.1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 982b7d152ce833f58353212634c386c03433dc20791897b328c7b8016abbf3f2 |
|
MD5 | 23627afffca914a3deadbba91e618caa |
|
BLAKE2b-256 | ebee9c8ae3ecf8f75a7cea02848a33e84365a330d1467a50fe73a7bd68edbcaf |