Harry Potter Spells (potter_spells)
The package lists all the Harry Potter spells.
Specifically, the scripts scrape the data from the website harrypotter.wikia.com and and provides all the spells.
The various python scripts provides various filters to list out the spells and enchantments (magic enchantments which are not specifically spells).
Installing the package
pip install potter_spells
Using the package
>>> import potter_spells as potter
>>> potter.all_data()
>>> potter.find('Avada Kedavra')
List out all Spells or Enchantments
>>> potter.all_spell_names()
>>> potter.all_enchantment_names()
Filter by Type of Magic
>>> potter.all_by_type('Charm')
>>> potter.spells_by_type('Hex')
>>> potter.enchants_by_type('Charm')
Release files for potter-spells 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| potter_spells-1.0.2.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| potter_spells-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / potter_spells-1.0.2.tar.gz
| Download URL | potter_spells-1.0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58bd4acd940fa2768c1c56494bfc9b60dbf99931cbafa8b50fcdbba7d86ed8a6
|
|
BLAKE2b-256 checksum How to use checksums |
d01ecab094a5503480eaf2498bf761a47a3a60709703193fe0f991130d3018fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.0
|
Release files / potter_spells-1.0.2-py3-none-any.whl
| Download URL | potter_spells-1.0.2-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8fe86815b84e57227b5900948d2de81598913221f5947b2c1671f2b55a46a450
|
|
BLAKE2b-256 checksum How to use checksums |
dfe3dbec6ccc10218ac56bc57708366a0726363de52b9d7f62ba41d1b1f130e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.7.0
|