v0.5.0: Container Widgets and Parallel Tests
What's New
Container Widgets
Layout containers for organizing HTML content:
- HTMLRow - Horizontal flexbox container with justify/align/wrap/gap
- HTMLColumn - Vertical flexbox container with align/gap/max-width
- HTMLCard - Visual container with title, shadows, borders, backgrounds
- HTMLDivider - Horizontal/vertical separator with optional label
- HTMLSpacer - Fixed or flexible spacing element
Layout Methods
Simple Python methods for full-window layouts (no CSS knowledge required):
.full_width()- Expand to 100% width.full_height()- Expand to 100vh height.full_screen()- Fill entire viewport.expand()- Fill available flex space
CSS Enums
Type-safe enums for styling:
ShadowSize- NONE, SM, DEFAULT, MD, LG, XLRadiusSize- NONE, SM, DEFAULT, MD, LG, XL, XXL, FULLDividerStyle- SOLID, DASHED, DOTTED
Tutorial & Demos
- Interactive container explorer in the tutorial app
- 5 new demo programs showcasing container features
Performance
- Parallel test execution with pytest-xdist (~3x faster)
Installation
pip install animaid==0.5.0Documentation
See containers documentation for examples and API reference.