pypowerline package¶
Submodules¶
pypowerline.colors module¶
- class pypowerline.colors.Color(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
Enum
- BLACK = 'black'¶
- BLUE = 'blue'¶
- CYAN = 'cyan'¶
- DARK_GREY = 'dark_grey'¶
- GREEN = 'green'¶
- GREY = 'grey'¶
- LIGHT_BLUE = 'light_blue'¶
- LIGHT_CYAN = 'light_cyan'¶
- LIGHT_GREEN = 'light_green'¶
- LIGHT_GREY = 'light_grey'¶
- LIGHT_MAGENTA = 'light_magenta'¶
- LIGHT_RED = 'light_red'¶
- LIGHT_YELLOW = 'light_yellow'¶
- MAGENTA = 'magenta'¶
- RED = 'red'¶
- WHITE = 'white'¶
- YELLOW = 'yellow'¶
pypowerline.configs module¶
All configurations for pypowerline
pypowerline.create_color module¶
pypowerline.main module¶
main
pypowerline.segments module¶
- class pypowerline.segments.Segment(color: Color | None = None, background: Color | None = None, icon: Symbol | None = None, separator: Symbol | None = Symbol.SEPARATOR, reverse_sep: bool = True)[source]¶
Bases:
ABC
- class pypowerline.segments.SegmentCwd(color: Color | None = None, background: Color | None = None, icon: Symbol | None = Symbol.FOLDER, separator: Symbol | None = Symbol.SEPARATOR_B, reverse_sep: bool = True, last_only: bool = False, home_as_tilde: bool = True)[source]¶
Bases:
Segment
pypowerline.static module¶
version which can be consumed from within the module
pypowerline.symbols module¶
- class pypowerline.symbols.Symbol(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
Enum
- AHEAD = '⬆'¶
- BAT = '⚡'¶
- BATTERY = '🔌'¶
- BEHIND = '⬇'¶
- BZR = '⭡⃟'¶
- CHANGED = '✎'¶
- CONFLICTED = '✼'¶
- DETACHED = '⚓'¶
- ELLIPSIS = '…'¶
- FOLDER = '🗁'¶
- FOSSIL = '⌲'¶
- GIT = '\ue0a0'¶
- HG = '☿'¶
- LOCK = '\ue0a2'¶
- NEW = '?'¶
- SEPARATOR = '▶'¶
- SEPARATOR_B = '\ue0b0'¶
- SEPARATOR_THIN = '❯'¶
- SEPARATOR_THIN_B = '\ue0b1'¶
- STAGED = '✔'¶
- STASH = '⎘'¶
- SVN = '⑆'¶
- UP = '↑'¶
- VIRTUAL_ENV = '🐍'¶