-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor with src directory * Setup pyproject.toml as a runnable script * prefix all env vars with CS_ * lint with black * update README install instructions * Fix ms translator key env vars
- Loading branch information
Showing
21 changed files
with
102 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
[project] | ||
name = "console-songs" | ||
version = "2024.11.02" | ||
dependencies = [ | ||
"python-dotenv", | ||
"requests", | ||
"lyricsgenius", | ||
"side-by-side", | ||
"beautifulsoup4" | ||
] | ||
requires-python = ">=3.8" | ||
authors = [ | ||
{name = "Patrick Kubiak", email = "epicpatka@gmail.com"} | ||
] | ||
maintainers = [ | ||
{name = "Patrick Kubiak", email = "epicpatka@gmail.com"} | ||
] | ||
description = "Given a song and artist, fetches lyrics from Genius, translates them to English using Azure AI Translator, and displays original and translated lyrics side-by-side in the console." | ||
readme = "README.md" | ||
license = {file = "LICENSE"} | ||
keywords = ["console", "songs", "genius-lyrics-api", "azure-translator"] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Programming Language :: Python", | ||
"Environment :: Console" | ||
] | ||
|
||
[project.optional-dependencies] | ||
cli = [ | ||
"pytest", | ||
"pytest-cov", | ||
"black" | ||
] | ||
|
||
[project.scripts] | ||
console-songs = "songs:main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
if __name__ == "__main__": | ||
from songs import main | ||
|
||
main() |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.