Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

GTLibPy is library to make game trainer in Python

Project description


GTLibPy is Game Trainer library/module for Python in windows it provides all the necessary methods to make simple game trainer in windows using WIN32-API with ease. It uses only WIN32-API methods because this is intended to work on Windows system only and not shall be portable or to target other OS like Linux,MAC OS etc.

NOTE : This ain't memory scanning,hooking,analyzing library, it won't provide methods for scanning/signature or dumping RAW memory.

UNDERHOOD WORKING : GTLibPy is actually a wrapper module over GTLibc which actually does all the work beneath,this module just converts Python datatypes,data-structures to C-Type data and passes them to GTLibc library and shows result afterwards. So this has all the features which GTLibc had FindGame,ReadAddress,WriteAddress,SetCheatCodes etc.

AIM : The aim of this library is only to provide the most efficient way of creating game trainer and to provide a layer on top of WIN-32 API cumbersome methods and to make reading/writing ,finding Game process easier and convenient.

Your support is needed to keep this project alive, Feel free to donate.


Main Components :

Finding game :

Using GT_FindGameProcess() method.


Using GT_FindGameWindow() method.


Reading Values :

using GT_ReadAddress() or GT_ReadAddressoffset() methods.


Writing Values :

using GT_WriteAddress() or GT_WriteAddressOffset() methods.


Creating Hot-keys :

using GT_HotKeysPressed() MACRO or GT_IsKeyPressed()/GT_IsKeyToggled() methods.


Additional Components :

Applying cheat codes :

using GT_SetCheatCode() method.


Searching offset area :

using GT_SearchOffsetArea() method.


Automation scripting :

using GT_DoMousePress() and GT_DoKeyPress() methods.

GTLibPy Logs and errors :

Error/Exception Handling :

All the error/exception handling is done by library itself like if you tried read or write from Invalid Memory section or if process id,game handle/HWND are invalid it will automatically handle error.So you don't have to check for any error by yourself




Methods Accessibility :

All Public and Semi-Public methods are accessible . But Private methods are not and library will throw error if you tried to access them.


Library Logs :

Logs are disabled by default but if you want library to maintain logs use GT_EnableLogs() method to enable logs. or if you want to disable logs again you can use GT_DisableLogs() method.


Trainer Demo :

As a demo of this module IGI 1 Trainer is included to show demo of all the GTLiPy methods and how to use them in making simple game trainer.

DOCUMENTATION INFO : All Public and Semi-Private methods are well documented. but private methods are not documented as it was not necessary to do so.

GTLibPy Version : V 1.0

Dated : 31/05/2019.

Written and maintained by HaseeB Mir (

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for GT-LibPy, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size GT_LibPy-0.1-py3-none-any.whl (20.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page