chopin is a chopin package
Project description
chopin
This repository is intended to make it easier to use the Chopin's compositions. It does not follow any coding conventions :)
Requires
$ pip install requests youtube_dl
How to Use
- Example
import chopin
ch = chopin.chopin()
print(ch.compositionList)
print(ch.genreList)
ch.get() # -> Composition
ch.gets() # -> Composition
ch.genre() # -> [Composition]
- Composition & Link
>>> print(type(foo))
<class 'chopin.chopin.Composition'>
>>> print(dir(foo))
['No', 'Opus', 'links', 'title', 'wikiLink']
>>> print(type(foo.links))
<class 'list'>
>>> print(type(foo.links[0]))
<class 'chopin.chopin.Link'>
>>> print(dir(foo.links[0]))
['ID', 'artists', 'delete', 'download', 'url']
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
chopin-0.0.7-py3-none-any.whl
(4.7 kB
view hashes)