Skip to main content

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

Project description

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

Usage:

  1. pipx install PIP-lastfm-python-lule345
  2. lastfmPython
  3. Configure the local config.json file to include API key (see: https://www.last.fm/api/account/create)
  4. 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

screenshot demo of lastfm.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip_lastfm_python_lule345-1.0.11.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pip_lastfm_python_lule345-1.0.11-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pip_lastfm_python_lule345-1.0.11.tar.gz.

File metadata

File hashes

Hashes for pip_lastfm_python_lule345-1.0.11.tar.gz
Algorithm Hash digest
SHA256 ae3bfeedf503d74a822e78c2154ecb1034db2429fb76d874e52f36cfd6cac9b2
MD5 10a52f5c4ac8b2da28e94fd884d4b7d1
BLAKE2b-256 6f066e25e691c4474b8b54bc86f4f72ede1758db2f7e357a813e21a4aba09911

See more details on using hashes here.

File details

Details for the file pip_lastfm_python_lule345-1.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for pip_lastfm_python_lule345-1.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 b56cb391b76aeb371a491e7e75ffdcf854a070b0f3deca8ec8c570c38008a1d5
MD5 ac38e92608145f7a17ea7763b706fabe
BLAKE2b-256 a32ff5cf3fd7dcf7da651dd2a25eb0bd06a39aea1739f7d9f9d1ebc57dc544bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page