Skip to content

Commit

Permalink
Merge pull request #350 from maxfordham/add-jsonable-dict
Browse files Browse the repository at this point in the history
✨add jsonable dict.
  • Loading branch information
jgunstone authored Dec 18, 2024
2 parents d01df81 + 1277471 commit fd944b4
Show file tree
Hide file tree
Showing 16 changed files with 268 additions and 19 deletions.
3 changes: 1 addition & 2 deletions docs/autodisplay.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
},
"outputs": [],
"source": [
"%run __init__.py\n",
"%load_ext lab_black"
"\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/autoui.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"%load_ext lab_black"
""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/autovuetify.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
},
"outputs": [],
"source": [
"%run __init__.py\n",
"%load_ext lab_black"
"\n",
""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/buttonbar_extended.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"metadata": {},
"outputs": [],
"source": [
"%run __init__.py"
""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions docs/demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
},
"outputs": [],
"source": [
"%run __init__.py\n",
"%load_ext lab_black"
"\n",
""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/editgrid.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"outputs": [],
"source": [
"%run __init__.py"
""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/issue-178.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"outputs": [],
"source": [
"%run __init__.py"
""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/issue-330.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"metadata": {},
"outputs": [],
"source": [
"%run __init__.py"
""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/validation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"outputs": [],
"source": [
"%run ../src/ipyautoui/__init__.py\n",
"%load_ext lab_black"
""
]
},
{
Expand Down
140 changes: 138 additions & 2 deletions pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ tests = [
"pytest",
"maplocal==0.2.1",
"pytest_examples",
"hatch"
"hatch",
"jupyterlab",
"jupytext",
"voila"
]

[project.urls]
Expand Down Expand Up @@ -76,4 +79,6 @@ tests = { features = ["tests"], solve-group = "default" }
tests = "pytest"
check = "ruff check"
build = "hatch build"
demo = "voila docs/demo.ipynb"
jlab = "jupyter lab"
# format = "ruff format"
2 changes: 2 additions & 0 deletions src/ipyautoui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@
from ipyautoui.autodisplay import AutoDisplay
from ipyautoui.autovjsf import AutoVjsf # TODO: make optional dependency...
from ipyautoui.demo import demo

__all__ = ["AutoUi", "AutoDisplay", "AutoVjsf", "demo"]
22 changes: 21 additions & 1 deletion src/ipyautoui/custom/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
from ipyautoui.custom.filechooser import FileChooser
from ipyautoui.custom.multiselect_search import MultiSelectSearch
from ipyautoui.custom.iterable import AutoArray, Array, Dictionary
from ipyautoui.custom.iterable import AutoArray, Array
from ipyautoui.custom.loadproject import LoadProject
from ipyautoui.custom.buttonbars import SaveButtonBar
from ipyautoui.custom.fileupload import FileUploadToDir, FilesUploadToDir
from ipyautoui.custom.executetasks import ExecuteTasks, SelectAndExecute
from ipyautoui.custom.svgspinner import SvgSpinner
from ipyautoui.custom.filedownload import FileDownload, FilesDownload, SelectAndDownload
from ipyautoui.custom.maplist import MapList
from ipyautoui.custom.jsonable_dict import JsonableDict

__all__ = [
"FileChooser",
"MultiSelectSearch",
"AutoArray",
"Array",
"LoadProject",
"SaveButtonBar",
"FileUploadToDir",
"FilesUploadToDir",
"ExecuteTasks",
"SelectAndExecute",
"SvgSpinner",
"FileDownload",
"FilesDownload",
"SelectAndDownload",
"MapList",
"JsonableDict"
]
Loading

0 comments on commit fd944b4

Please sign in to comment.