lyrics-transcriber 0.50.0__py3-none-any.whl → 0.52.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,8 @@
1
- #!/usr/bin/env python
1
+ #!/usr/bin/env python3
2
+ import warnings
3
+ # Suppress SyntaxWarnings from third-party packages that haven't updated for Python 3.13
4
+ warnings.filterwarnings("ignore", category=SyntaxWarning)
5
+
2
6
  import argparse
3
7
  import logging
4
8
  import os
@@ -41,7 +41,7 @@ class AudioShakeAPI:
41
41
  self.logger.info(f"Uploading {filepath} to AudioShake")
42
42
  self._validate_config() # Validate before making API call
43
43
 
44
- url = f"{self.config.base_url}/upload"
44
+ url = f"{self.config.base_url}/upload/"
45
45
  with open(filepath, "rb") as file:
46
46
  files = {"file": (os.path.basename(filepath), file)}
47
47
  response = requests.post(url, headers={"Authorization": self._get_headers()["Authorization"]}, files=files)
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 karaokenerds
3
+ Copyright (c) 2024 Nomad Karaoke LLC
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,24 +1,24 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lyrics-transcriber
3
- Version: 0.50.0
3
+ Version: 0.52.0
4
4
  Summary: Automatically create synchronised lyrics files in ASS and MidiCo LRC formats with word-level timestamps, using Whisper and lyrics from Genius and Spotify
5
5
  License: MIT
6
6
  Author: Andrew Beveridge
7
7
  Author-email: andrew@beveridge.uk
8
- Requires-Python: >=3.9,<3.13
8
+ Requires-Python: >=3.10,<3.14
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.9
12
11
  Classifier: Programming Language :: Python :: 3.10
13
12
  Classifier: Programming Language :: Python :: 3.11
14
13
  Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Programming Language :: Python :: 3.13
15
15
  Requires-Dist: attrs (>=23.0.0)
16
16
  Requires-Dist: cattrs (>=23.0.0)
17
17
  Requires-Dist: dropbox (>=12)
18
18
  Requires-Dist: fastapi (>=0.115)
19
19
  Requires-Dist: ffmpeg-python (>=0.2.0)
20
20
  Requires-Dist: fonttools (>=4.55)
21
- Requires-Dist: karaoke-lyrics-processor (>=0.4)
21
+ Requires-Dist: karaoke-lyrics-processor (>=0.6)
22
22
  Requires-Dist: lyricsgenius (>=0.1.0)
23
23
  Requires-Dist: metaphone (>=0.6)
24
24
  Requires-Dist: nltk (>=3.9)
@@ -30,18 +30,19 @@ Requires-Dist: python-dotenv (>=1)
30
30
  Requires-Dist: python-levenshtein (>=0.26)
31
31
  Requires-Dist: python-slugify (>=8)
32
32
  Requires-Dist: shortuuid (>=1.0.13,<2.0.0)
33
- Requires-Dist: spacy (>=3.8)
33
+ Requires-Dist: spacy (>=3.8.7)
34
34
  Requires-Dist: spacy-syllables (>=3)
35
+ Requires-Dist: srsly (>=2.5.1)
35
36
  Requires-Dist: syllables (>=1)
36
37
  Requires-Dist: syrics (>=0)
37
38
  Requires-Dist: toml (>=0.10.0)
38
- Requires-Dist: torch (<2.5)
39
+ Requires-Dist: torch (>=2.7,<3.0)
39
40
  Requires-Dist: tqdm (>=4.67)
40
41
  Requires-Dist: transformers (>=4.47)
41
42
  Requires-Dist: uvicorn (>=0.34)
42
- Project-URL: Documentation, https://github.com/karaokenerds/python-lyrics-transcriber/blob/main/README.md
43
- Project-URL: Homepage, https://github.com/karaokenerds/python-lyrics-transcriber
44
- Project-URL: Repository, https://github.com/karaokenerds/python-lyrics-transcriber
43
+ Project-URL: Documentation, https://github.com/nomadkaraoke/python-lyrics-transcriber/blob/main/README.md
44
+ Project-URL: Homepage, https://github.com/nomadkaraoke/python-lyrics-transcriber
45
+ Project-URL: Repository, https://github.com/nomadkaraoke/python-lyrics-transcriber
45
46
  Description-Content-Type: text/markdown
