tgzr.contextual_settings 0.0.8__tar.gz

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 (53) hide show
  1. tgzr_contextual_settings-0.0.8/.gitignore +215 -0
  2. tgzr_contextual_settings-0.0.8/LICENSE +674 -0
  3. tgzr_contextual_settings-0.0.8/PKG-INFO +284 -0
  4. tgzr_contextual_settings-0.0.8/README.md +259 -0
  5. tgzr_contextual_settings-0.0.8/pyproject.toml +64 -0
  6. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/__init__.py +5 -0
  7. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/_version.py +34 -0
  8. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/context_data.py +81 -0
  9. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/context_name.py +91 -0
  10. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/__init__.py +6 -0
  11. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/__main__.py +17 -0
  12. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/app.py +47 -0
  13. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/favicon/android-chrome-192x192.png +0 -0
  14. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/favicon/android-chrome-512x512.png +0 -0
  15. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/favicon/apple-touch-icon.png +0 -0
  16. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/favicon/favicon-16x16.png +0 -0
  17. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/favicon/favicon-32x32.png +0 -0
  18. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/favicon/favicon.ico +0 -0
  19. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/favicon/site.webmanifest +19 -0
  20. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/sky_bg.jpg +0 -0
  21. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/tgzr_contextual_settings-logo.svg +12 -0
  22. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/assets/tgzr_contextual_settings_icon.png +0 -0
  23. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/__init__.py +12 -0
  24. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/conf_explorer.py +333 -0
  25. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/header.py +7 -0
  26. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/left_drawer.py +31 -0
  27. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/pydantic_form.py +113 -0
  28. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/sortable/__init__.py +0 -0
  29. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/sortable/sortable_column.js +35 -0
  30. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/sortable/sortable_column.py +41 -0
  31. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/components/utils.py +12 -0
  32. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/config.py +33 -0
  33. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/README.md +259 -0
  34. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/__init__.py +37 -0
  35. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/__init__.py +6 -0
  36. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/app_config.py +41 -0
  37. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/cg_asset_task.py +1025 -0
  38. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/items_and_collections.py +196 -0
  39. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/startpage/__init__.py +184 -0
  40. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/startpage/components.py +138 -0
  41. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/startpage/models.py +40 -0
  42. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/demo/pages/examples/stresstest/__init__.py +184 -0
  43. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/items.py +142 -0
  44. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/ops.py +351 -0
  45. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/stores/__init__.py +0 -0
  46. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/stores/base_store.py +337 -0
  47. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/stores/jetstream_store.py +650 -0
  48. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/stores/jetstream_store_released.dockerfile +30 -0
  49. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/stores/memory_store.py +27 -0
  50. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/tests/__init__.py +10 -0
  51. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/tests/test_context.py +65 -0
  52. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/tests/test_get_context.py +155 -0
  53. tgzr_contextual_settings-0.0.8/tgzr/contextual_settings/tests/test_update_context.py +95 -0
