lastfm-python
A small Last.Fm search client written in python able to executed in terminal; Functions as a way for me to practice Python as beginner
Due to my previous git repo, https://github.com/lule345/lastfm-python/, somehow getting bugged by VS code not handling git correctly, I had to remake the repo and so this is why this is here. You can still find the original repo with the link before.
Demonstration video can be found at: https://youtu.be/qNmmetEVYJQ
Usage:
pipx install PIP-lastfm-python-lule345lastfmPython- Configure the local
config.jsonfile to include API key (see: https://www.last.fm/api/account/create; you will require a last.fm account) - The JSON file will look like:
{"api_key": "YOUR_API_KEY_HERE"}; Upon getting your API key from last.fm, insert your key in the field there, save, and continue to step 5. lastfmPython --h
Options/Features:
options:
-h, --help show this help message and exit
--user, -u [user] queries for a given user's info
--userRecentTracks [user] queries for a user's recent tracks
--userTopTracks [user] queries for a user's top tracks, time defaults to overall
--track, -t [name] [artist] queries for a given track name and artist; use underscore for spaces
--toptracks queries for the top tracks on lastfm
--topartists queries for the top artists on lastfm
--album, -a [name] [artist] queries for a given album name and artist; use underscore for spaces
--artist [artist] queries for a given artist name; use underscore for spaces
-v, --verbose prints API key, HTTP info
- Supply your own Last.Fm API Key (see: https://www.last.fm/api/account/create)
- Licensed under GNU General Public License v3
- Available at PIP: https://pypi.org/project/PIP-lastfm-python-lule345/
Metadata
Release files for PIP-lastfm-python-lule345 1.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pip_lastfm_python_lule345-1.0.13.tar.gz | 16.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pip_lastfm_python_lule345-1.0.13-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.5 kB
Release files / pip_lastfm_python_lule345-1.0.13.tar.gz
| Download URL | pip_lastfm_python_lule345-1.0.13.tar.gz |
|---|---|
| Size | 16.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4d8a8352c16650dca3bcaf015045bdcf298b4edf5605ec3120c06b384993844
|
|
BLAKE2b-256 checksum How to use checksums |
614b38dfd7092716fd54e2db20b4328fa31b593f8ea8e4f246c2a40ae89374e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / pip_lastfm_python_lule345-1.0.13-py3-none-any.whl
| Download URL | pip_lastfm_python_lule345-1.0.13-py3-none-any.whl |
|---|---|
| Size | 17.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a72927f1905e208ca5f3042345ad0bcaf90f6e5c57e7e28e42f7a526e813bb8b
|
|
BLAKE2b-256 checksum How to use checksums |
7d7ca5987999cd03f77f00a8ad1c8c270de91715bf935ded88d7aa5ac8e3d6dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|