Files
spotify-to-tidal/pyproject.toml
Tim Rae 311822ecdc Add cache of match failures
This change introduces an sqlite database that contains the track_id,
db insertion time, and ttl in the cache. The ttl starts with one week,
and increases exponentially by a factor of 2 each time the same track_id
is added to the database.

This significantly reduces the execution of the time script when there
are a lot of match failures accumulating, which do not need to check
every time.
2024-05-22 14:54:17 +02:00

25 lines
460 B
TOML

[build-system]
requires = ["setuptools >= 61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "spotify_to_tidal"
version = "0.0.1-dev"
requires-python = ">= 3.10"
dependencies = [
"spotipy~=2.21",
"tidalapi~=0.7",
"pyyaml~=6.0",
"tqdm~=4.64",
"sqlalchemy~=2.0"
]
[tools.setuptools.packages."spotify_to_tidal"]
where = "src"
include = "spotify_to_tidal*"
[project.scripts]
spotify_to_tidal = "spotify_to_tidal.__main__:main"