A library to handle musical chords in python.
Project description
Overview
Pychord is a python library to handle musical chords.
Installation
$ pip install pychord
Usage
Create a Chord
>>> from pychord import Chord
>>> c = Chord("Am7")
>>> c.info()
"""
Am7
root=A
quality=m7
appended=[]
on=None
"""
Transpose a Chord
>>> from pychord import Chord
>>> c = Chord("Am7/G")
>>> c.transpose(3)
>>> c
"Cm7/Bb"
Get component notes
>>> from pychord import Chord
>>> c = Chord("Am7")
>>> c.components()
['A', 'C', 'E', 'G']
Supported Python Versions
2.7
3.3 and above
Links
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pychord-0.1.1.tar.gz
(4.6 kB
view details)
Built Distribution
File details
Details for the file pychord-0.1.1.tar.gz
.
File metadata
- Download URL: pychord-0.1.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e619c72c888aa9192678e0117984786685ddc1fb4ff70ad8dc933ed98463c1 |
|
MD5 | 6eca909023cae727378b46e02af0e803 |
|
BLAKE2b-256 | 014a960a69a1ffa156ad64e80c5f9a3200923b1fad827525331c058814434eef |
File details
Details for the file pychord-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pychord-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a3cce09567d161fdd2f8d2d1d2dcddfa4e5730bfad5b2b6f4edd240389bdd3 |
|
MD5 | 9dfe89fc21005efaddd0ba6e06e145f9 |
|
BLAKE2b-256 | cf407b996ff48b818f7fd431dae5da7ba2e2cbae6ef2f220abc0db342f80cb60 |