Skip to main content

A Python wrapper for the GameMode client API.

Project description

Latest PyPI Release Build

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


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)

Uploaded Source

Built Distributions

pygamemode-0.1.2a1-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (7.3 kB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

pygamemode-0.1.2a1-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (8.1 kB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64le

pygamemode-0.1.2a1-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (8.0 kB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

pygamemode-0.1.2a1-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (8.3 kB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.12+ x86-64 manylinux: glibc 2.5+ x86-64

pygamemode-0.1.2a1-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl (7.5 kB view hashes)

Uploaded CPython 3.6+ manylinux: glibc 2.12+ i686 manylinux: glibc 2.5+ i686

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page