Funix

Latest version: v0.5.9

Safety actively analyzes 688238 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.5.9

[0.5.9](https://github.com/TexteaInc/funix/commit/7918a93c0ce01c3ffa5f7e5ad5d6d03e1bbcb65b) (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 (https://github.com/TexteaInc/funix/commit/caf8fdb447d5519dc72c6104341a06e9a3680920, yazawazi) <!-- 1721007546.0 -->
- only legal widgets in the docstring will be processed (https://github.com/TexteaInc/funix/commit/c740cd9805866f2259fa99b8d45cf9e5eb852042, yazawazi) <!-- 1721007546.0 -->
- close pyplot (https://github.com/TexteaInc/funix/commit/548cd1bdc39d6b583705be40334013dcb1960c94, yazawazi) <!-- 1721007546.0 -->
- class function do not use new app (https://github.com/TexteaInc/funix/commit/d676f306f6b39f654c5f505390e508ef4db08b2a, yazawazi) <!-- 1721007546.0 -->
- use inline code for stderr (https://github.com/TexteaInc/funix/commit/d452af2dea8b5891de64db805ec357bd52bf8994, yazawazi) <!-- 1721007546.0 -->
- multiple apps in `funix_class` (https://github.com/TexteaInc/funix/commit/8eb139c4191698f067e274e8181d0c56083bb749, yazawazi) <!-- 1721007546.0 -->
- keep dict order (https://github.com/TexteaInc/funix/commit/390f1bac24110c80f840ac89ecb48799d5abfdcd, yazawazi) <!-- 1721007546.0 -->
- resize in options (https://github.com/TexteaInc/funix/commit/335f425f3233eac626cadbd2c3400d45d7a0e05c, yazawazi) <!-- 1721007546.0 -->
- class menu and `push_counter` (https://github.com/TexteaInc/funix/commit/9363bf5e7be7f64c04d5e3c2c94bf106ee3050a8, yazawazi) <!-- 1721007546.0 -->
- isolate data with Flask instances (https://github.com/TexteaInc/funix/commit/c6b5d006bb8fdd58793e3084d9ea120b64483e10, yazawazi) <!-- 1721007546.0 -->
- handle `list` (https://github.com/TexteaInc/funix/commit/6c6f0dd81b1b47fbb6a42814bf6b10d14a66c1bd, yazawazi) <!-- 1721007546.0 -->
- typing issues of funix() (https://github.com/TexteaInc/funix/commit/a0a430078082562ea84e1fc15f93e21133923ada, luochen1990) <!-- 1721007695.0 -->
- allow wrapped function (https://github.com/TexteaInc/funix/commit/14321139f6be7ee3cbe2d64f50dec25ae0ec9ae8, yazawazi) <!-- 1722211066.0 -->
- remove `.env` file (https://github.com/TexteaInc/funix/commit/2124afea5897da8d9d18f262c3ef295d793af552, yazawazi) <!-- 1722211066.0 -->
- check dataframe argument in the request (https://github.com/TexteaInc/funix/commit/d643dbd01d567c3fd14a3fe24c4770c68a2777f4, yazawazi) <!-- 1722211066.0 -->
- add `pagination` in `DataGrid` (https://github.com/TexteaInc/funix/commit/d2b83af563c3b0887f2c491cebc31057d25fcd9c, yazawazi) <!-- 1722211066.0 -->

Features

- support docstring in runtime ast (https://github.com/TexteaInc/funix/commit/e52d3a36510f646eca8f45a1cba20e34001a461e, yazawazi) <!-- 1716012258.0 -->
- support iframe with jupyter (https://github.com/TexteaInc/funix/commit/53b4586ee089b70268cfc49d9d5f6bd20b474da2, yazawazi) <!-- 1721007546.0 -->
- do not use `Autocomplete` for `TextField` (https://github.com/TexteaInc/funix/commit/73da3f832065883179698b05566a50f73001f52e, yazawazi) <!-- 1721007546.0 -->
- support `List[Literal[...]]` for dropdown menu (https://github.com/TexteaInc/funix/commit/758374f4ad59bb780316858a30f65666cdce0882, yazawazi) <!-- 1721007546.0 -->
- support docstring for widgets (https://github.com/TexteaInc/funix/commit/a3f837525e43caafbe058bada2699828954b2ce5, yazawazi) <!-- 1721007546.0 -->
- parse label in docstring (https://github.com/TexteaInc/funix/commit/cad75469af667fc3279461280e4c0b0cc50792db, yazawazi) <!-- 1721007546.0 -->
- direct printing is supported for tuples (https://github.com/TexteaInc/funix/commit/cd2d72d6df768b9acf2a3e632873a42a330c72dd, yazawazi) <!-- 1721007546.0 -->
- support ipywidgets Image, Video and Audio (https://github.com/TexteaInc/funix/commit/6db1f58aad1a1e37691f66f2a8d07ef805c63d0a, yazawazi) <!-- 1721007546.0 -->
- add `encoding` and replace `stderr` for ws (https://github.com/TexteaInc/funix/commit/026e1f461fc9f930de00a6f4a2e8eb148b0ffd05, yazawazi) <!-- 1721007546.0 -->
- remove pandera (https://github.com/TexteaInc/funix/commit/24843e8cff86fead01e7b2ca956960f4d9d93677, yazawazi) <!-- 1721007546.0 -->
- remove pandera in `bioinformatics` (https://github.com/TexteaInc/funix/commit/19f086060838e99d21a1325837f52c444515d8df, yazawazi) <!-- 1721007546.0 -->
- add callable whitelist and example (https://github.com/TexteaInc/funix/commit/3eba23c9c721544e09623f70926ea59cd8bc6f2d, yazawazi) <!-- 1722211066.0 -->

Refactors

- short function name (https://github.com/TexteaInc/funix/commit/1fd4aa6d6cc072c6f28982c8f8a8ee1ce1f3ae54, yazawazi) <!-- 1721007546.0 -->

Documents

- update chatGPT examples (https://github.com/TexteaInc/funix/commit/1f55720bc453014bb016a8912f30caa0334aacd8, forrestbao) <!-- 1721007546.0 -->

0.5.8

[0.5.8](https://github.com/TexteaInc/funix/commit/55af9f6affbf00cdbd32f9de4234ec986df08848) (2024-05-17)

Highlights

This release brings some fixes and documentation changes:

- Important Fixes: Form Height, CORS Requests, Secret Authentication
- Now for dependencies, `matplotlib`, `mpld3`, `pandera` and `pandas` become mandatory.

Bug Fixes

- minHeight in datagrid (https://github.com/TexteaInc/funix/commit/ea9b1ee995ae76604e4898dcccd6fe1078a35f97, yazawazi) <!-- 1715952704.0 -->
- cors request (https://github.com/TexteaInc/funix/commit/ba8282c5e5e9a1293da4e65a452421325b471067, yazawazi) <!-- 1715952704.0 -->
- ai examples and path_difference (https://github.com/TexteaInc/funix/commit/a424d1dcdec704623073c3dd000ab2b9efcd1521, yazawazi) <!-- 1715952704.0 -->
- secret error (https://github.com/TexteaInc/funix/commit/40baed3d18a9809b0fb642caf67b401d840d0b61, yazawazi) <!-- 1715952704.0 -->

Documents

- add install options (https://github.com/TexteaInc/funix/commit/482a4706c79a9618e35362710e733eaa4dc24463, yazawazi) <!-- 1715952704.0 -->
- fix install and add cn (https://github.com/TexteaInc/funix/commit/e1a32dc472305f58d79fe8f8da4b42529267cbe7, yazawazi) <!-- 1715952704.0 -->
- fix code block (https://github.com/TexteaInc/funix/commit/5d612884f693c5c95c3cd71612c38a88ccfd59d3, yazawazi) <!-- 1715952704.0 -->
- add more build (https://github.com/TexteaInc/funix/commit/61d5613cf4bfdcfb530d46ac03dd8c1ce96d35a8, yazawazi) <!-- 1715952704.0 -->

Chores

- make matplotlib and pandas in dependencies (https://github.com/TexteaInc/funix/commit/7823a296af7688d3649e173d8887f06f52297a42, yazawazi) <!-- 1715952704.0 -->
- build frontend (https://github.com/TexteaInc/funix/commit/50cf568e2b2adc7b9d3953fa08f4ff2bcb37311a, yazawazi) <!-- 1715952704.0 -->
- make examples work (https://github.com/TexteaInc/funix/commit/db5f6609a6f7bbe25315cae938405d712159d607, yazawazi) <!-- 1715952704.0 -->
- replace `funix.hint` with `IPython` (https://github.com/TexteaInc/funix/commit/50a900c8fe7b9665caeb3f9970b468d374c08a9b, yazawazi) <!-- 1715952704.0 -->

0.5.7

There are no feature updates or logic fixes compared to Funix 0.5.6. Only dependencies have been fixed.

0.5.6

[0.5.6](https://github.com/TexteaInc/funix/commit/2e161a38a9849fe883b44e5ad1d969dd535bf114) (2024-04-21)

Highlights

- You can now dynamically fetch variable as description from session, use `session_description` argument, fill your variable name in session
- Provide a new boolean parameter: `keep_last`, whose function is to keep the last inputs and outputs of the session in the function page when it is opened again
- Funix app that do not have a default function will now use one of the functions used in the list as the default function
- Outdated hints will now be displayed when previewing historical functions

Bug Fixes

- asynchronous optimization for `FunixFunction` (https://github.com/TexteaInc/funix/commit/7f1d1c727dda1f697356f5816e9b7be8e4721138, yazawazi) <!-- 1713689410.0 -->
- if `log_level` is off, do not show (https://github.com/TexteaInc/funix/commit/756206be5c17994778bb781edb1c2c2f9e638f63, yazawazi) <!-- 1713689410.0 -->
- `call` module name (https://github.com/TexteaInc/funix/commit/810de23f4e431b3921fb12ec01c397ddc90b60f1, yazawazi) <!-- 1713689410.0 -->
- error websocket in https (https://github.com/TexteaInc/funix/commit/a6e65b93289b8ccb4ebc7670480725839d0dd0a5, yazawazi) <!-- 1713689410.0 -->

Features

- support description from session (https://github.com/TexteaInc/funix/commit/a6017dc75f6cc8f9542bf5571fa4d10c18a9f3f7, yazawazi) <!-- 1713689410.0 -->
- frontend history optimization (https://github.com/TexteaInc/funix/commit/24aea954a9bfedd3fe8bf11c0d9b6a86996ce3e3, yazawazi) <!-- 1713689410.0 -->
- support keep last (https://github.com/TexteaInc/funix/commit/a6259d3372fdf599372c1272700515870f68a0e3, yazawazi) <!-- 1713689410.0 -->
- remove `react-pdf` (https://github.com/TexteaInc/funix/commit/cf93b5ba679f82d35bb0145c6be614480b1447f6, yazawazi) <!-- 1713689410.0 -->
- auto choose default function (first function in list) (https://github.com/TexteaInc/funix/commit/2d15e948048bbc2b9e4190f361af9456d5edf4da, yazawazi) <!-- 1713689410.0 -->
- support outdated alert (https://github.com/TexteaInc/funix/commit/c41468a607cf86bb8fc1c8c92c61ff9e63efd861, yazawazi) <!-- 1713689410.0 -->
- change webcam and microphone position (https://github.com/TexteaInc/funix/commit/df04197b03a5cc218566d8cb62794c3d96d84a91, yazawazi) <!-- 1713689410.0 -->

Documentations

- update theme examples (https://github.com/TexteaInc/funix/commit/b132c05a2222bc958f3f46ab2f4af8c901bace37, forrestbao) <!-- 1713689410.0 -->

0.5.5

[0.5.5](https://github.com/TexteaInc/funix/commit/bce1ff6828fb6bde4ae6cb663f6f54d19e3fb7bd) (2024-02-28)

Highlights

- Initial implementation of autorun allows the frontend to automatically re-run the function as parameters are changed, you can use `autorun=True` in the decorator to enable this feature
- Once again, any function or class will be decorated with `funix` or `funix_class` (default `lazy` is back again), which you can turn off with `funix(disable=True)`
- Now allowed to generate static images directly from the Figure type (if mpld3 doesn't work for you) by using `figure_to_image=True` in the parameter of the decorator
- `IPython.display.Javascript` is now supported
- You can now customize widgets with `widgets` and `props` in the widgets and theme
python
theme = {
"widgets": {
"YOUR_WIDGET_NAME": {
"widget": "WidgetComponent, e.g. 'mui/material/TextField'",
"props": {
props for the widget
"type": "password"
}
}
}
}

- The privacy message can now be updated with `funix.app.privacy_policy` function

Bug Fixes

- use `getsourcefile` to check member (https://github.com/TexteaInc/funix/commit/fac9783c5b1b3ea27bc83fc712aa66da0292d1ae, yazawazi) <!-- 1709118263.0 -->
- custom class error (https://github.com/TexteaInc/funix/commit/9d7dad20e7db77322e8e71749cd40436720fc77f, yazawazi) <!-- 1709118263.0 -->
- privacy requests too much (https://github.com/TexteaInc/funix/commit/3c25d85c2fcf0295e9b263a2a136b9aab4b4d73f, yazawazi) <!-- 1709118263.0 -->
- backend check in privacy (https://github.com/TexteaInc/funix/commit/04126c9987ab9174f02a62a3b2350a31f06c561d, yazawazi) <!-- 1709118263.0 -->
- theme custom component parser (https://github.com/TexteaInc/funix/commit/f05b8578cdabfbcaca9079fee08a6536a4e5640b, yazawazi) <!-- 1709118263.0 -->
- do not change width in the frontend (https://github.com/TexteaInc/funix/commit/f05a065776b024593e95bc1cd27a719641c10b87, yazawazi) <!-- 1709118263.0 -->
- no wrap for grid (https://github.com/TexteaInc/funix/commit/d262755edb8498bfcf698392a9c478ae62e33c45, yazawazi) <!-- 1709118263.0 -->
- circular import (https://github.com/TexteaInc/funix/commit/9bb9a0ff2e57546f160a3e751d59e10ac38ab7ac, yazawazi) <!-- 1709118263.0 -->
- lists use wrong app and wrong value in `process_examples_and_whitelist` (https://github.com/TexteaInc/funix/commit/06e90eb9689ff09d4eb1c32bfd3dd7e4498c1dfa, yazawazi) <!-- 1709118263.0 -->
- cell doesn't working (https://github.com/TexteaInc/funix/commit/bcb9986795246543b222a5470a1c14ad6ada29fa, yazawazi) <!-- 1709118263.0 -->
- raw `draw_figure` (https://github.com/TexteaInc/funix/commit/3201ec2b1961cd06643b39668f58e189fb1c2cf4, yazawazi) <!-- 1709118263.0 -->
- tuple args parse (https://github.com/TexteaInc/funix/commit/1aa5f1aa8714d3275acdd0d079b3e4fd458384e3, yazawazi) <!-- 1709118263.0 -->
- `IPython.display` check (https://github.com/TexteaInc/funix/commit/3cac7655d4b09717c1fddfe4ee7d535d2a5decdb, yazawazi) <!-- 1709118263.0 -->
- `IPython.display` check in list (https://github.com/TexteaInc/funix/commit/a7761a073004e905ea95c56974cc310effe75062, yazawazi) <!-- 1709118263.0 -->

Features

- support both sqlite and JSON Lines for telemetry (https://github.com/TexteaInc/funix/commit/3b816d1bd0c7fc3ac79760864920243c2a31ab4a, Colerar) <!-- 1709118263.0 -->
- support autorun (https://github.com/TexteaInc/funix/commit/5954f356051ef0c9de22872b9a6d96e981e22311, yazawazi) <!-- 1709118263.0 -->
- remove `lazy` again (https://github.com/TexteaInc/funix/commit/51a734296f2a2cb7c74d55b8265bf2c66cf34395, yazawazi) <!-- 1709118263.0 -->
- support figure to image (https://github.com/TexteaInc/funix/commit/949f7cd4cb59bf91b206cf8e267ee66463d504d5, yazawazi) <!-- 1709118263.0 -->
- disable log by default (https://github.com/TexteaInc/funix/commit/8d966b6a7ae5081d316c3410272201732761d921, yazawazi) <!-- 1709118263.0 -->
- support `IPython.display.Javascript` (https://github.com/TexteaInc/funix/commit/d51f019da2007ae3b665e5826e339bf2c8b981e4, yazawazi) <!-- 1709118263.0 -->
- support update privacy message (https://github.com/TexteaInc/funix/commit/f2649a73805e6b57f8488d4864329e32c54984a3, yazawazi) <!-- 1709118263.0 -->
- try to support custom components (https://github.com/TexteaInc/funix/commit/f40d8f925c2c3ac5854bcc4479672bb5dea0c647, yazawazi) <!-- 1709118263.0 -->
- support custom components in `widgets` (https://github.com/TexteaInc/funix/commit/b4f4aaf0589a176baecadcc6eaf6a3d41b820777, yazawazi) <!-- 1709118263.0 -->
- support custom components and props in `widgets` and `theme` (https://github.com/TexteaInc/funix/commit/1c3f17bb76e191eb70d8cddfca404471c929e86c, yazawazi) <!-- 1709118263.0 -->
- user management example (https://github.com/TexteaInc/funix/commit/bcc89da8781a6d2a075b6112aff94a17cebf87f7, Colerar) <!-- 1709118263.0 -->

Documentation

- clean up examples and README (https://github.com/TexteaInc/funix/commit/a9f70074f2b723f4731af3d6cfe6dcb22005aac7, forrestbao) <!-- 1709118263.0 -->
- update README with new examples (https://github.com/TexteaInc/funix/commit/c65de88eef1c33bff2bc903b417ea468fe9b305f, forrestbao) <!-- 1709118263.0 -->

Refactors

- log and do not log (https://github.com/TexteaInc/funix/commit/8e15d7d0bae65a690dc4c10a6889b1fd07dda45f, yazawazi) <!-- 1709118263.0 -->
- sort code and partial split of decorator logic (https://github.com/TexteaInc/funix/commit/61e8517fc9a07d05f5cd861c2436887af72f9560, yazawazi) <!-- 1709118263.0 -->
- split decorator logic (https://github.com/TexteaInc/funix/commit/55555af665c4a5e7265605ce1332853823309b40, yazawazi) <!-- 1709118263.0 -->

0.5.4

[0.5.4](https://github.com/TexteaInc/funix/commit/3f42e22ae5fefd7b462c6a895c5cb22e2e7db52b) (2023-12-23)

Highlights

- Fixed issue where external scripts could not be loaded due to security checks in DOM updates
- For users using `funix_class`, the AST is now used to parse the source code
- docstring is now used as a function description
- HTML code now allows developers to embed JavaScript
- Improved error message when limiter limit is exceeded and class is not initialized
- Added `reactive` parameter to help update/calculate parameters in real time
- For parameters such as `label`, the `*`, glob or regex are now supported
- Camera (picture or video) and microphone inputs are supported on the front end

Bug Fixes

- remove `get_class_source_code`, use full ast analyse (https://github.com/TexteaInc/funix/commit/93a4d31b168038db8809a1237dc00d32cbe628be, yazawazi) <!-- 1701301726.0 -->
- external scripts load (https://github.com/TexteaInc/funix/commit/97b60c066fcf41f941c9e3125050c21e42c41881, Colerar) <!-- 1703296443.0 -->
- docstring bug (https://github.com/TexteaInc/funix/commit/cf97fb860b191fc3ed3e3075b4ee14f69616ed8c, yazawazi) <!-- 1703296443.0 -->
- markdown list in toc (https://github.com/TexteaInc/funix/commit/63eb95d097916a9e8ffe1d90750eb38abbedef67, yazawazi) <!-- 1703296443.0 -->
- run script in HTML type (https://github.com/TexteaInc/funix/commit/572afa9d9ca601410c1cda582ce2e29b4b0dde18, yazawazi) <!-- 1703296443.0 -->
- do not update when function has no reactive (https://github.com/TexteaInc/funix/commit/c9dbd693726050fc920a2ee47807f83db344351b, yazawazi) <!-- 1703296443.0 -->
- improve class init error message (https://github.com/TexteaInc/funix/commit/d78f20feaa2ea6bc9eaa8eca5ad859f9508c2350, Colerar) <!-- 1703296443.0 -->
- replace UTC with timezone (https://github.com/TexteaInc/funix/commit/4ef833c4b1465664c7aa249bcb01401901b071ca, yazawazi) <!-- 1703296443.0 -->

Features

- support docstring as description (https://github.com/TexteaInc/funix/commit/cf2637ce8a028d0656c96ff00b711340e4830b8a, yazawazi) <!-- 1703296443.0 -->
- support label in sheet (https://github.com/TexteaInc/funix/commit/8bc6c69610100eb31c79751d7a42ece953024e26, yazawazi) <!-- 1703296443.0 -->
- sort string in list (https://github.com/TexteaInc/funix/commit/1b667b2dab308393a262d4b35a625e3203ac7c4f, yazawazi) <!-- 1703296443.0 -->
- support "*" syntax sugar (https://github.com/TexteaInc/funix/commit/6b33fac67589ee3c49333a2404edb8c111e29e25, Colerar) <!-- 1703296443.0 -->
- support "*" in label (https://github.com/TexteaInc/funix/commit/b849469fb3d9e4616655464751e57cbe0d7584d2, yazawazi) <!-- 1703296443.0 -->
- support glob and regex as key (https://github.com/TexteaInc/funix/commit/e55dce727314f4f231a1d6b00507759d8031e252, Colerar) <!-- 1703296443.0 -->
- add wordle example (https://github.com/TexteaInc/funix/commit/dcfefbe31464a1e33252b75afe71cb0e1765fbda, yazawazi) <!-- 1703296443.0 -->
- try to support reactive argument (https://github.com/TexteaInc/funix/commit/35767120de57694459179a441df37fa60aa6fae7, yazawazi) <!-- 1703296443.0 -->
- better rate limit error display (https://github.com/TexteaInc/funix/commit/c3bf8721ffd893bdac634409a19d3c5f24ae1f43, yazawazi) <!-- 1703296443.0 -->
- add empty function list check (https://github.com/TexteaInc/funix/commit/68391fc957697cb086d6cb38a22ed3716808b4ba, yazawazi) <!-- 1703296443.0 -->
- if Literal args less than 8 use radio (https://github.com/TexteaInc/funix/commit/304de20bf97cd738860941904b4999380a9291ee, yazawazi) <!-- 1703296443.0 -->
- support camera and microphone input (https://github.com/TexteaInc/funix/commit/4fe2966a06e54cd1736d44b88c7f9bde7c3b1110, yazawazi) <!-- 1703296443.0 -->
- add a simple privacy policy and disclaimer (https://github.com/TexteaInc/funix/commit/d01206fbf023c3be11a6b40f2326e2d96d5eb415, yazawazi) <!-- 1703296443.0 -->
- backend telemetry (https://github.com/TexteaInc/funix/commit/8627bb1cb58292f7f898f35ac5045a2fec281d97, Colerar) <!-- 1703296443.0 -->
- add SQLAlchemy (https://github.com/TexteaInc/funix/commit/46ed592f80c4c77f606562113c86f5e4463dea0a, Colerar) <!-- 1703296443.0 -->
- update gitignore (https://github.com/TexteaInc/funix/commit/4cb875c62d9afb31a31b526f1696bb78fc034976, Colerar) <!-- 1703296443.0 -->

Documents

- update GenAI example (https://github.com/TexteaInc/funix/commit/1ba64178a6d52aa3e636ad43f60f29f714932a2e, yazawazi) <!-- 1703296443.0 -->
- Update pandas DataFrame demo (https://github.com/TexteaInc/funix/commit/e621bf31c3328034a698a5754dcb7913ae5905d5, forrestbao) <!-- 1703296443.0 -->
- update openAI demos in compliance with new openAI API (https://github.com/TexteaInc/funix/commit/3bffbe6e55e5c2715798a1633f161fdc5cd5f416, forrestbao) <!-- 1703296443.0 -->

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.