omnipython-applibs 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (143) hide show
  1. appkit/__init__.py +52 -0
  2. appkit/__init__.pyi +17 -0
  3. appkit/data.py +149 -0
  4. appkit/data.pyi +25 -0
  5. appkit/foreground.py +357 -0
  6. appkit/foreground.pyi +45 -0
  7. appkit/home.py +19 -0
  8. appkit/home.pyi +8 -0
  9. appkit/hover.py +59 -0
  10. appkit/hover.pyi +13 -0
  11. appkit/index.py +199 -0
  12. appkit/index.pyi +30 -0
  13. appkit/launcher.py +1075 -0
  14. appkit/launcher.pyi +96 -0
  15. appkit/manifest.py +75 -0
  16. appkit/manifest.pyi +8 -0
  17. appkit/net.py +167 -0
  18. appkit/net.pyi +34 -0
  19. appkit/places.py +202 -0
  20. appkit/places.pyi +39 -0
  21. appkit/py.typed +0 -0
  22. appkit/scope.py +636 -0
  23. appkit/scope.pyi +110 -0
  24. appkit/shell.py +121 -0
  25. appkit/shell.pyi +32 -0
  26. appkit/worker.py +409 -0
  27. appkit/worker.pyi +83 -0
  28. controlkit/__init__.py +19 -0
  29. controlkit/__init__.pyi +10 -0
  30. controlkit/_draw.py +88 -0
  31. controlkit/_safe.py +29 -0
  32. controlkit/dotmatrix.py +101 -0
  33. controlkit/dotmatrix.pyi +23 -0
  34. controlkit/encoder.py +297 -0
  35. controlkit/encoder.pyi +55 -0
  36. controlkit/font5x7.py +22 -0
  37. controlkit/font5x7.pyi +11 -0
  38. controlkit/lamp_button.py +92 -0
  39. controlkit/lamp_button.pyi +40 -0
  40. controlkit/meter.py +86 -0
  41. controlkit/meter.pyi +30 -0
  42. controlkit/mock.py +116 -0
  43. controlkit/mock.pyi +35 -0
  44. controlkit/pad_grid.py +113 -0
  45. controlkit/pad_grid.pyi +41 -0
  46. controlkit/py.typed +0 -0
  47. controlkit/slider.py +185 -0
  48. controlkit/slider.pyi +49 -0
  49. controlkit/sprites.py +279 -0
  50. controlkit/sprites.pyi +22 -0
  51. controlkit/theme.py +120 -0
  52. controlkit/theme.pyi +15 -0
  53. deskkit/__init__.py +74 -0
  54. deskkit/__init__.pyi +18 -0
  55. deskkit/forecast.py +261 -0
  56. deskkit/forecast.pyi +40 -0
  57. deskkit/localtime.py +215 -0
  58. deskkit/localtime.pyi +33 -0
  59. deskkit/py.typed +0 -0
  60. deskkit/shell.py +113 -0
  61. deskkit/shell.pyi +33 -0
  62. omnipython_applibs-0.1.2.dist-info/METADATA +90 -0
  63. omnipython_applibs-0.1.2.dist-info/RECORD +143 -0
  64. omnipython_applibs-0.1.2.dist-info/WHEEL +5 -0
  65. omnipython_applibs-0.1.2.dist-info/licenses/LICENSE +21 -0
  66. omnipython_applibs-0.1.2.dist-info/top_level.txt +9 -0
  67. programkit/__init__.py +27 -0
  68. programkit/__init__.pyi +8 -0
  69. programkit/board.py +56 -0
  70. programkit/board.pyi +20 -0
  71. programkit/press.py +63 -0
  72. programkit/press.pyi +17 -0
  73. programkit/py.typed +0 -0
  74. programkit/rows.py +149 -0
  75. programkit/rows.pyi +34 -0
  76. sayso/__init__.py +109 -0
  77. sayso/__init__.pyi +124 -0
  78. sayso/auth.py +811 -0
  79. sayso/auth.pyi +102 -0
  80. sayso/client.py +1286 -0
  81. sayso/client.pyi +138 -0
  82. sayso/keepalive.py +371 -0
  83. sayso/keepalive.pyi +53 -0
  84. sayso/local.py +85 -0
  85. sayso/local.pyi +28 -0
  86. sayso/object_specs.py +706 -0
  87. sayso/object_specs.pyi +8 -0
  88. sayso/objects.py +411 -0
  89. sayso/objects.pyi +854 -0
  90. sayso/py.typed +0 -0
  91. sayso/schema_coverage.py +210 -0
  92. sayso/schema_coverage.pyi +13 -0
  93. sayso/transport.py +426 -0
  94. sayso/transport.pyi +47 -0
  95. songmodel/__init__.py +30 -0
  96. songmodel/__init__.pyi +9 -0
  97. songmodel/link.py +189 -0
  98. songmodel/link.pyi +53 -0
  99. songmodel/model.py +238 -0
  100. songmodel/model.pyi +40 -0
  101. songmodel/page.html +225 -0
  102. songmodel/page_data.py +236 -0
  103. songmodel/page_data.pyi +6 -0
  104. songmodel/py.typed +0 -0
  105. soundmodule/__init__.py +7 -0
  106. soundmodule/__init__.pyi +6 -0
  107. soundmodule/engine.py +1001 -0
  108. soundmodule/engine.pyi +196 -0
  109. soundmodule/names.py +298 -0
  110. soundmodule/names.pyi +30 -0
  111. soundmodule/pipes.py +105 -0
  112. soundmodule/pipes.pyi +31 -0
  113. soundmodule/py.typed +0 -0
  114. soundmodule/run.py +249 -0
  115. soundmodule/run.pyi +49 -0
  116. spectrum/__init__.py +72 -0
  117. spectrum/__init__.pyi +30 -0
  118. spectrum/analyzer.py +231 -0
  119. spectrum/analyzer.pyi +67 -0
  120. spectrum/fake_music.py +201 -0
  121. spectrum/fake_music.pyi +36 -0
  122. spectrum/pump_levels.py +126 -0
  123. spectrum/pump_levels.pyi +46 -0
  124. spectrum/py.typed +0 -0
  125. spectrum/spectrum_view.py +403 -0
  126. spectrum/spectrum_view.pyi +80 -0
  127. touchkit/__init__.py +4 -0
  128. touchkit/__init__.pyi +4 -0
  129. touchkit/cam.py +146 -0
  130. touchkit/cam.pyi +35 -0
  131. touchkit/clock.py +18 -0
  132. touchkit/clock.pyi +6 -0
  133. touchkit/ecp.py +134 -0
  134. touchkit/ecp.pyi +28 -0
  135. touchkit/net.py +347 -0
  136. touchkit/net.pyi +27 -0
  137. touchkit/py.typed +0 -0
  138. touchkit/settings.py +85 -0
  139. touchkit/settings.pyi +17 -0
  140. touchkit/shell.py +268 -0
  141. touchkit/shell.pyi +42 -0
  142. touchkit/ui.py +167 -0
  143. touchkit/ui.pyi +53 -0
