Streamlit-pydantic

Latest version: v0.6.0

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

Scan your dependencies

0.6.0

0.5.0

[![PyPi Release](https://img.shields.io/pypi/v/streamlit-pydantic/0.5.0?color=blue)](https://pypi.org/project/streamlit-pydantic/0.5.0)

🎁 Features & Improvements

- Add support for union class (see [example](https://github.com/LukasMasuch/streamlit-pydantic/blob/main/examples/union_field.py))
- Add support for overwriting streamlit args (see [example](https://github.com/LukasMasuch/streamlit-pydantic/blob/main/examples/overwrite_streamlit_args.py))
- Add support for read only string fields.
- Using non-beta streamlit functions now (8) by BenediktPrusas

👥 Contributors

Thanks to BenediktPrusas, LukasMasuch for the contributions.

0.4.0

[![PyPi Release](https://img.shields.io/pypi/v/streamlit-pydantic/0.4.0?color=blue)](https://pypi.org/project/streamlit-pydantic/0.4.0)

🎁 Features & Improvements

- Add support for dataclasses
- Introduce `multi-line` format option for text area
- Add option to `ignore_empty_values` (applied on `""` string or `0` int value)
- Change `input_class` parameter to `model`

👥 Contributors

Thanks to LukasMasuch for the contributions.

0.3.0

[![PyPi Release](https://img.shields.io/pypi/v/streamlit-pydantic/0.3.0?color=blue)](https://pypi.org/project/streamlit-pydantic/0.3.0)

🎁 Features & Improvements

- Add support for literal expression for enums.
- Support default values for enum sets (multiselect).

👥 Contributors

Thanks to LukasMasuch for the contributions.

0.2.0

[![PyPi Release](https://img.shields.io/pypi/v/streamlit-pydantic/0.2.0?color=blue)](https://pypi.org/project/streamlit-pydantic/0.2.0)

🎁 Features & Improvements

- Add support for `pydantic_form` method as proposed by benlindsay [here](https://twitter.com/ben_j_lindsay/status/1413233908217430017).
- Allow creating multiple forms within the same Streamlit application.
- Implement playground application to showcase examples.

📝 Documentation

- Update documentation with lots of examples.
- Improve API documentation.

👥 Contributors

Thanks to LukasMasuch and benlindsay for the contributions.

0.1.0

🎁 Features & Improvements

- Extract UI-generation logic from [opyrator](https://github.com/ml-tooling/opyrator)
- Create initial API for usage within Streamlit App.

👥 Contributors

Thanks to LukasMasuch for the contributions.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.