Skip to main content

🐍🎶 Yet another Spotify Web API Python library

Project description

Dotify

Because OOP is the light

PyPI - Python Version PyPI CI Maintainability codecov BCH compliance PyPI - License pre-commit docs

🚧 The project is under development 🚧

Example

>>> from dotify import Dotify, Track
>>> with Dotify(SPOTIFY_CLIENT, SPOTIFY_SECRET):
>>>     result = next(Track.search("SAINt JHN 5 Thousand Singles", limit=1))
>>> result
<Track "SAINt JHN - 5 Thousand Singles">
>>> result.url
'https://open.spotify.com/track/0fFWxRZGKR7HDW2xBMOZgW'
>>> result.download("SAINt JHN - 5 Thousand Singles.mp3")
PosixPath('SAINt JHN - 5 Thousand Singles.mp3')

Documentation

The project's documentation can be found here.

Installation

pip install dotify

License

The project is licensed under the MIT License:

Copyright © 2021 Vasileios Sioros

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotify-0.3.8.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dotify-0.3.8-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file dotify-0.3.8.tar.gz.

File metadata

  • Download URL: dotify-0.3.8.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for dotify-0.3.8.tar.gz
Algorithm Hash digest
SHA256 ea3e45d4257d6556abce88f502a2aeac915202b5cabb4a7c3c2c2d59f7a328c7
MD5 a13aea5f3c2e5126d83e0383db64d389
BLAKE2b-256 f580c36ae5b904de4352c44e36d7da912e22796e999334cc2300a61e313347de

See more details on using hashes here.

File details

Details for the file dotify-0.3.8-py3-none-any.whl.

File metadata

  • Download URL: dotify-0.3.8-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.10

File hashes

Hashes for dotify-0.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 13647ca290402a923504945af2a7a01d8b832b9c6249da87a7c6cc0d428dc8a1
MD5 340d435c621574b13b6ea72b5b790301
BLAKE2b-256 166babe6bf579af6f332ff9b4483fe418b28022ba2f703e6a50c38859421d93e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page