@@ -0,0 +1,215 @@
1
+ *.env
2
+
3
+ # hatch vcs generated:
4
+ _version.py
5
+
6
+ # uv default venv
7
+ .venv/
8
+
9
+ # Byte-compiled / optimized / DLL files
10
+ __pycache__/
11
+ *.py[codz]
12
+ *$py.class
13
+
14
+ # C extensions
15
+ *.so
16
+
17
+ # Distribution / packaging
18
+ .Python
19
+ build/
20
+ develop-eggs/
21
+ dist/
22
+ downloads/
23
+ eggs/
24
+ .eggs/
25
+ lib/
26
+ lib64/
27
+ parts/
28
+ sdist/
29
+ var/
30
+ wheels/
31
+ share/python-wheels/
32
+ *.egg-info/
33
+ .installed.cfg
34
+ *.egg
35
+ MANIFEST
36
+
37
+ # PyInstaller
38
+ # Usually these files are written by a python script from a template
39
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
40
+ *.manifest
41
+ *.spec
42
+
43
+ # Installer logs
44
+ pip-log.txt
45
+ pip-delete-this-directory.txt
46
+
47
+ # Unit test / coverage reports
48
+ htmlcov/
49
+ .tox/
50
+ .nox/
51
+ .coverage
52
+ .coverage.*
53
+ .cache
54
+ nosetests.xml
55
+ coverage.xml
56
+ *.cover
57
+ *.py.cover
58
+ .hypothesis/
59
+ .pytest_cache/
60
+ cover/
61
+
62
+ # Translations
63
+ *.mo
64
+ *.pot
65
+
66
+ # Django stuff:
67
+ *.log
68
+ local_settings.py
69
+ db.sqlite3
70
+ db.sqlite3-journal
71
+
72
+ # Flask stuff:
73
+ instance/
74
+ .webassets-cache
75
+
76
+ # Scrapy stuff:
77
+ .scrapy
78
+
79
+ # Sphinx documentation
80
+ docs/_build/
81
+
82
+ # PyBuilder
83
+ .pybuilder/
84
+ target/
85
+
86
+ # Jupyter Notebook
87
+ .ipynb_checkpoints
88
+
89
+ # IPython
90
+ profile_default/
91
+ ipython_config.py
92
+
93
+ # pyenv
94
+ # For a library or package, you might want to ignore these files since the code is
95
+ # intended to run in multiple environments; otherwise, check them in:
96
+ # .python-version
97
+
98
+ # pipenv
99
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
100
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
101
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
102
+ # install all needed dependencies.
103
+ #Pipfile.lock
104
+
105
+ # UV
106
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
107
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
108
+ # commonly ignored for libraries.
109
+ #uv.lock
110
+
111
+ # poetry
112
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
113
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
114
+ # commonly ignored for libraries.
115
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
116
+ #poetry.lock
117
+ #poetry.toml
118
+
119
+ # pdm
120
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
121
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
122
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
123
+ #pdm.lock
124
+ #pdm.toml
125
+ .pdm-python
126
+ .pdm-build/
127
+
128
+ # pixi
129
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
130
+ #pixi.lock
131
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
132
+ # in the .venv directory. It is recommended not to include this directory in version control.
133
+ .pixi
134
+
135
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
136
+ __pypackages__/
137
+
138
+ # Celery stuff
139
+ celerybeat-schedule
140
+ celerybeat.pid
141
+
142
+ # SageMath parsed files
143
+ *.sage.py
144
+
145
+ # Environments
146
+ .env
147
+ .envrc
148
+ .venv
149
+ env/
150
+ venv/
151
+ ENV/
152
+ env.bak/
153
+ venv.bak/
154
+
155
+ # Spyder project settings
156
+ .spyderproject
157
+ .spyproject
158
+
159
+ # Rope project settings
160
+ .ropeproject
161
+
162
+ # mkdocs documentation
163
+ /site
164
+
165
+ # mypy
166
+ .mypy_cache/
167
+ .dmypy.json
168
+ dmypy.json
169
+
170
+ # Pyre type checker
171
+ .pyre/
172
+
173
+ # pytype static type analyzer
174
+ .pytype/
175
+
176
+ # Cython debug symbols
177
+ cython_debug/
178
+
179
+ # PyCharm
180
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
181
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
182
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
183
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
184
+ #.idea/
185
+
186
+ # Abstra
187
+ # Abstra is an AI-powered process automation framework.
188
+ # Ignore directories containing user credentials, local state, and settings.
189
+ # Learn more at https://abstra.io/docs
190
+ .abstra/
191
+
192
+ # Visual Studio Code
193
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
194
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
195
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
196
+ # you could uncomment the following to ignore the entire vscode folder
197
+ # .vscode/
198
+
199
+ # Ruff stuff:
200
+ .ruff_cache/
201
+
202
+ # PyPI configuration file
203
+ .pypirc
204
+
205
+ # Cursor
206
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
207
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
208
+ # refer to https://docs.cursor.com/context/ignore-files
209
+ .cursorignore
210
+ .cursorindexingignore
211
+
212
+ # Marimo
213
+ marimo/_static/
214
+ marimo/_lsp/
215
+ __marimo__/