Transform Pydantic Models into Streamlit UI components

Streamlit Pydantic Transform Pydantic Models into Streamlit UI components Streamlit-pydantic makes it easy to deal with Pydantic objects within Streamlit. It allows to directly generate Input as well as Output UI components based on a Pydantic models. Getting Started Installation Requirements: Python 3.6+. pip install streamlit-pydantic Usage Streamlit-pydantic provides the pydantic_input and pydantic_output methods to render input/output UI components from Pydantic models. Those methods can be easily embedded into any streamlit script. For example: Create a script (my_script.py) with a […]

Read more

DRY Django forms with Python 3.6

django-crispy-forms The best way to have Django DRY forms. Build programmatic reusable layouts out of components, having full control of the rendered HTML without writing HTML in templates. All this without breaking the standard way of doing things in Django, so it plays nice with any other form application. django-crispy-forms supports Django 2.2, 3.1 and 3.2 with Python 3.6+. The application mainly provides: A filter named |crispy that will render elegant div based forms. Think of it as the built-in […]

Read more