A small example package
Project description
Letterboxd Stats
Get information about your Letterboxd activity.
Search for actors/directors, analyze your diary/watchlist/rating, check which film you have seen for a particular person. All in your terminal.
Requirements
- Python >= 3.8
- A TMDb API key: to retrieve all the general information for movies/people
- A Letterboxd account: to export your Letterboxd activity through webscraping.
Installation
Just run:
pip3 install letterboxd_stats
Configuration
It is required to create a config.toml
. You can create it in the default config folder (for example, .config/letterboxd_stats
in Linux) or specify your custom folder with the -c
command. For each platform, default config folder follows the structure of the platformdirs package.
# Where you want the .csv file of your Letterboxd activity to be saved.
root_folder = "~/Documents/letterboxd_stats/"
# The size of the ASCII art poster printed in your terminal when you check the details of a movie. Set to 0 to disable
poster_columns = 180
[TMDB]
api_key = "your-TMDb-API-KEY"
[Letterboxd]
username = "your-username"
password = "your-password"
Options
options:
-h, --help show this help message and exit
-s SEARCH, --search SEARCH
Search for a actor/director
-d, --download Download letterboxd data from your account
-w, --wishlist show wishlist
-l LIMIT, --limit LIMIT
limit the number of items of your wishlist/diary
-r, --random shuffle wishlist
-D, --diary show diary
-R, --ratings show ratings
-c CONFIG_FOLDER, --config_folder CONFIG_FOLDER
Specifiy the folder of your config.toml file
To do
Note: this is something I do during my free time. Therefore, I can't promise consistent support for this project.
-
Use web-scraping to add film to diary/wishlist
-
Check followers' activity.
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 letterboxd_stats-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8790ec96db939ba2c85b4d1489edbbc44b55c5ec6d6fdc3f7a013601cfad728f |
|
MD5 | 648b6d77cfb7585ec845d549388fe06d |
|
BLAKE2b-256 | 1926ff264011f8bf29fbd4f72098b16a6784976205e7b5513a3e1a53cb3de0f2 |