46
47
 
47
48
  # Lyrics Transcriber 🎶
@@ -1,6 +1,6 @@
1
1
  lyrics_transcriber/__init__.py,sha256=g9ZbJg9U1qo7XzrC25J3bTKcNzzwUJWDVdi_7-hjcM4,412
2
2
  lyrics_transcriber/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- lyrics_transcriber/cli/cli_main.py,sha256=fp8IOfuuUdUYSTeXFkaiZr25IwwohBbgOY14VVGZenc,10448
3
+ lyrics_transcriber/cli/cli_main.py,sha256=XSKaSIqP4cw-hM_zw_qtFlHvaxG2XWWfygzS4M72NRk,10613
4
4
  lyrics_transcriber/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  lyrics_transcriber/core/config.py,sha256=euwOOtuNbXy4-a1xs8QKdjcf5jXZQle0zf6X1Wthurw,1229
6
6
  lyrics_transcriber/core/controller.py,sha256=66qwIv-2jEW94wU5RVFRIcfrTyszC-aC_Fcx5dCjG7k,20255
@@ -145,13 +145,13 @@ lyrics_transcriber/review/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
145
145
  lyrics_transcriber/review/server.py,sha256=D5wMRdwdjW7Y1KnL4dON1rIrZpJg7jhqU_lK1q4ssqg,27445
146
146
  lyrics_transcriber/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
147
147
  lyrics_transcriber/storage/dropbox.py,sha256=Dyam1ULTkoxD1X5trkZ5dGp5XhBGCn998moC8IS9-68,9804
148
- lyrics_transcriber/transcribers/audioshake.py,sha256=pUR--5DgpYyJ-RFqdoLDf_2cHXI5CO239r5deDZRXVc,8938
148
+ lyrics_transcriber/transcribers/audioshake.py,sha256=hLlnRfkYldP8Y0dMCCwjYlLwqUZPAP7Xzk59G3u5bq0,8939
149
149
  lyrics_transcriber/transcribers/base_transcriber.py,sha256=T3m4ZCwZ9Bpv6Jvb2hNcnllk-lmeNmADDJlSySBtP1Q,6480
150
150
  lyrics_transcriber/transcribers/whisper.py,sha256=YcCB1ic9H6zL1GS0jD0emu8-qlcH0QVEjjjYB4aLlIQ,13260
151
151
  lyrics_transcriber/types.py,sha256=d73cDstrEI_tVgngDYYYFwjZNs6OVBuAB_QDkga7dWA,19841
152
152
  lyrics_transcriber/utils/word_utils.py,sha256=-cMGpj9UV4F6IsoDKAV2i1aiqSO8eI91HMAm_igtVMk,958
153
- lyrics_transcriber-0.50.0.dist-info/LICENSE,sha256=BiPihPDxhxIPEx6yAxVfAljD5Bhm_XG2teCbPEj_m0Y,1069
154
- lyrics_transcriber-0.50.0.dist-info/METADATA,sha256=paOOVpWfkKFNFSl0GWY3fmG6ps1ni-iA9dtrp_-yOaA,6185
155
- lyrics_transcriber-0.50.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
156
- lyrics_transcriber-0.50.0.dist-info/entry_points.txt,sha256=kcp-bSFkCACAEA0t166Kek0HpaJUXRo5SlF5tVrqNBU,216
157
- lyrics_transcriber-0.50.0.dist-info/RECORD,,
153
+ lyrics_transcriber-0.52.0.dist-info/LICENSE,sha256=81R_4XwMZDODHD7JcZeUR8IiCU8AD7Ajl6bmwR9tYDk,1074
154
+ lyrics_transcriber-0.52.0.dist-info/METADATA,sha256=fszZQYIGEuu4pEFJ3YoGZz9v98U38oLBTNSvh-joqJs,6226
155
+ lyrics_transcriber-0.52.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
156
+ lyrics_transcriber-0.52.0.dist-info/entry_points.txt,sha256=kcp-bSFkCACAEA0t166Kek0HpaJUXRo5SlF5tVrqNBU,216
157
+ lyrics_transcriber-0.52.0.dist-info/RECORD,,