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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygamemode-0.1.2.tar.gz.
File metadata
- Download URL: pygamemode-0.1.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38d895440b7bff91316df2f2f02a14be6500e677b792fdfd1c8d148802d69247
|
|
| MD5 |
09f7543254c59cbf5419b556133e4ee7
|
|
| BLAKE2b-256 |
ed8e2620d9c913e8c696f1c9d948c6c34ebb67b14589f8de0f5577f55204086b
|
File details
Details for the file pygamemode-0.1.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: pygamemode-0.1.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 7.3 kB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
134acfc3799dfe0cd5ec2029c812e357c223ee401f2f88d1f416f0ff74447441
|
|
| MD5 |
889e21e3865e260084d8a57eae9f027e
|
|
| BLAKE2b-256 |
f62c9787554272df28d59248a124b358ec8ad2bbaf57e5baabfb1b703d80f924
|
File details
Details for the file pygamemode-0.1.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: pygamemode-0.1.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 8.1 kB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c11fe79dbc1ba9a8108b76ba2ff5c76229b653a55f2012b2a52bb82b365e943
|
|
| MD5 |
a53e9a9f5272b45395df58ded1c39536
|
|
| BLAKE2b-256 |
5810c179def34684de7829cc83d82134b5380a1da41b8ca11eb366e6dbb7db2f
|
File details
Details for the file pygamemode-0.1.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: pygamemode-0.1.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 7.9 kB
- Tags: CPython 3.6+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92cc4364e7c03f6b5cd9263d42a4093e8e7d505ab388bd33b85ecb5a83118f60
|
|
| MD5 |
b6c389dfef6444b090738472e06e2f7d
|
|
| BLAKE2b-256 |
15a3c9c8261120c8ba26c4f664cd695b22aa08b41c18f3a5378462a04576e5c9
|
File details
Details for the file pygamemode-0.1.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl.
File metadata
- Download URL: pygamemode-0.1.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
- Upload date:
- Size: 8.2 kB
- Tags: CPython 3.6+, manylinux: glibc 2.12+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
143b81d285119960ee7b29a0a89c4372d8c6830eb75d29192755fd73ac334be6
|
|
| MD5 |
c33484a5228319dd8194e140d516cda9
|
|
| BLAKE2b-256 |
2947aaf3b2db054758be4939bd414c7b05da0562a88eea8666a65b5ded62a3ce
|
File details
Details for the file pygamemode-0.1.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl.
File metadata
- Download URL: pygamemode-0.1.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
- Upload date:
- Size: 7.5 kB
- Tags: CPython 3.6+, manylinux: glibc 2.12+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.7.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55e5265c008afbdbf1481becdeedf1557c974d75d23653958b9adfee624847d0
|
|
| MD5 |
9351e4b4cec7e3698e74f9693140fb59
|
|
| BLAKE2b-256 |
5257543a576c8bed17e6e40d0a16031ea4d8aa6f4ed756a60f72e63d07a7a468
|