pokemonPalette

The pokePalette is a python library generate a color palette based on the colors of a chosen pokemon.
Requeriments:
numpy
opencv
pokebase
sklearn
Usage:
get_pokemon_palette("pokemon name", numcolors=x)
>>> from pokemonPalette import pokePalette
>>> palette = pokePalette.get_pokemon_palette("charizard")
>>> print(palette)
['#bd4831', '#0f4F64', '#ef8826', '#edD079']
Examples
import seaborn as sns import matplotlib.pyplot as plt from pokemonPalette import pokePalette titanic = sns.load_dataset("titanic") palette = pokePalette.get_pokemon_palette('gengar',numcolors=2) g = sns.factorplot("class", "survived", "sex", data=titanic, kind="bar", palette=palette, legend=False) plt.show()
![]()
import seaborn as sns import matplotlib.pyplot as plt from pokemonPalette import pokePalette sns.set_style('white') index = ['HP', 'Attack', 'Defense', 'Sp. Atk', 'Sp. Def', 'Speed'] bulbasaur = [45, 49, 49, 65, 65, 45] charmander = [39, 52, 43, 60, 50, 65] squirtle = [44, 48, 65, 50, 64, 43] palette_b = pokePalette.get_pokemon_palette('bulbasaur') palette_c = pokePalette.get_pokemon_palette('charmander') palette_s = pokePalette.get_pokemon_palette('squirtle') fig, axes = plt.subplots(1,3) fig.suptitle('Initial Pokemons - 1st Generantion') sns.barplot(ax=axes[0], x=index, y=bulbasaur, palette=palette_b) axes[0].set_title("bulbasaur") sns.barplot(ax=axes[1], x=index, y=charmander, palette=palette_c) axes[0].set_title("charmander") sns.barplot(ax=axes[2], x=index, y=squirtle, palette=palette_s) axes[0].set_title("squirtle")
![]()
Plans for next updates
- Add the option to get shiny Pokemon palette.
- Remove repeated colors.
Metadata
Release files for pokemonPalette 0.0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pokemonPalette-0.0.2.3.tar.gz | 3.8 kB | Without provenance | Details for pokemonPalette-0.0.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pokemonPalette-0.0.2.3-py3-none-any.whl | Python 3 | none | any | Details for pokemonPalette-0.0.2.3-py3-none-any.whl |
Total release size: 8.2 kB
Release files / pokemonPalette-0.0.2.3.tar.gz
| Download URL | pokemonPalette-0.0.2.3.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a8bd00a86590b845aa9ed5502a84dda7a4311d2f7eb01d3b0c2848ca0dbadb1
|
|
BLAKE2b-256 checksum How to use checksums |
2e7f94bb0cf3d84d0b4f404e48dede40250c300ad0b72892e2db6939c214552f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Release files / pokemonPalette-0.0.2.3-py3-none-any.whl
| Download URL | pokemonPalette-0.0.2.3-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d55a71b2cdbd6be38c5e3262003ccbc0948ee355a4956b5fed0b719c51942659
|
|
BLAKE2b-256 checksum How to use checksums |
e3f8bf434079d23a1b71e22161ff79b6db59beaef5e72d9b48d7c9473d113d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10
|
Security for pokemonPalette 0.0.2.3
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.