Metadata-Version: 2.4
Name: monthify
Version: 0.6.1
Summary: Sorts liked spotify tracks into playlists by the month they were liked.
Author-email: Madiba Hudson-Quansah <mhquansah@gmail.com>
Requires-Python: >=3.11
Requires-Dist: appdirs<2,>=1.4.4
Requires-Dist: cachetools<6,>=5.2.1
Requires-Dist: loguru<0.7,>=0.6.0
Requires-Dist: mutagen<2,>=1.47.0
Requires-Dist: pathvalidate<4,>=3.2.3
Requires-Dist: rich<14,>=13.1.0
Requires-Dist: spotipy<3,>=2.22.0
Requires-Dist: toml<0.11,>=0.10.2
Description-Content-Type: text/markdown

# Monthify

A python script that sorts the user's liked Spotify tracks into playlists by the month they were liked.
Inspired by an [IFTTT applet](https://ifttt.com/applets/rC5QtGu6-add-saved-songs-to-a-monthly-playlist) by user [t00r](https://ifttt.com/p/t00r)

## Requirements

- Python 3.10+
- A spotify account
- [Spotify Client_id and Client_secret](https://developer.spotify.com/documentation/general/guides/authorization/app-settings/)

## Install

```
pip install monthify
```

## Usage

```
monthify --client-id=CLIENT_ID --client-secret=CLIENT_SECRET --options
```

Or with a configuration file

```
monthify --options
```

## Configuration

Monthify will look for a monthify.toml file in

Linux

```
~/.config/monthify/
```

Windows

```
C:\Users\username\AppData\Local\Monthify
```

Mac OS

```
/Users/username/Library/Application Support/Monthify
```

<br>
Your monthify.toml file should look like this

```toml
CLIENT_SECRET="..."
CLIENT_ID="..."
```

## Building

### Required

- [Poetry](https://python-poetry.org)

```
git clone https://github.com/madstone0-0/monthify.git
cd monthify
poetry install
poetry build
```
