Reference

Notations

class juggling.notation.Siteswap(notation_pattern, raise_invalid=False)[source]

Siteswap notation

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

starting_with(throw)[source]

return the pattern if started with throw at index throw