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.
Metadata
Release files for pygamemode 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygamemode-0.1.2.tar.gz | 3.5 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pygamemode-0.1.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl | CPython 3.6 | abi3 | Linux glibc 2.17+ IBM System/390x | Details |
| pygamemode-0.1.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl | CPython 3.6 | abi3 | Linux glibc 2.17+ PowerPC 64-le | Details |
| pygamemode-0.1.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.6 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| pygamemode-0.1.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl | CPython 3.6 | abi3 | Linux glibc 2.12+ x86-64, Linux glibc 2.5+ x86-64 | Details |
| pygamemode-0.1.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl | CPython 3.6 | abi3 | Linux glibc 2.12+ x86-32, Linux glibc 2.5+ x86-32 | Details |
Total release size: 42.6 kB
Release files / pygamemode-0.1.2.tar.gz
| Download URL | pygamemode-0.1.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38d895440b7bff91316df2f2f02a14be6500e677b792fdfd1c8d148802d69247
|
|
BLAKE2b-256 checksum How to use checksums |
ed8e2620d9c913e8c696f1c9d948c6c34ebb67b14589f8de0f5577f55204086b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pygamemode-0.1.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
| Download URL | pygamemode-0.1.2-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl |
|---|---|
| Size | 7.3 kB |
| Tags | CPython 3.6 Linux glibc 2.17+ IBM System/390x abi3 |
|
SHA-256 checksum How to use checksums |
134acfc3799dfe0cd5ec2029c812e357c223ee401f2f88d1f416f0ff74447441
|
|
BLAKE2b-256 checksum How to use checksums |
f62c9787554272df28d59248a124b358ec8ad2bbaf57e5baabfb1b703d80f924
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pygamemode-0.1.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
| Download URL | pygamemode-0.1.2-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl |
|---|---|
| Size | 8.1 kB |
| Tags | CPython 3.6 Linux glibc 2.17+ PowerPC 64-le abi3 |
|
SHA-256 checksum How to use checksums |
1c11fe79dbc1ba9a8108b76ba2ff5c76229b653a55f2012b2a52bb82b365e943
|
|
BLAKE2b-256 checksum How to use checksums |
5810c179def34684de7829cc83d82134b5380a1da41b8ca11eb366e6dbb7db2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pygamemode-0.1.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | pygamemode-0.1.2-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 7.9 kB |
| Tags | CPython 3.6 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
92cc4364e7c03f6b5cd9263d42a4093e8e7d505ab388bd33b85ecb5a83118f60
|
|
BLAKE2b-256 checksum How to use checksums |
15a3c9c8261120c8ba26c4f664cd695b22aa08b41c18f3a5378462a04576e5c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pygamemode-0.1.2-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl
| 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 |
|---|---|
| Size | 8.2 kB |
| Tags | CPython 3.6 Linux glibc 2.12+ x86-64 Linux glibc 2.5+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
143b81d285119960ee7b29a0a89c4372d8c6830eb75d29192755fd73ac334be6
|
|
BLAKE2b-256 checksum How to use checksums |
2947aaf3b2db054758be4939bd414c7b05da0562a88eea8666a65b5ded62a3ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pygamemode-0.1.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl
| Download URL | pygamemode-0.1.2-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl |
|---|---|
| Size | 7.5 kB |
| Tags | CPython 3.6 Linux glibc 2.12+ x86-32 Linux glibc 2.5+ x86-32 abi3 |
|
SHA-256 checksum How to use checksums |
55e5265c008afbdbf1481becdeedf1557c974d75d23653958b9adfee624847d0
|
|
BLAKE2b-256 checksum How to use checksums |
5257543a576c8bed17e6e40d0a16031ea4d8aa6f4ed756a60f72e63d07a7a468
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|