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
Bubble-Chart
Color-Chart
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
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 Distribution
Built Distribution
Hashes for lastfmtools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 600323d36f8fcb1465fb923850149757ed4db3be69b2ca4e57f5e8c82afe5cff |
|
MD5 | 307762541299df13c653b2a51df1acef |
|
BLAKE2b-256 | e13b1ef3a6e20d3e457572307316f1f580b3688117faa6b1e67a2dff7e8a0926 |