enmet-0.7.0
توضیحات
Python API for Encyclopaedia Metallum (The Metal Archives) website.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | enmet-0.7.0 |
| نام | enmet |
| نسخه کتابخانه | 0.7.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Łukasz Jakubowski |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/enmet/ |
| مجوز | GPL-3.0-or-later |
Enmet is a programmatic API to Encyclopaedia Metallum - The Metal Archives site. It allows convenient access to Metal Archives data from python code.
Enmet is designed for ease of use and ease of development and maintenance.
See Documentation link for full documentation. Sample usage:
```python
>>> import enmet
>>> megadeth = enmet.search_bands(name="Megadeth")[0]
>>> print(megadeth.discography) # (output truncated)
[<Album: Last Rites (4250)>, <Album: Killing Is My Business... and Business Is Good! (659)>, ...]
>>> print(megadeth.discography[0].discs[0].tracks)
[<Track: Last Rites / Loved to Deth (38701A)>, <Track: Mechanix (38702A)>, <Track: The Skull Beneath the Skin (38703A)>]
>>> print(megadeth.lineup)
[<LineupArtist: Dave Mustaine (184)>, <LineupArtist: James LoMenzo (2836)>, <LineupArtist: Kiko Loureiro (3826)>, <LineupArtist: Dirk Verbeuren (1391)>]
>>> print([artist.name for artist in megadeth.lineup])
['Dave Mustaine', 'James LoMenzo', 'Kiko Loureiro', 'Dirk Verbeuren']
```
نیازمندی
| مقدار | نام |
|---|---|
| - | beautifulsoup4 |
| - | requests |
| - | requests-cache |
| - | pytest |
| - | pytest-mock |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl enmet-0.7.0:
pip install enmet-0.7.0.whl
نصب پکیج tar.gz enmet-0.7.0:
pip install enmet-0.7.0.tar.gz