Skip to main content

Automated classes with full typehinting support for pokemon, abilities, items, and so much more

Project description

poketypes

Automated classes with full typehinting support for pokemon, abilities, items, and so much more

I'm currently migrating code from a mess of a folder on my local machine to this properly formatted repo. Once everything is moved over, packaged, and properly tested, an official release will be made.

Version Details

While the version is below 1.0.0, please note that breaking changes to message/pokedex classes may be made at any time. Additionally, changes may be made without bumping version number, especially while classes/features are being built out.

Once the version is 1.0.0, we will follow semantic versioning to the letter, though we will additionally make the following design guarantees where possible:

  • Full compatibility with pokemon showdown data (This is our ground-truth)
  • Future updated label classes (e.g. DexPokemon) will only add labels, and will not change any pre-existing ones
    • This means that the key DexPokemon.POKEMON_MAGIKARP will always have the value 129000, for example
  • Outside game knowledge will only be used where absolutely needed, everything else is auto-built from showdown data

We will also follow the following main guidelines for versioning (based on semantic versioning):

MAJOR.MINOR.PATCH

We consider the following to be MAJOR changes:

  • New Generation releases
  • Breaking changes

We consider the following to be MINOR changes:

  • New fields to messages
  • Extra functions to add capability
  • New classes
  • Major bug fixes (e.g. fixing battle message accuracy)

We consider the following to be PATCH changes:

  • Rephrasing field descriptions
  • Adding extra type hinting
  • Documentation improvements
  • Niche bug fixes (e.g. animation detail accuracy)

Thus, we recommend if you are building on top of poketypes to fix to a given MAJOR version, and verify that nothing breaks for your project before upgrading from one MAJOR version to the next. Our top priority is label-consistancy between versions, so that models expecting the same labels will work on all MAJOR versions. If this priority clashes in some way with any other feature, preserving label integrity will come first.

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

poketypes-0.2.6.tar.gz (208.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

poketypes-0.2.6-py3-none-any.whl (214.1 kB view details)

Uploaded Python 3

File details

Details for the file poketypes-0.2.6.tar.gz.

File metadata

  • Download URL: poketypes-0.2.6.tar.gz
  • Upload date:
  • Size: 208.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.12.0 Windows/11

File hashes

Hashes for poketypes-0.2.6.tar.gz
Algorithm Hash digest
SHA256 1ede28792d9d5739cf44fd4c4434b7417cdf2d51c0238dec27cedd38db704157
MD5 32bb5dcbe318050d1b414aabd7e15b71
BLAKE2b-256 d334a49d5d820262488900e6a2a44b0ea69c6b7d094ef2aa89c9c5f75b0cac1f

See more details on using hashes here.

File details

Details for the file poketypes-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: poketypes-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 214.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.12.0 Windows/11

File hashes

Hashes for poketypes-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a533e6b4ed43d489d962f73ab6ba6b01098adf2ea88a033180949dd7b015b5ec
MD5 302e02b6f5feacb9660acf9b4e35053a
BLAKE2b-256 931630a1c6efbffba56eb8e310f0c2e3d7a6f5a76d385d231cc1528cb85ae319

See more details on using hashes here.

Supported by

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