Skip to main content

Pymindcore

Pymind is a Python library for AI, supporting Numpy.

Installation

You can install Pymind using pip: pip install pymindcore.

Usage

You import it, you call the class with your neural network size, and you're away! There will be actual test files in the future, but for the meantime,

License

This project is licensed under the CCO license.

Examples

VideoGameAI.py: Currently set up to play the game Bedwars on the Minecraft server, Hypixel. It is set up to work on a 3440x1440 display, on specific game settings.

Changing resolutions

To make it work on a different resolution: 1: Go into a game, lose your bed once, die once, lose the game once. Take a screenshot of the whole screen each time you do one of those. 2: Go into the screenshot in an app like ms paint, and find a pixel that is a certain colour, when you die, lose your bed, and lose the game. (must be unique, and not trigger when either of the others happen) 3: Go into line 199 of VideoGameAI.py, and add in your coordinates and the pixel colour of that coordinate (in RGB). I'd recommend using Gimp for it. It should extend down to line 207. Only change the rewards if you know what you are doing. 4: Run it, and it should work!

Different game

To make it work on a different game: 1: Go into the game you want to train an AI for, and think what points you would punish the AI for getting wrong. eg: dying, losing, etc. 2: Play a game, and do one of each of those things yourself, screenshotting the whole screen each time you do one. 3: Go into the screenshot in an app like ms paint, and find a pixel that is a certain colour when you did each of the bad things. (must be unique, and not trigger when either of the others happen) 4: Go into line 199 of VideoGameAI.py, and add in your coordinates and the pixel colour of that coordinate (in RGB). I'd recommend using Gimp for it. It should extend down to line 207. Only change the rewards if you know what you are doing. 4.5: If you have more than 3 punishment options, then you should copy one of them, and paste it below it, copy the __Coords, __RGB, and __Punishment, and paste them below as well. 5: Figure out what keybinds your AI will need to have for the game. The ones set up for Minecraft should cover most bases, but to be safe, double check. If you want to, remove all the keybinds that your AI will not need, so it can learn easier. 6: Run it and it should work!

Discord server

Join the discord server https://discord.gg/MSMzmJ6ffj!

Metadata

Release files for pymindcore 0.2.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pymindcore 0.2.11
File Size Uploaded Provenance Actions
pymindcore-0.2.11.tar.gz 14.4 kB Without provenance Details for pymindcore-0.2.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pymindcore 0.2.11
File Interpreter ABI Platform Actions
pymindcore-0.2.11-py3-none-any.whl Python 3 none any Details for pymindcore-0.2.11-py3-none-any.whl

Total release size: 28.2 kB

Release files / pymindcore-0.2.11.tar.gz

Download URL pymindcore-0.2.11.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9810532b81e92b901c8e88d310bf30b9a21b11b3fbcf2043703a1dd04125182c
BLAKE2b-256 checksum
How to use checksums
9c8c9a68abd45e6b2f29937052cba8522ef2270e9227012b232e5c85030f1f0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / pymindcore-0.2.11-py3-none-any.whl

Download URL pymindcore-0.2.11-py3-none-any.whl
Size 13.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3427488bacf5af007751cef85b3257be0c35397429fb687fedcf76fd98f32a27
BLAKE2b-256 checksum
How to use checksums
b4ba51aed8880362350758c7575f2a661ad7a5a536798cd88db3a4f29587dc83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Security for pymindcore 0.2.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page