A Last.fm Bar Chart Race Maker
Project description
LICCHART
A CLI tool to make Last.fm bar chart race animations
Installation
Linux
Make sure you have Python and pip (use your own package manager!)
sudo apt-get install python3
Install ffmpeg
sudo apt-get install ffmpeg
Install/update LICCHART
pip install --upgrade licchart
macOS
Install Homebrew package manager
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Make sure you have Python and pip
brew install python
Install ffmpeg
brew install ffmpeg
Install/update LICCHART
pip install --upgrade licchart
Windows
Install Python
- Make sure to tick a box "Add Python to PATH"
Install ffmpeg
- Download latest build
- Unzip all files inside the folder
C:\ffmpeg - Run cmd as administrator
- Run the following command:
setx /m PATH "C:\ffmpeg\bin;%PATH%" - You might need to restart your PC afterwards
Install/update LICCHART
pip install --upgrade licchart
Usage
Using LICCHART is straightforward, just pass in your Last.fm username!
licchart username
Once it's complete, you will see your generated video and CSV in a current directory
CSV file reduces time of your next data fetch
Customization
You can add arguments to your command to customize your chart generation
licchart -d -s 06/30/2022 -e July 1st 2022 --bars 10 --fps 60 -l 3.5
Command above generates a chart that:
- Processes each day (
-d) - Shows scrobbles from 06/30/22 til 07/01/22 (
-s 06/30/2022 -e July 1st) - Has 10 artists max (
--bars 10) - Has 60 FPS (
--fps 60) - Lasts 3.5 minutes (
-l 3)
List of all arguments
| Option | Description | Value type | Default |
|---|---|---|---|
| -h, --help | Shows help message in terminal and exit | None | None |
| -v, --version | Prints out current version | None | None |
| -a KEY, --api KEY | Changes API key | String | None |
| -m, --months | Takes less time to generate, but gives a less accurate result | None | Yes |
| -d, --days | Takes quite a while to generate, but gives very accurate result | None | No |
| -s DATE, --strt DATE | Sets starting date | Date String | Your first scrobble |
| -e DATE, --end DATE | Sets ending date | Date String | Your last scrobble |
| -b AMOUNT, --bars AMOUNT | Sets how many artists will be visible on the chart | Integer | 20 |
| -l MIN, --length MIN | Sets how long your animation will be | Float | Dynamic value |
| -f FPS, --fps FPS | More frames take more time to generate, but provide a smoother animation | Integer | 30 |
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
licchart-0.0.3.tar.gz
(20.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
licchart-0.0.3-py3-none-any.whl
(20.8 kB
view details)
File details
Details for the file licchart-0.0.3.tar.gz.
File metadata
- Download URL: licchart-0.0.3.tar.gz
- Upload date:
- Size: 20.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6698d0f8ed37f6450ced9a97581aa86e08cd58e642485dc73cc40694ad07d2b0
|
|
| MD5 |
a063d7531219ba8ccdc93b92e6792873
|
|
| BLAKE2b-256 |
27496ccc0774886b0e41849aabfa4aea3cebb48c7d212370406d845f94f08da8
|
File details
Details for the file licchart-0.0.3-py3-none-any.whl.
File metadata
- Download URL: licchart-0.0.3-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df21d329f43ca49e7809d93ee1514c19a99bce71769c773c878ef758bce06cb7
|
|
| MD5 |
cac398cd314f9e82e4388b11d9c61c62
|
|
| BLAKE2b-256 |
7fd7b71c9bc2f98227f16261063e0f7f753b8de66fc1b08164f07ad580457a5b
|