Skip to main content

No project description provided

Project description

LastFMTools

This is repo of pythons scripts, i created over the past year or so that utilize lastfm scrobbling feature, and public lastfm api to create visualizations of user listening history. you can try using them at: LastFMTools.app

Tools:

GIF-Mosaic

alt text

Bubble-Chart

alt text

Color-Chart

alt text

Okay but what is LastFM in the first place?

Last.fm is a music streaming and recommendation service that allows users to create personalized music profiles, discover new music, and connect with other music enthusiasts.

The scrobbling feature of Last.fm tracks the music you listen to on various platforms and records it on your profile. This data is used to analyze your music taste and listening history.

Can i test those scripts without having LastFM account?

Sure, there's random feature for every tool, that lets you use script without providing your LastFM nickname, providing you with image created from profile of random lastfm user

Installation

Use the package manager pip to install lastfmtools.

pip install lastfmtools

Example usage:

import LastFMTools

# creates bubble chart consisting of 50 most listened to albums, for user MyNickname, and 
# saves it as bubble.png
bubble_chart = BubbleChart("album", 50, "bubble.png", "MyNickname")

# creates gif of mosaic pictures, thay displays 25 favorite albums for each month,
# from november 2022, onwards, and saves it as File.gif  
gif_mosaic = GifMosaic("01-11-2022", "month", 5, "File.gif", "MyNickName")

# create mosaic that displays 16 album covers that 
# have biggest percentage of yellow, or similar colors in it, according to [CIE94](https://en.wikipedia.org/wiki/Color_difference#CIE94)
color_mosaic = ColorMosaic(COLOR.YELLOW, 4, "Yellow.png")

Contribution

If you think there's anything to improve in those scripts, then feel free to create issues and pull-requests,

License

MIT

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

lastfmtools-0.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

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

lastfmtools-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file lastfmtools-0.1.0.tar.gz.

File metadata

  • Download URL: lastfmtools-0.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-60-generic

File hashes

Hashes for lastfmtools-0.1.0.tar.gz
Algorithm Hash digest
SHA256 108d92a659e04f4993565894f4c81bde57d53861d1095b74729b355951508a71
MD5 7e7f507b405d086ae063a363040c3a39
BLAKE2b-256 208a192065dc3fb3a156c156deb81e80ea89bcd6a6c5d2bcdee271ab1e6b0e79

See more details on using hashes here.

File details

Details for the file lastfmtools-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: lastfmtools-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.8.10 Linux/5.15.0-60-generic

File hashes

Hashes for lastfmtools-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 600323d36f8fcb1465fb923850149757ed4db3be69b2ca4e57f5e8c82afe5cff
MD5 307762541299df13c653b2a51df1acef
BLAKE2b-256 e13b1ef3a6e20d3e457572307316f1f580b3688117faa6b1e67a2dff7e8a0926

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