Pyjuggling, the Python Juggling Library!¶
PyJuggling is a library.....
See the examples to get a good feel for what Pyjuggling offers. Source can be found on github.
Getting Started¶
Getting Started will guide you through pyjuggling and introduce you to the pieces of the system. From there, visit the Reference for in-depth information.
Installing Pyjuggling¶
- Pyjuggling can be installed with
pip
: $ pip install pyjuggling
Introduction to Pyjuggling¶
Pyjuggling has a number of modules that you’ll need to be at least familiar with:
- Notations
- describe notations
- Patterns
- describe patterns
Examples¶
The easiest way to get started to check out the examples in the examples folder in the the repository. Then check out the Reference for more information.
Reference¶
Notations¶
Pattern¶
-
class
juggling.pattern.
Pattern
(pattern)[source]¶ The base representation of any juggling pattern, regardless of notation. A
Pattern
looks and acts like a list, but has some specific constraints about how data can be stored in it.>>> p = Pattern([4, 4, 1]) >>> p.is_symmetric == True >>> p.period == 3 >>> p.is_excited == False
-
is_asymmetric
¶ Returns True if this pattern is asymmetric, the pattern repeats with the same hand
-
is_symmetric
¶ Returns True if this pattern is symmetric, the pattern repeats with the opposite hand
-
Contribute¶
If you’d like to contribute, simply fork the repository, commit your changes to the master branch (or branch off of it), and send a pull request. Make sure you add yourself to AUTHORS.