diff options
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | README.md | 12 | ||||
-rw-r--r-- | dbpl/__init__.py | 1 | ||||
-rw-r--r-- | dbpl/dbpl.py (renamed from dbpl.py) | 0 | ||||
-rw-r--r-- | setup.cfg | 22 |
5 files changed, 34 insertions, 6 deletions
@@ -1,3 +1,6 @@ .idea venv/ -__pycache__
\ No newline at end of file +__pycache__ +build/ +dbpl.egg-info +dist/
\ No newline at end of file @@ -7,6 +7,13 @@ format, created by my absolute favorite desktop audio player I created it to be able to edit paths to audio files in the playlist, although it's possible to change any tracks properties. +## Installation + +It's available in Pypi: +``` +pip install dbpl +``` + ## Example Let's imagine you have a large `.dbpl` playlist with hundreds of items, and you want @@ -31,11 +38,6 @@ if __name__ == '__main__': playlist.save(args.output) ``` -Then use it: -``` -python3 ./script.py --input old.dbpl --output new.dbpl -``` - ## License BSD-2c
\ No newline at end of file diff --git a/dbpl/__init__.py b/dbpl/__init__.py new file mode 100644 index 0000000..df8e0b6 --- /dev/null +++ b/dbpl/__init__.py @@ -0,0 +1 @@ +from .dbpl import Track, Playlist, Flag diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..6dd980e --- /dev/null +++ b/setup.cfg @@ -0,0 +1,22 @@ +[metadata] +name = dbpl +version = 1.0.1 +author = Evgeny Zinoviev +author_email = me@ch1p.io +description = +long_description = file: README.md +license = BSD +license_file = LICENSE +long_description_content_type = text/markdown +url = https://github.com/gch1p/deadbeef-playlist.git +project_urls = + Bug Tracker = https://github.com/gch1p/deadbeef-playlist/issues +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: BSD License + Operating System :: OS Independent + +[options] +packages = dbpl +python_requires = >=3.6 +include_package_data = True
\ No newline at end of file |