# stag
Spotify tagger
Tag your local music using spotify api.

> Adds proper title, album, artist and album art and renames file to title.
## Installation
` pip3 install pystag `
## Usage
You need to set 3 environment variables for stag
SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET
SPOTIFY_USERNAME
Once this is set you can just run stag in the folder with the songs.
Go [here](https://developer.spotify.com/documentation/general/guides/app-settings/#register-your-app) to know how to generate a CLIENT_ID and CLIENT_SECRET. To get the USERNAME just check the profile share link in your profile. Your profile share link will look something like https://open.spotify.com/user/<USERNAME>?si=<SOMETHING_ELSE>
## Requirements
eyed3 ( tag songs )
spotipy ( spotify api client )
Metadata
Release files for pystag 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pystag-0.2.0.tar.gz | 3.6 kB | Without provenance | Details for pystag-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pystag-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for pystag-0.2.0-py3-none-any.whl |
Total release size: 8.0 kB
Release files / pystag-0.2.0.tar.gz
| Download URL | pystag-0.2.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ce8a600ba971656eeb0bc2aa5bb28e05685bad152d4cf2b5bef0b9a365d219c
|
|
BLAKE2b-256 checksum How to use checksums |
9fafe1144c3c3d222f6e6dfb2814a47d8079fd4d87f0605a08f7317d784bffcf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10
|
Release files / pystag-0.2.0-py3-none-any.whl
| Download URL | pystag-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6641ed089050c9021e1294a603d7a913352f085df04dccad9f4699b0c347afcf
|
|
BLAKE2b-256 checksum How to use checksums |
145fab925d19ce82752bee3000688554cab34096d72e9119b87388abafd410a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.6.10
|
Security for pystag 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.