Skip to content

Commit

Permalink
feat: add __version__ and made the package executable
Browse files Browse the repository at this point in the history
  • Loading branch information
thenishantsapkota committed May 3, 2022
1 parent a436d9a commit 41a1106
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spotbee/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

from .ytsearch import YoutubeSearch

__version__ = "1.1.0"


class SpotBee:
def __init__(self, client_id: str, client_secret: str) -> None:
Expand Down
11 changes: 11 additions & 0 deletions spotbee/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import spotbee

print(
"""
Welcome to SpotBee!
Hope you enjoy this package!
This module is used to get YouTube links from Spotify playlists!
Package Version: {}""".format(
spotbee.__version__
)
)

0 comments on commit 41a1106

Please sign in to comment.