Skip to main content

PyGuitar generates an easy-to-practice chord book.

Project description

PyGuitar: Chord book generator

PyGuitar

PyPI version GitHub version license

PyGuitar generates an easy-to-practice chord book.

Installation

There are two ways to install PyGuitar:

  • Install PyGuitar from PyPI (recommended):
    $ sudo pip install PyGuitar
    
  • Alternatively: install PyGuitar from the GitHub source:
    $ git clone https://github.com/iwasakishuto/PyGuitar.git
    $ cd PyGuitar
    $ sudo python setup.py install
    

How to use

  • Create Guitar Instance
    from guitar import Guitar
    guitar = Guitar(key="C", scale="major")
    
  • plot guitar layout
    guitar.plot_chord_layout()
    
    chord layout
  • plot guitar strings
    guitar.plot_strings()
    
    guitar strings
  • plot chord
    guitar.plot_chord(chode="G#", string=6, mode="minor")
    
    chord-G#.png
  • export notebook
    guitar = Guitar(key="B", scale="major", dark_mode=False)
    guitar.set_chord(chode="D#", string=5, mode="minor")
    guitar.set_chord(chode="G#", string=6, mode="minor")
    guitar.set_chord(chode="E",  string=6, mode="major")
    guitar.set_chord(chode="B",  string=5, mode="major")
    guitar.set_chord(chode="F#", string=6, mode="minor")
    guitar.set_chord(chode="C#", string=5, mode="major")
    guitar.set_chord(chode="F#", string=6, mode="sus4")
    guitar.set_chord(chode="C#", string=5, mode="7th")
    guitar.set_chord(chode="D#", string=5, mode="7th")
    guitar.export_chord_book(fmt="pdf")
    
    chord-G#.png

Reference

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

PyGuitar-0.0.2.tar.gz (1.0 MB view details)

Uploaded Source

File details

Details for the file PyGuitar-0.0.2.tar.gz.

File metadata

  • Download URL: PyGuitar-0.0.2.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.8

File hashes

Hashes for PyGuitar-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f013db8d82e01f02cec0dbf9e0d822b959569358b35f146c603fe100c6f1b350
MD5 72f47dfcaf109caa042eb382367efc96
BLAKE2b-256 00ca5f6356804a6e5c0bb42220a710eb6dd269e7c07be62e695e0777507f56c5

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