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.2.tar.gz
(3.5 kB
view hashes)
Built Distributions
Close
Hashes for pygamemode-0.1.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 134acfc3799dfe0cd5ec2029c812e357c223ee401f2f88d1f416f0ff74447441 |
|
MD5 | 889e21e3865e260084d8a57eae9f027e |
|
BLAKE2b-256 | f62c9787554272df28d59248a124b358ec8ad2bbaf57e5baabfb1b703d80f924 |
Close
Hashes for pygamemode-0.1.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c11fe79dbc1ba9a8108b76ba2ff5c76229b653a55f2012b2a52bb82b365e943 |
|
MD5 | a53e9a9f5272b45395df58ded1c39536 |
|
BLAKE2b-256 | 5810c179def34684de7829cc83d82134b5380a1da41b8ca11eb366e6dbb7db2f |
Close
Hashes for pygamemode-0.1.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92cc4364e7c03f6b5cd9263d42a4093e8e7d505ab388bd33b85ecb5a83118f60 |
|
MD5 | b6c389dfef6444b090738472e06e2f7d |
|
BLAKE2b-256 | 15a3c9c8261120c8ba26c4f664cd695b22aa08b41c18f3a5378462a04576e5c9 |
Close
Hashes for pygamemode-0.1.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 143b81d285119960ee7b29a0a89c4372d8c6830eb75d29192755fd73ac334be6 |
|
MD5 | c33484a5228319dd8194e140d516cda9 |
|
BLAKE2b-256 | 2947aaf3b2db054758be4939bd414c7b05da0562a88eea8666a65b5ded62a3ce |
Close
Hashes for pygamemode-0.1.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55e5265c008afbdbf1481becdeedf1557c974d75d23653958b9adfee624847d0 |
|
MD5 | 9351e4b4cec7e3698e74f9693140fb59 |
|
BLAKE2b-256 | 5257543a576c8bed17e6e40d0a16031ea4d8aa6f4ed756a60f72e63d07a7a468 |