Reflexions
A collection of ready-to-use components for Reflex applications.
Components
Icons
from reflexions import iconify
# Create an icon with customizable properties
iconify("mdi:bell", color="blue", size=24)
iconify("mdi:account", color="red", rotate=90, flip="horizontal")
Loading Animation
from reflexions import loading_icon
# Add a spinning circle loading animation
loading_icon(stroke="#3182CE", speed="0.75")
Template Cards
from reflexions import cards, CardItem
# Create template cards for selection interfaces
templates = [
CardItem(
icon="mdi:web",
title="Website Template",
description="Basic website with header and footer",
color="blue",
),
# Add more templates...
]
# Create a responsive grid of cards with an optional click handler
cards(templates, on_click=lambda item: handle_selection(item), cols=3)
Pydantic Forms
from reflexions import pydantic_form
from pydantic import BaseModel, Field
class UserProfile(BaseModel):
name: str = Field(..., description="Your full name")
age: int = Field(..., gt=0, description="Your age in years")
bio: str | None = Field(None, description="Tell us about yourself")
# Generate a complete form with validation from your model
form = pydantic_form(
UserProfile,
on_submit=handle_submission,
submit_label="Save Profile",
)
Metadata
Release files for reflexions 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| reflexions-0.1.1.tar.gz | 18.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| reflexions-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.8 kB
Release files / reflexions-0.1.1.tar.gz
| Download URL | reflexions-0.1.1.tar.gz |
|---|---|
| Size | 18.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ecba4c610e6df0fc483acbfb4d377921c5d47f63a141b3e3331551b41879f725
|
|
BLAKE2b-256 checksum How to use checksums |
1f79ae13bc3c3e47dd0d90594c72be9f1c81aaf3a3c9ef86caeccc832499f9b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 12, 2025.
Transparency logRelease files / reflexions-0.1.1-py3-none-any.whl
| Download URL | reflexions-0.1.1-py3-none-any.whl |
|---|---|
| Size | 15.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
535bb89effd9e4f8936de25b38af7e849b4a5013dbc54ac29170295824581065
|
|
BLAKE2b-256 checksum How to use checksums |
f500a28fe0fb2e40632bae49ea0e710bc72d88cde2a289208094294cee53f5e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 12, 2025.
Transparency log