programkit/rows.py ADDED
@@ -0,0 +1,149 @@
1
+ # SPDX-FileCopyrightText: 2026 Brad Barnett
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ """Lines of text on a board's display, sent one row at a time.
5
+
6
+ A one-bit OLED (SH1106, SSD1305, SSD1306) is drawn with ``framebuf`` straight
7
+ into its driver's copy of the panel, and each changed row goes out as one
8
+ page: drawing a pixel at a time through ``blit_rect`` costs about 90 ms a
9
+ line on a classic ESP32, too long to sit beside audio. That leans on two
10
+ driver internals, ``_buffer`` and ``_flush``, at rotation 0. Every other
11
+ display gets each row composed in a strip with pygraphics and sent in one
12
+ ``blit_rect``.
13
+ """
14
+
15
+ WHITE = 0xFFFF
16
+ BLACK = 0
17
+
18
+
19
+ def clean(text):
20
+ """Printable ASCII only: the fonts have nothing else."""
21
+ return "".join(c if " " <= c <= "~" else "?" for c in text)
22
+
23
+
24
+ def wrap(text, width):
25
+ """Split text at the last space that fits in width, or at width if none does."""
26
+ if len(text) <= width:
27
+ return text, ""
28
+ cut = text.rfind(" ", 0, width + 1)
29
+ if cut <= 0:
30
+ return text[:width], text[width:]
31
+ return text[:cut], text[cut + 1 :]
32
+
33
+
34
+ def _one_bit(display):
35
+ buf = getattr(display, "_buffer", None)
36
+ if buf is None or not hasattr(display, "_flush"):
37
+ return False
38
+ if getattr(display, "rotation", 0) not in (0, None):
39
+ return False
40
+ return len(buf) == display.width * ((display.height + 7) // 8)
41
+
42
+
43
+ class Rows:
44
+ """Rows of text, each redrawn only when it changes.
45
+
46
+ `line` changes a row in memory and `send` puts one changed row on the
47
+ panel, so a program that must keep audio fed can draw a row a turn.
48
+
49
+ Args:
50
+ display: the board's ``display_drv``.
51
+
52
+ Attributes:
53
+ count: how many rows fit.
54
+ cols: characters in a full row.
55
+ height: a row's height in pixels.
56
+ width: the display's width in pixels.
57
+ """
58
+
59
+ def __init__(self, display):
60
+ self.display = display
61
+ self.width = display.width
62
+ self._dirty = []
63
+ if _one_bit(display):
64
+ import framebuf
65
+
66
+ self._fb = framebuf.FrameBuffer(display._buffer, display.width, display.height, framebuf.MONO_VLSB)
67
+ self._mono = True
68
+ self.height = 8
69
+ self._scale = 1
70
+ self._fg = 1
71
+ self._fb.fill(0)
72
+ display._flush(0, 0, display.width - 1, display.height - 1)
73
+ else:
74
+ try:
75
+ import pygraphics
76
+ except ImportError:
77
+ raise ImportError("this display needs pygraphics to draw text: mip.install(\"pygraphics\")")
78
+ depth = getattr(display, "color_depth", 16) or 16
79
+ fmt = {1: pygraphics.MONO_HMSB, 8: pygraphics.GS8, 16: pygraphics.RGB565, 24: pygraphics.RGB888}[depth]
80
+ self._mono = False
81
+ self._scale = max(1, display.width // 320)
82
+ self.height = 16 * self._scale
83
+ self._fg = WHITE if depth == 16 else (1 if depth == 1 else 0xFFFFFF if depth == 24 else 0xFF)
84
+ self._depth = depth
85
+ self._fmt = fmt
86
+ self._pg = pygraphics
87
+ self._strips = {} # width: (buffer, FrameBuffer), one per row width in use
88
+ display.fill_rect(0, 0, display.width, display.height, BLACK)
89
+ self.count = display.height // self.height
90
+ self.cols = display.width // (8 * self._scale)
91
+ self._text = [None] * self.count
92
+ self._widths = [self.width] * self.count
93
+
94
+ def line(self, row, text, width=None):
95
+ """Put text on a row, replacing what was there; nothing happens if it's unchanged.
96
+
97
+ Args:
98
+ row: 0 is the top.
99
+ text: cut to fit.
100
+ width: pixels from the left edge that the text owns; the rest of
101
+ the row is left alone, for a program's own drawing.
102
+ """
103
+ if not 0 <= row < self.count:
104
+ return
105
+ width = self.width if width is None else width
106
+ text = clean(text)[: width // (8 * self._scale)]
107
+ if self._text[row] == text and self._widths[row] == width:
108
+ return
109
+ self._text[row] = text
110
+ self._widths[row] = width
111
+ if row not in self._dirty:
112
+ self._dirty.append(row)
113
+
114
+ def lines(self, first_row, texts):
115
+ """Put each of ``texts`` on its own row, starting at ``first_row``."""
116
+ for i, text in enumerate(texts):
117
+ self.line(first_row + i, text)
118
+
119
+ def send(self):
120
+ """Put one changed row on the panel. Returns False when none was waiting."""
121
+ if not self._dirty:
122
+ return False
123
+ row = self._dirty.pop(0)
124
+ text = self._text[row]
125
+ width = self._widths[row]
126
+ y = row * self.height
127
+ if self._mono:
128
+ self._fb.fill_rect(0, y, width, 8, 0)
129
+ self._fb.text(text, 0, y, 1)
130
+ self.display._flush(0, y, width - 1, y + 7)
131
+ else:
132
+ strip = self._strips.get(width)
133
+ if strip is None:
134
+ buf = bytearray((width * self._depth + 7) // 8 * self.height)
135
+ strip = self._strips[width] = (buf, self._pg.FrameBuffer(buf, width, self.height, self._fmt))
136
+ buf, fb = strip
137
+ fb.fill(BLACK)
138
+ fb.text16(text, 0, 0, self._fg, self._scale)
139
+ self.display.blit_rect(buf, 0, y, width, self.height)
140
+ return True
141
+
142
+ def send_all(self):
143
+ """Put every changed row on the panel."""
144
+ while self.send():
145
+ pass
146
+
147
+ def rect(self, x, y, w, h, on=True):
148
+ """Fill a rectangle in white, or black when ``on`` is False, straight to the panel."""
149
+ self.display.fill_rect(x, y, w, h, WHITE if on else BLACK)
programkit/rows.pyi ADDED
@@ -0,0 +1,34 @@
1
+ # SPDX-FileCopyrightText: 2026 Brad Barnett
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ """Lines of text on a board's display, sent one row at a time."""
5
+ from collections.abc import Sequence
6
+ from typing import Any
7
+
8
+ WHITE: int
9
+ BLACK: int
10
+
11
+ def clean(text: str) -> str:
12
+ """Printable ASCII only: the fonts have nothing else."""
13
+ def wrap(text: str, width: int) -> tuple[str, str]:
14
+ """Split text at the last space that fits in width, or at width if none does."""
15
+
16
+ class Rows:
17
+ """Rows of text, each redrawn only when it changes."""
18
+
19
+ display: Any
20
+ width: int
21
+ height: int
22
+ count: int
23
+ cols: int
24
+ def __init__(self, display: Any) -> None: ...
25
+ def line(self, row: int, text: str, width: int | None = None) -> None:
26
+ """Put text on a row, replacing what was there; nothing happens if it's unchanged."""
27
+ def lines(self, first_row: int, texts: Sequence[str]) -> None:
28
+ """Put each of `texts` on its own row, starting at `first_row`."""
29
+ def send(self) -> bool:
30
+ """Put one changed row on the panel. Returns False when none was waiting."""
31
+ def send_all(self) -> None:
32
+ """Put every changed row on the panel."""
33
+ def rect(self, x: int, y: int, w: int, h: int, on: bool = True) -> None:
34
+ """Fill a rectangle in white, or black when `on` is False, straight to the panel."""
sayso/__init__.py ADDED
@@ -0,0 +1,109 @@
1
+ # SPDX-FileCopyrightText: 2026 Brad Barnett
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+
5
+ from . import objects as _objects
6
+ from .auth import (
7
+ AuthorizationCodeAuth,
8
+ ClientCredentialsAuth,
9
+ SpotifyAuthError,
10
+ SpotifyConfigError,
11
+ authorization_url,
12
+ authorize_with_local_server,
13
+ code_challenge_s256,
14
+ config_available,
15
+ config_value,
16
+ credentials_from_config,
17
+ generate_code_verifier,
18
+ load_config,
19
+ oauth_error_from_transport,
20
+ parse_callback_url,
21
+ pkce_pair,
22
+ post_oauth_token,
23
+ redirect_uri_from_config,
24
+ save_config,
25
+ scopes_from_config,
26
+ token_cache_from_config,
27
+ DEFAULT_CONFIG_PATH,
28
+ DEFAULT_REDIRECT_URI,
29
+ DEFAULT_TOKEN_CACHE_PATH,
30
+ TokenCache,
31
+ EXAMPLE_SCOPES,
32
+ FOLLOW_WRITE_SCOPES,
33
+ LIBRARY_READ_SCOPES,
34
+ LIBRARY_WRITE_SCOPES,
35
+ PLAYBACK_READ_SCOPES,
36
+ PLAYBACK_WRITE_SCOPES,
37
+ PLAYLIST_READ_SCOPES,
38
+ PLAYLIST_WRITE_SCOPES,
39
+ USER_PROFILE_SCOPES,
40
+ )
41
+ from .client import SpotifyClient, SpotifyClientError, snapshot_id
42
+ from .local import EarfulAdapter
43
+ from .object_specs import SPOTIFY_OBJECT_SPECS
44
+ from .objects import (
45
+ HydrationError,
46
+ Page,
47
+ SpotifyObject,
48
+ get_client,
49
+ make_spotify_class,
50
+ make_spotify_classes,
51
+ set_client,
52
+ )
53
+
54
+
55
+ for _spec in SPOTIFY_OBJECT_SPECS:
56
+ globals()[_spec["name"]] = getattr(_objects, _spec["name"])
57
+
58
+
59
+ __all__ = (
60
+ "Page",
61
+ "SPOTIFY_OBJECT_SPECS",
62
+ "ClientCredentialsAuth",
63
+ "AuthorizationCodeAuth",
64
+ "SpotifyAuthError",
65
+ "SpotifyConfigError",
66
+ "SpotifyClient",
67
+ "SpotifyClientError",
68
+ "EarfulAdapter",
69
+ "HydrationError",
70
+ "SpotifyObject",
71
+ "get_client",
72
+ "make_spotify_class",
73
+ "make_spotify_classes",
74
+ "set_client",
75
+ "snapshot_id",
76
+ "authorization_url",
77
+ "authorize_with_local_server",
78
+ "code_challenge_s256",
79
+ "config_available",
80
+ "config_value",
81
+ "credentials_from_config",
82
+ "DEFAULT_CONFIG_PATH",
83
+ "DEFAULT_REDIRECT_URI",
84
+ "DEFAULT_TOKEN_CACHE_PATH",
85
+ "generate_code_verifier",
86
+ "load_config",
87
+ "oauth_error_from_transport",
88
+ "parse_callback_url",
89
+ "pkce_pair",
90
+ "post_oauth_token",
91
+ "redirect_uri_from_config",
92
+ "save_config",
93
+ "scopes_from_config",
94
+ "token_cache_from_config",
95
+ "EXAMPLE_SCOPES",
96
+ "FOLLOW_WRITE_SCOPES",
97
+ "LIBRARY_READ_SCOPES",
98
+ "LIBRARY_WRITE_SCOPES",
99
+ "PLAYBACK_READ_SCOPES",
100
+ "PLAYBACK_WRITE_SCOPES",
101
+ "PLAYLIST_READ_SCOPES",
102
+ "PLAYLIST_WRITE_SCOPES",
103
+ "USER_PROFILE_SCOPES",
104
+ "TokenCache",
105
+ ) + tuple(_spec["name"] for _spec in SPOTIFY_OBJECT_SPECS)
106
+
107
+
108
+ del _objects
109
+ del _spec
sayso/__init__.pyi ADDED
@@ -0,0 +1,124 @@
1
+ # SPDX-FileCopyrightText: 2026 Brad Barnett
2
+ #
3
+ # SPDX-License-Identifier: MIT
4
+ """Spotify Web API client and typed objects, for CPython, MicroPython and CircuitPython."""
5
+
6
+ from .auth import AuthorizationCodeAuth as AuthorizationCodeAuth, ClientCredentialsAuth as ClientCredentialsAuth, DEFAULT_CONFIG_PATH as DEFAULT_CONFIG_PATH, DEFAULT_REDIRECT_URI as DEFAULT_REDIRECT_URI, DEFAULT_TOKEN_CACHE_PATH as DEFAULT_TOKEN_CACHE_PATH, EXAMPLE_SCOPES as EXAMPLE_SCOPES, FOLLOW_WRITE_SCOPES as FOLLOW_WRITE_SCOPES, LIBRARY_READ_SCOPES as LIBRARY_READ_SCOPES, LIBRARY_WRITE_SCOPES as LIBRARY_WRITE_SCOPES, PLAYBACK_READ_SCOPES as PLAYBACK_READ_SCOPES, PLAYBACK_WRITE_SCOPES as PLAYBACK_WRITE_SCOPES, PLAYLIST_READ_SCOPES as PLAYLIST_READ_SCOPES, PLAYLIST_WRITE_SCOPES as PLAYLIST_WRITE_SCOPES, SpotifyAuthError as SpotifyAuthError, SpotifyConfigError as SpotifyConfigError, TokenCache as TokenCache, USER_PROFILE_SCOPES as USER_PROFILE_SCOPES, authorization_url as authorization_url, authorize_with_local_server as authorize_with_local_server, code_challenge_s256 as code_challenge_s256, config_available as config_available, config_value as config_value, credentials_from_config as credentials_from_config, generate_code_verifier as generate_code_verifier, load_config as load_config, oauth_error_from_transport as oauth_error_from_transport, parse_callback_url as parse_callback_url, pkce_pair as pkce_pair, post_oauth_token as post_oauth_token, redirect_uri_from_config as redirect_uri_from_config, save_config as save_config, scopes_from_config as scopes_from_config, token_cache_from_config as token_cache_from_config
7
+ from .client import SpotifyClient as SpotifyClient, SpotifyClientError as SpotifyClientError, snapshot_id as snapshot_id
8
+ from .local import EarfulAdapter as EarfulAdapter
9
+ from .object_specs import SPOTIFY_OBJECT_SPECS as SPOTIFY_OBJECT_SPECS
10
+ from .objects import HydrationError as HydrationError, Page as Page, SpotifyObject as SpotifyObject, get_client as get_client, make_spotify_class as make_spotify_class, make_spotify_classes as make_spotify_classes, set_client as set_client, Paging as Paging, Cursor as Cursor, CursorPaging as CursorPaging, ExternalUrl as ExternalUrl, ExternalId as ExternalId, Restriction as Restriction, Followers as Followers, Image as Image, Copyright as Copyright, ExplicitContentSettings as ExplicitContentSettings, User as User, PrivateUser as PrivateUser, PlaylistItemsRef as PlaylistItemsRef, AlbumsRef as AlbumsRef, SnapshotResult as SnapshotResult, TrackPage as TrackPage, AlbumPage as AlbumPage, ArtistPage as ArtistPage, PlaylistPage as PlaylistPage, CategoryPage as CategoryPage, PlaylistTrackPage as PlaylistTrackPage, EpisodePage as EpisodePage, ShowPage as ShowPage, AudiobookPage as AudiobookPage, ChapterPage as ChapterPage, SavedAlbumPage as SavedAlbumPage, SavedTrackPage as SavedTrackPage, SavedEpisodePage as SavedEpisodePage, SavedShowPage as SavedShowPage, CursorPage as CursorPage, ArtistCursorPage as ArtistCursorPage, PlayHistoryCursorPage as PlayHistoryCursorPage, ResumePoint as ResumePoint, Author as Author, Narrator as Narrator, Error as Error, Context as Context, Device as Device, Disallows as Disallows, LinkedTrack as LinkedTrack, Category as Category, FeaturedPlaylists as FeaturedPlaylists, SearchResults as SearchResults, TimeInterval as TimeInterval, Section as Section, Segment as Segment, AudioFeatures as AudioFeatures, AudioAnalysis as AudioAnalysis, RecommendationSeed as RecommendationSeed, Recommendations as Recommendations, Queue as Queue, CurrentlyPlaying as CurrentlyPlaying, Artist as Artist, Album as Album, Track as Track, Episode as Episode, Show as Show, SavedAlbum as SavedAlbum, SavedTrack as SavedTrack, SavedEpisode as SavedEpisode, SavedShow as SavedShow, PlayHistory as PlayHistory, Audiobook as Audiobook, Chapter as Chapter, PlaylistTrack as PlaylistTrack, Playlist as Playlist
11
+
12
+ __all__ = (
13
+ 'Page',
14
+ 'SPOTIFY_OBJECT_SPECS',
15
+ 'ClientCredentialsAuth',
16
+ 'AuthorizationCodeAuth',
17
+ 'SpotifyAuthError',
18
+ 'SpotifyConfigError',
19
+ 'SpotifyClient',
20
+ 'SpotifyClientError',
21
+ 'EarfulAdapter',
22
+ 'HydrationError',
23
+ 'SpotifyObject',
24
+ 'get_client',
25
+ 'make_spotify_class',
26
+ 'make_spotify_classes',
27
+ 'set_client',
28
+ 'snapshot_id',
29
+ 'authorization_url',
30
+ 'authorize_with_local_server',
31
+ 'code_challenge_s256',
32
+ 'config_available',
33
+ 'config_value',
34
+ 'credentials_from_config',
35
+ 'DEFAULT_CONFIG_PATH',
36
+ 'DEFAULT_REDIRECT_URI',
37
+ 'DEFAULT_TOKEN_CACHE_PATH',
38
+ 'generate_code_verifier',
39
+ 'load_config',
40
+ 'oauth_error_from_transport',
41
+ 'parse_callback_url',
42
+ 'pkce_pair',
43
+ 'post_oauth_token',
44
+ 'redirect_uri_from_config',
45
+ 'save_config',
46
+ 'scopes_from_config',
47
+ 'token_cache_from_config',
48
+ 'EXAMPLE_SCOPES',
49
+ 'FOLLOW_WRITE_SCOPES',
50
+ 'LIBRARY_READ_SCOPES',
51
+ 'LIBRARY_WRITE_SCOPES',
52
+ 'PLAYBACK_READ_SCOPES',
53
+ 'PLAYBACK_WRITE_SCOPES',
54
+ 'PLAYLIST_READ_SCOPES',
55
+ 'PLAYLIST_WRITE_SCOPES',
56
+ 'USER_PROFILE_SCOPES',
57
+ 'TokenCache',
58
+ 'Paging',
59
+ 'Cursor',
60
+ 'CursorPaging',
61
+ 'ExternalUrl',
62
+ 'ExternalId',
63
+ 'Restriction',
64
+ 'Followers',
65
+ 'Image',
66
+ 'Copyright',
67
+ 'ExplicitContentSettings',
68
+ 'User',
69
+ 'PrivateUser',
70
+ 'PlaylistItemsRef',
71
+ 'AlbumsRef',
72
+ 'SnapshotResult',
73
+ 'TrackPage',
74
+ 'AlbumPage',
75
+ 'ArtistPage',
76
+ 'PlaylistPage',
77
+ 'CategoryPage',
78
+ 'PlaylistTrackPage',
79
+ 'EpisodePage',
80
+ 'ShowPage',
81
+ 'AudiobookPage',
82
+ 'ChapterPage',
83
+ 'SavedAlbumPage',
84
+ 'SavedTrackPage',
85
+ 'SavedEpisodePage',
86
+ 'SavedShowPage',
87
+ 'CursorPage',
88
+ 'ArtistCursorPage',
89
+ 'PlayHistoryCursorPage',
90
+ 'ResumePoint',
91
+ 'Author',
92
+ 'Narrator',
93
+ 'Error',
94
+ 'Context',
95
+ 'Device',
96
+ 'Disallows',
97
+ 'LinkedTrack',
98
+ 'Category',
99
+ 'FeaturedPlaylists',
100
+ 'SearchResults',
101
+ 'TimeInterval',
102
+ 'Section',
103
+ 'Segment',
104
+ 'AudioFeatures',
105
+ 'AudioAnalysis',
106
+ 'RecommendationSeed',
107
+ 'Recommendations',
108
+ 'Queue',
109
+ 'CurrentlyPlaying',
110
+ 'Artist',
111
+ 'Album',
112
+ 'Track',
113
+ 'Episode',
114
+ 'Show',
115
+ 'SavedAlbum',
116
+ 'SavedTrack',
117
+ 'SavedEpisode',
118
+ 'SavedShow',
119
+ 'PlayHistory',
120
+ 'Audiobook',
121
+ 'Chapter',
122
+ 'PlaylistTrack',
123
+ 'Playlist',
124
+ )