WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Funix 0.6.1

Choose a tag to compare

@Yazawazi Yazawazi released this 15 May 08:08
· 92 commits to main since this release

0.6.1 (2025-05-15)

Highlights

  • A new examples syntax is available, where you can combine different arguments, like below:

    @funix(
        examples=[
            {"doc": "Fire", "sum": "Water"},
            {"doc": "Fire", "sum": "Fox"},
            {"sum": "Wood"},
            {"doc": "Golden", "sum": "Silver"},
            {"doc": "Day", "sum": "Night"},
        ]
    )
    def example_function(
        doc: str,
        sum: str,
    ) -> str:
        pass

    When user input Fire in the doc field, the sum field examples will be filtered to Water and Fox.

  • The front-end has been improved a little so that the left-hand list is not expanded under a single function.

  • The theme options funix.autorun_label, funix.run_button, funix.grid_height and funix.grid_checkbox are added.

    • funix.autorun_label is used to customize the autorun checkbox label, string.
    • funix.run_button is used to customize the run button text, string.
    • funix.grid_height is used to customize the DataGrid height, number.
    • funix.grid_checkbox is used to customize the DataGrid selection checkbox display or not, boolean.

Bug Fixes

Features