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.2a1.tar.gz
(3.5 kB
view hashes)
Built Distributions
Close
Hashes for pygamemode-0.1.2a1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd641f8614fae66dc52f680617e5fae0da51393b0fd2795740b48e560176cc49 |
|
MD5 | 8e9fab14f13ca75328307bceea06786d |
|
BLAKE2b-256 | 7257f9c32664a2ca511849cf587f7e44d4963ad83641ac61472faf802f22c19e |
Close
Hashes for pygamemode-0.1.2a1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72a4e1dd26f195ab0f045d7e5bf1ec7306ff095b97b33868695c7ccf24efca86 |
|
MD5 | 90c2c4ac56e6b70f077234331d0217bd |
|
BLAKE2b-256 | 07ab6d7ef4355fc9c05418ee2937af2946bfe0a349e5d9d8f72c5ea3617631dc |
Close
Hashes for pygamemode-0.1.2a1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fc3f036b327be1f4668cbf479acbb2795a967aabd21dfbbab26a6e4b6308249 |
|
MD5 | c0000924a1789f836c119af9a9f9c8c3 |
|
BLAKE2b-256 | 8186865210190706967854594428bf89add84f2f395443e569df55fe42d43899 |
Close
Hashes for pygamemode-0.1.2a1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623015ab1ba4eb1eccc7345fb62d1fc3beb33b66e4a3d5448ba29f667e73d4e3 |
|
MD5 | 9f6b596c38481dafa292c3119bc70c19 |
|
BLAKE2b-256 | d3851156c35c60466102769fb7fde6866c3b5e27b77d2b4f39998e74d2e14e65 |
Close
Hashes for pygamemode-0.1.2a1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9f716fbf8d6be7c3ff0b1036249be65e9339654ee2c6317d083402721b4c7e2 |
|
MD5 | c82ff218943a2b2c7beb03050d2ca13a |
|
BLAKE2b-256 | 86249962d84f10d7b11296c31b32073c14ca79bea07cfc5d0804988a29798558 |