Skip to content

Funix 0.5.9

Choose a tag to compare

@Konoyoru435 Konoyoru435 released this 29 Jul 00:09
· 149 commits to main since this release

0.5.9 (2024-07-29)

Highlights

  • Funix now parses the docstring of your function as a description of the app and its arguments.
  • Initial support for jupyter through a simple iframe.
  • It is now possible to use the List[Literal[...]] type to create dropdown menus.
  • The whitelist and example can be dynamically updated by functions.

Bug Fixes

  • disable close on select and check value for docstring (caf8fdb, @yazawazi)
  • only legal widgets in the docstring will be processed (c740cd9, @yazawazi)
  • close pyplot (548cd1b, @yazawazi)
  • class function do not use new app (d676f30, @yazawazi)
  • use inline code for stderr (d452af2, @yazawazi)
  • multiple apps in funix_class (8eb139c, @yazawazi)
  • keep dict order (390f1ba, @yazawazi)
  • resize in options (335f425, @yazawazi)
  • class menu and push_counter (9363bf5, @yazawazi)
  • isolate data with Flask instances (c6b5d00, @yazawazi)
  • handle list (6c6f0dd, @yazawazi)
  • typing issues of funix() (a0a4300, @luochen1990)
  • allow wrapped function (1432113, @yazawazi)
  • remove .env file (2124afe, @yazawazi)
  • check dataframe argument in the request (d643dbd, @yazawazi)
  • add pagination in DataGrid (d2b83af, @yazawazi)

Features

  • support docstring in runtime ast (e52d3a3, @yazawazi)
  • support iframe with jupyter (53b4586, @yazawazi)
  • do not use Autocomplete for TextField (73da3f8, @yazawazi)
  • support List[Literal[...]] for dropdown menu (758374f, @yazawazi)
  • support docstring for widgets (a3f8375, @yazawazi)
  • parse label in docstring (cad7546, @yazawazi)
  • direct printing is supported for tuples (cd2d72d, @yazawazi)
  • support ipywidgets Image, Video and Audio (6db1f58, @yazawazi)
  • add encoding and replace stderr for ws (026e1f4, @yazawazi)
  • remove pandera (24843e8, @yazawazi)
  • remove pandera in bioinformatics (19f0860, @yazawazi)
  • add callable whitelist and example (3eba23c, @yazawazi)

Refactors

  • short function name (1fd4aa6, @yazawazi)

Documents