Python Library for ANTIHEROES APP
Project description
ANTIHEROES
Do you like antiheroes? You can use this python package ANTIHEROES to list and get fascinating antiheroes from movies, TV shows, video games, and comics.
Installation
# Official Version
python -m pip install antiheroes
Getting Started
Directly after the installation you can use this package. You will need Python Release 3.7.0 or older.
You can use 3 Methods:
- get_hero(): get a random antihero
- list_heroes(): list all antiheroes
- popular_heroes(): list top x antiheroes
- Open the python console and use the package
>>> from antiheroes import get_hero
>>> get_hero()
THE HULK enters in your room!!!
>>> get_hero()
WOLVERINE enters in your room!!!
>>> get_hero()
ELEKTRA NATCHIOS enters in your room!!!
>>> get_hero()
DUKE NUKEM enters in your room!!!
>>> get_hero()
THE HULK enters in your room!!!
>>> from antiheroes import list_heroes
>>> list_heroes()
ALL ANTI HEROES:
[ {'name': 'WOLVERINE', 'world': 'MARVEL COMICS'},
{'name': 'DEADPOOL', 'world': 'MARVEL COMICS'},
{'name': 'ELEKTRA NATCHIOS', 'world': 'MARVEL COMICS'},
{'name': 'JOHN WICK', 'world': 'JOHN WICK'},
{'name': 'BLADE', 'world': 'MARVEL COMICS'},
>>> from antiheroes import popular_heroes
>>> popular_heroes(5)
MY TOP 5 ANTI HEROES:
[ {'name': 'WOLVERINE', 'world': 'MARVEL COMICS'},
{'name': 'DEADPOOL', 'world': 'MARVEL COMICS'},
{'name': 'ELEKTRA NATCHIOS', 'world': 'MARVEL COMICS'},
{'name': 'JOHN WICK', 'world': 'JOHN WICK'},
{'name': 'BLADE', 'world': 'MARVEL COMICS'}]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file antiheroes-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: antiheroes-0.0.4-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae31b0b180b3bcce4172e3f05800bc8d5e8e6f96f700a65c6346b8dabe520aed |
|
MD5 | 01a3671f729ea378b7adac0bf9688986 |
|
BLAKE2b-256 | 7988dc2448aff1742eec77fed4d6f172744133310d30461f77e734d731b54eae |