dash-capture 0.0.1__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.
- dash_capture-0.0.1/.github/ISSUE_TEMPLATE/bug_report.md +39 -0
- dash_capture-0.0.1/.github/ISSUE_TEMPLATE/config.yml +2 -0
- dash_capture-0.0.1/.github/ISSUE_TEMPLATE/documentation.md +29 -0
- dash_capture-0.0.1/.github/ISSUE_TEMPLATE/feature_request.md +34 -0
- dash_capture-0.0.1/.github/dependabot.yml +6 -0
- dash_capture-0.0.1/.github/workflows/lint.yml +19 -0
- dash_capture-0.0.1/.github/workflows/publish.yml +25 -0
- dash_capture-0.0.1/.github/workflows/test.yml +31 -0
- dash_capture-0.0.1/.gitignore +161 -0
- dash_capture-0.0.1/.pre-commit-config.yaml +27 -0
- dash_capture-0.0.1/CONTRIBUTING.md +29 -0
- dash_capture-0.0.1/LICENSE +21 -0
- dash_capture-0.0.1/PKG-INFO +60 -0
- dash_capture-0.0.1/README.md +35 -0
- dash_capture-0.0.1/docs/index.md +27 -0
- dash_capture-0.0.1/examples/capture_demo.py +356 -0
- dash_capture-0.0.1/examples/corpframe_demo.py +82 -0
- dash_capture-0.0.1/examples/gallery_corporate_demo.py +23 -0
- dash_capture-0.0.1/examples/gallery_demo.py +23 -0
- dash_capture-0.0.1/examples/gallery_multiplot/gallery.json +13 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/data/data_20260101.csv +13 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/plots/plot_20260101_v1.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/plots/plot_20260325_v1.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/plots/plot_20260325_v2.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/plots/plot_20260325_v3.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/plots/plot_20260325_v4.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/plots/plot_20260325_v5.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/plots/plot_20260325_v6.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/scripts/script_20260101_v1.py +46 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/scripts/script_20260325_v1.py +48 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/scripts/script_20260325_v2.py +50 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/scripts/script_20260325_v3.py +48 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/scripts/script_20260325_v4.py +50 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/scripts/script_20260325_v5.py +52 -0
- dash_capture-0.0.1/examples/gallery_multiplot/inflation/scripts/script_20260325_v6.py +54 -0
- dash_capture-0.0.1/examples/gallery_multiplot/revenue_chart/data/data_20260101.csv +5 -0
- dash_capture-0.0.1/examples/gallery_multiplot/revenue_chart/plots/plot_20260101_v1.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/revenue_chart/plots/plot_20260325_v1.png +0 -0
- dash_capture-0.0.1/examples/gallery_multiplot/revenue_chart/scripts/script_20260101_v1.py +41 -0
- dash_capture-0.0.1/examples/gallery_multiplot/revenue_chart/scripts/script_20260325_v1.py +43 -0
- dash_capture-0.0.1/examples/gallery_multiplot_demo.py +23 -0
- dash_capture-0.0.1/examples/interact.py +113 -0
- dash_capture-0.0.1/examples/interact_demo.py +372 -0
- dash_capture-0.0.1/examples/ipywidgets_interact.ipynb +212 -0
- dash_capture-0.0.1/examples/page_explicit.py +155 -0
- dash_capture-0.0.1/examples/page_implicit.py +110 -0
- dash_capture-0.0.1/examples/page_jupyter.ipynb +220 -0
- dash_capture-0.0.1/examples/showcase.py +725 -0
- dash_capture-0.0.1/mkdocs.yml +132 -0
- dash_capture-0.0.1/pyproject.toml +87 -0
- dash_capture-0.0.1/setup.cfg +4 -0
- dash_capture-0.0.1/src/dash_capture/__init__.py +45 -0
- dash_capture-0.0.1/src/dash_capture/_html2canvas.py +45 -0
- dash_capture-0.0.1/src/dash_capture/_ids.py +25 -0
- dash_capture-0.0.1/src/dash_capture/_version.py +24 -0
- dash_capture-0.0.1/src/dash_capture/assets/html2canvas.min.js +20 -0
- dash_capture-0.0.1/src/dash_capture/capture.py +889 -0
- dash_capture-0.0.1/src/dash_capture/dropdown.py +118 -0
- dash_capture-0.0.1/src/dash_capture/mpl.py +39 -0
- dash_capture-0.0.1/src/dash_capture/py.typed +0 -0
- dash_capture-0.0.1/src/dash_capture/strategies.py +271 -0
- dash_capture-0.0.1/src/dash_capture/wizard.py +180 -0
- dash_capture-0.0.1/src/dash_capture.egg-info/PKG-INFO +60 -0
- dash_capture-0.0.1/src/dash_capture.egg-info/SOURCES.txt +74 -0
- dash_capture-0.0.1/src/dash_capture.egg-info/dependency_links.txt +1 -0
- dash_capture-0.0.1/src/dash_capture.egg-info/requires.txt +4 -0
- dash_capture-0.0.1/src/dash_capture.egg-info/top_level.txt +1 -0
- dash_capture-0.0.1/tests/dash_capture/test_capture.py +168 -0
- dash_capture-0.0.1/tests/dash_capture/test_dropdown.py +55 -0
- dash_capture-0.0.1/tests/dash_capture/test_html2canvas.py +48 -0
- dash_capture-0.0.1/tests/dash_capture/test_ids.py +48 -0
- dash_capture-0.0.1/tests/dash_capture/test_mpl.py +54 -0
- dash_capture-0.0.1/tests/dash_capture/test_strategies.py +302 -0
- dash_capture-0.0.1/tests/dash_capture/test_wizard.py +62 -0
- dash_capture-0.0.1/tests/test_smoke.py +5 -0
- dash_capture-0.0.1/uv.lock +3378 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 🐛 Bug Report
|
|
3
|
+
about: Report a bug
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<!--To help us understand and resolve your issue, please fill out the form to the best of your ability.-->
|
|
7
|
+
<!--You can feel free to delete the sections that do not apply.-->
|
|
8
|
+
|
|
9
|
+
### Bug report
|
|
10
|
+
|
|
11
|
+
**Bug summary**
|
|
12
|
+
|
|
13
|
+
<!--A short 1-2 sentences that succinctly describes the bug-->
|
|
14
|
+
|
|
15
|
+
**Code for reproduction**
|
|
16
|
+
|
|
17
|
+
<!--A minimum code snippet required to reproduce the bug.
|
|
18
|
+
Please make sure to minimize the number of dependencies required.
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
# Paste your code here
|
|
22
|
+
#
|
|
23
|
+
#
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**Actual outcome**
|
|
27
|
+
|
|
28
|
+
<!--The output produced by the above code, which may be a screenshot, console output, etc.-->
|
|
29
|
+
|
|
30
|
+
**Expected outcome**
|
|
31
|
+
|
|
32
|
+
<!--A description of the expected outcome from the code snippet-->
|
|
33
|
+
|
|
34
|
+
**Version Info**
|
|
35
|
+
<!--Please specify your platform and versions of the relevant libraries you are using:-->
|
|
36
|
+
* Operating system:
|
|
37
|
+
* Python version:
|
|
38
|
+
* Package version:
|
|
39
|
+
* Other libraries:
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 📖 Documentation improvement
|
|
3
|
+
about: Report parts of the docs that are wrong or unclear
|
|
4
|
+
labels: documentation, bug
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!--To help us understand and resolve your issue, please fill out the form to the best of your ability.-->
|
|
8
|
+
<!--You can feel free to delete the sections that do not apply.-->
|
|
9
|
+
|
|
10
|
+
### Problem
|
|
11
|
+
|
|
12
|
+
<!--
|
|
13
|
+
If you are referencing an existing piece of documentation or example please provide a link.
|
|
14
|
+
|
|
15
|
+
* I found [...] to be unclear because [...]
|
|
16
|
+
* [...] made me think that [...] when really it should be [...]
|
|
17
|
+
* There is no example showing how to do [...]
|
|
18
|
+
-->
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Suggested Improvement
|
|
22
|
+
|
|
23
|
+
<!--
|
|
24
|
+
If you have an idea to improve the documentation please suggest it here
|
|
25
|
+
|
|
26
|
+
* This line should be be changed to say [...]
|
|
27
|
+
* Include a paragraph explaining [...]
|
|
28
|
+
* Add a figure showing [...]
|
|
29
|
+
-->
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 🚀 Enhancement/Feature Request
|
|
3
|
+
about: Suggest something that could be improved or a New Feature to add
|
|
4
|
+
labels: enhancement
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<!--
|
|
8
|
+
Thanks for thinking of a way to improve this project. If this solves a problem for you, then it probably solves that problem for lots of people! So the whole community will benefit from this request.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Before creating a new feature request please search the issues for relevant feature requests.
|
|
12
|
+
-->
|
|
13
|
+
|
|
14
|
+
### Problem
|
|
15
|
+
|
|
16
|
+
<!-- Provide a clear and concise description of what problem this feature will solve. For example:
|
|
17
|
+
|
|
18
|
+
* I'm always frustrated when [...] because [...]
|
|
19
|
+
* I would like it if [...] happened when I [...] because [...]
|
|
20
|
+
-->
|
|
21
|
+
|
|
22
|
+
### Proposed Solution
|
|
23
|
+
|
|
24
|
+
<!-- Provide a clear and concise description of a way to accomplish what you want. For example:
|
|
25
|
+
|
|
26
|
+
* Add an option so that when [...] [...] will happen
|
|
27
|
+
-->
|
|
28
|
+
|
|
29
|
+
### Additional context
|
|
30
|
+
|
|
31
|
+
<!-- Add any other context or screenshots about the feature request here. You can also include links to examples of other programs that have something similar to your request. For example:
|
|
32
|
+
|
|
33
|
+
* Another project [...] solved this by [...]
|
|
34
|
+
-->
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
name: Checks
|
|
2
|
+
on: [push, pull_request]
|
|
3
|
+
|
|
4
|
+
jobs:
|
|
5
|
+
prek:
|
|
6
|
+
runs-on: ubuntu-latest
|
|
7
|
+
steps:
|
|
8
|
+
- uses: actions/checkout@v4
|
|
9
|
+
- uses: j178/prek-action@v1
|
|
10
|
+
|
|
11
|
+
typecheck:
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
- uses: astral-sh/setup-uv@v6
|
|
16
|
+
- name: Install dependencies
|
|
17
|
+
run: uv sync --group dev
|
|
18
|
+
- name: ty
|
|
19
|
+
run: uv run ty check
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
name: Publish Package
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
release:
|
|
5
|
+
types: [published]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
deploy:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
permissions:
|
|
11
|
+
id-token: write # required for OIDC
|
|
12
|
+
contents: read
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v4
|
|
15
|
+
with:
|
|
16
|
+
fetch-depth: 0
|
|
17
|
+
|
|
18
|
+
- name: Set up uv
|
|
19
|
+
uses: astral-sh/setup-uv@v6
|
|
20
|
+
|
|
21
|
+
- name: Build package
|
|
22
|
+
run: uv build
|
|
23
|
+
|
|
24
|
+
- name: Publish to PyPI
|
|
25
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
test:
|
|
11
|
+
name: Python ${{ matrix.python-version }}
|
|
12
|
+
runs-on: ubuntu-latest
|
|
13
|
+
strategy:
|
|
14
|
+
matrix:
|
|
15
|
+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
with:
|
|
20
|
+
fetch-depth: 0
|
|
21
|
+
|
|
22
|
+
- name: Set up uv
|
|
23
|
+
uses: astral-sh/setup-uv@v6
|
|
24
|
+
with:
|
|
25
|
+
python-version: ${{ matrix.python-version }}
|
|
26
|
+
|
|
27
|
+
- name: Install dependencies
|
|
28
|
+
run: uv sync --group test
|
|
29
|
+
|
|
30
|
+
- name: Tests
|
|
31
|
+
run: uv run pytest
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
98
|
+
__pypackages__/
|
|
99
|
+
|
|
100
|
+
# Celery stuff
|
|
101
|
+
celerybeat-schedule
|
|
102
|
+
celerybeat.pid
|
|
103
|
+
|
|
104
|
+
# SageMath parsed files
|
|
105
|
+
*.sage.py
|
|
106
|
+
|
|
107
|
+
# Environments
|
|
108
|
+
.env
|
|
109
|
+
.venv
|
|
110
|
+
env/
|
|
111
|
+
venv/
|
|
112
|
+
ENV/
|
|
113
|
+
env.bak/
|
|
114
|
+
venv.bak/
|
|
115
|
+
|
|
116
|
+
# Spyder project settings
|
|
117
|
+
.spyderproject
|
|
118
|
+
.spyproject
|
|
119
|
+
|
|
120
|
+
# Rope project settings
|
|
121
|
+
.ropeproject
|
|
122
|
+
|
|
123
|
+
# mkdocs documentation
|
|
124
|
+
/site
|
|
125
|
+
docs/generated
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
# mypy
|
|
129
|
+
.mypy_cache/
|
|
130
|
+
.dmypy.json
|
|
131
|
+
dmypy.json
|
|
132
|
+
|
|
133
|
+
# Pyre type checker
|
|
134
|
+
.pyre/
|
|
135
|
+
|
|
136
|
+
# pytype static type analyzer
|
|
137
|
+
.pytype/
|
|
138
|
+
|
|
139
|
+
# Cython debug symbols
|
|
140
|
+
cython_debug/
|
|
141
|
+
|
|
142
|
+
# mac stuff
|
|
143
|
+
.DS_store
|
|
144
|
+
|
|
145
|
+
# editors
|
|
146
|
+
|
|
147
|
+
## vim
|
|
148
|
+
[._]*.s[a-v][a-z]
|
|
149
|
+
!*.svg # comment out if you don't need vector files
|
|
150
|
+
[._]*.sw[a-p]
|
|
151
|
+
[._]s[a-rt-v][a-z]
|
|
152
|
+
[._]ss[a-gi-z]
|
|
153
|
+
[._]sw[a-p]
|
|
154
|
+
[._]*.un~
|
|
155
|
+
|
|
156
|
+
## vscode
|
|
157
|
+
_notes.md
|
|
158
|
+
_local_notes.md
|
|
159
|
+
|
|
160
|
+
# setuptools-scm generated version file
|
|
161
|
+
**/_version.py
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
minimum_prek_version: "0.2.0"
|
|
2
|
+
exclude: "^uv\\.lock$"
|
|
3
|
+
|
|
4
|
+
repos:
|
|
5
|
+
- repo: builtin
|
|
6
|
+
hooks:
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
- id: check-added-large-files
|
|
9
|
+
- id: check-case-conflict
|
|
10
|
+
- id: end-of-file-fixer
|
|
11
|
+
- id: fix-byte-order-marker
|
|
12
|
+
- id: check-json
|
|
13
|
+
- id: check-json5
|
|
14
|
+
- id: check-toml
|
|
15
|
+
- id: check-yaml
|
|
16
|
+
- id: check-xml
|
|
17
|
+
- id: mixed-line-ending
|
|
18
|
+
- id: check-symlinks
|
|
19
|
+
- id: check-merge-conflict
|
|
20
|
+
- id: detect-private-key
|
|
21
|
+
- id: check-executables-have-shebangs
|
|
22
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
23
|
+
rev: v0.11.6
|
|
24
|
+
hooks:
|
|
25
|
+
- id: ruff
|
|
26
|
+
args: [--fix]
|
|
27
|
+
- id: ruff-format
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Contributing
|
|
2
|
+
|
|
3
|
+
Bug reports, feature requests, and pull requests are welcome on [GitHub](https://github.com/saemeon/dash-capture/issues).
|
|
4
|
+
|
|
5
|
+
## Development setup
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
git clone https://github.com/saemeon/dash-capture
|
|
9
|
+
cd dash-capture
|
|
10
|
+
uv sync --group dev
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Pre-commit hooks are managed with [prek](https://github.com/saemeon/prek). They run automatically on `git commit` once you have installed the dev dependencies.
|
|
14
|
+
|
|
15
|
+
## Running checks
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
uv run ruff check .
|
|
19
|
+
uv run ruff format --check .
|
|
20
|
+
uv run ty check
|
|
21
|
+
uv run pytest
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Building docs
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
uv sync --group doc
|
|
28
|
+
uv run mkdocs serve
|
|
29
|
+
```
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Simon Niederberger
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dash-capture
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Browser capture & custom renderer pipeline for Plotly Dash components
|
|
5
|
+
Author-email: Simon Niederberger <s.niederberger@hotmail.com>
|
|
6
|
+
Maintainer-email: Simon Niederberger <s.niederberger@hotmail.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
Project-URL: Homepage, https://github.com/saemeon/dash-capture
|
|
9
|
+
Project-URL: Repository, https://github.com/saemeon/dash-capture
|
|
10
|
+
Keywords: plotly,dash,capture,export,screenshot,visualization
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
16
|
+
Classifier: Operating System :: OS Independent
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
|
+
License-File: LICENSE
|
|
20
|
+
Requires-Dist: dash-fn-form
|
|
21
|
+
Requires-Dist: dash>=4.0.0
|
|
22
|
+
Requires-Dist: matplotlib>=3.10.8
|
|
23
|
+
Requires-Dist: plotly>=6.6.0
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
[](https://pypi.org/project/dash-capture/)
|
|
27
|
+
[](https://pypi.org/project/dash-capture/)
|
|
28
|
+
[](https://opensource.org/licenses/MIT)
|
|
29
|
+
[](https://plotly.com/python/)
|
|
30
|
+
[](https://dash.plotly.com/)
|
|
31
|
+
[](https://github.com/astral-sh/ruff)
|
|
32
|
+
[](https://github.com/astral-sh/uv)
|
|
33
|
+
[](https://github.com/astral-sh/ty)
|
|
34
|
+
[](https://github.com/saemeon/prek)
|
|
35
|
+
|
|
36
|
+
# dash-capture
|
|
37
|
+
|
|
38
|
+
Browser capture & custom renderer pipeline for Plotly Dash components.
|
|
39
|
+
|
|
40
|
+
## Installation
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
pip install dash-capture
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Components
|
|
47
|
+
|
|
48
|
+
| Component | Description |
|
|
49
|
+
|-----------|-------------|
|
|
50
|
+
| `capture_graph` | Capture wizard for `dcc.Graph` — modal with auto-generated fields, live preview, and PNG download |
|
|
51
|
+
| `build_wizard` | Generic modal dialog |
|
|
52
|
+
| `build_dropdown` | Generic anchored dropdown with click-outside-to-close |
|
|
53
|
+
| `FromPlotly` | `FieldHook` that pre-fills a field from the live Plotly figure |
|
|
54
|
+
| `FieldHook` | Base class for runtime field defaults derived from Dash component state |
|
|
55
|
+
|
|
56
|
+
**Supported field types:** `str`, `int`, `float`, `bool`, `date`, `datetime`, `Literal[...]`, `list[T]`, `tuple[T, ...]`, `T | None`
|
|
57
|
+
|
|
58
|
+
## License
|
|
59
|
+
|
|
60
|
+
MIT
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
[](https://pypi.org/project/dash-capture/)
|
|
2
|
+
[](https://pypi.org/project/dash-capture/)
|
|
3
|
+
[](https://opensource.org/licenses/MIT)
|
|
4
|
+
[](https://plotly.com/python/)
|
|
5
|
+
[](https://dash.plotly.com/)
|
|
6
|
+
[](https://github.com/astral-sh/ruff)
|
|
7
|
+
[](https://github.com/astral-sh/uv)
|
|
8
|
+
[](https://github.com/astral-sh/ty)
|
|
9
|
+
[](https://github.com/saemeon/prek)
|
|
10
|
+
|
|
11
|
+
# dash-capture
|
|
12
|
+
|
|
13
|
+
Browser capture & custom renderer pipeline for Plotly Dash components.
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
pip install dash-capture
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Components
|
|
22
|
+
|
|
23
|
+
| Component | Description |
|
|
24
|
+
|-----------|-------------|
|
|
25
|
+
| `capture_graph` | Capture wizard for `dcc.Graph` — modal with auto-generated fields, live preview, and PNG download |
|
|
26
|
+
| `build_wizard` | Generic modal dialog |
|
|
27
|
+
| `build_dropdown` | Generic anchored dropdown with click-outside-to-close |
|
|
28
|
+
| `FromPlotly` | `FieldHook` that pre-fills a field from the live Plotly figure |
|
|
29
|
+
| `FieldHook` | Base class for runtime field defaults derived from Dash component state |
|
|
30
|
+
|
|
31
|
+
**Supported field types:** `str`, `int`, `float`, `bool`, `date`, `datetime`, `Literal[...]`, `list[T]`, `tuple[T, ...]`, `T | None`
|
|
32
|
+
|
|
33
|
+
## License
|
|
34
|
+
|
|
35
|
+
MIT
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# dash-capture
|
|
2
|
+
|
|
3
|
+
Browser capture & custom renderer pipeline for Plotly Dash components.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install dash-capture
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Components
|
|
12
|
+
|
|
13
|
+
| Component | Description |
|
|
14
|
+
|-----------|-------------|
|
|
15
|
+
| `capture_graph` | Capture wizard for `dcc.Graph` — modal with auto-generated fields, live preview, and PNG download |
|
|
16
|
+
| `build_wizard` | Generic modal dialog |
|
|
17
|
+
| `build_dropdown` | Generic anchored dropdown with click-outside-to-close |
|
|
18
|
+
| `FromPlotly` | `FieldHook` that pre-fills a field from the live Plotly figure |
|
|
19
|
+
| `FieldHook` | Base class for runtime field defaults derived from Dash component state |
|
|
20
|
+
|
|
21
|
+
**Supported field types:** `str`, `int`, `float`, `bool`, `date`, `datetime`, `Literal[...]`, `list[T]`, `tuple[T, ...]`, `T | None`
|
|
22
|
+
|
|
23
|
+
## API Reference
|
|
24
|
+
|
|
25
|
+
::: dash_capture.capture.capture_graph
|
|
26
|
+
|
|
27
|
+
::: dash_capture.capture.capture_graph
|