eidosui 0.1.0__py3-none-any.whl → 0.2.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- eidos/__init__.py +2 -57
- eidos/components/headers.py +29 -0
- eidos/css/styles.css +337 -0
- eidos/css/themes/dark.css +119 -0
- eidos/css/themes/eidos-variables.css +190 -0
- eidos/css/themes/light.css +80 -0
- eidos/styles.py +80 -0
- eidos/tags.py +99 -0
- eidos/utils.py +63 -0
- eidosui-0.2.0.dist-info/METADATA +124 -0
- eidosui-0.2.0.dist-info/RECORD +13 -0
- eidosui-0.2.0.dist-info/licenses/LICENSE +21 -0
- eidos/components/__init__.py +0 -22
- eidos/components/forms.py +0 -57
- eidos/components/typography.py +0 -85
- eidos/core/__init__.py +0 -25
- eidos/core/helpers.py +0 -87
- eidos/core/styles.py +0 -92
- eidos/core/utils.py +0 -46
- eidos/static/eidos-ui.js +0 -74
- eidos/themes/dark.css +0 -52
- eidos/themes/light.css +0 -110
- eidosui-0.1.0.dist-info/METADATA +0 -61
- eidosui-0.1.0.dist-info/RECORD +0 -14
- {eidosui-0.1.0.dist-info → eidosui-0.2.0.dist-info}/WHEEL +0 -0
eidosui-0.1.0.dist-info/METADATA
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: eidosui
|
3
|
-
Version: 0.1.0
|
4
|
-
Summary: A modern, Tailwind CSS-based UI library for Python web frameworks
|
5
|
-
Project-URL: Homepage, https://github.com/isaac-flath/EidosUI
|
6
|
-
Project-URL: Repository, https://github.com/isaac-flath/EidosUI
|
7
|
-
Project-URL: Issues, https://github.com/isaac-flath/EidosUI/issues
|
8
|
-
Project-URL: Documentation, https://github.com/isaac-flath/EidosUI#readme
|
9
|
-
Author: Isaac Flath
|
10
|
-
License-Expression: MIT
|
11
|
-
Keywords: components,css,fastapi-tags,fasthtml,tailwind,ui,web
|
12
|
-
Classifier: Development Status :: 3 - Alpha
|
13
|
-
Classifier: Intended Audience :: Developers
|
14
|
-
Classifier: License :: OSI Approved :: MIT License
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
16
|
-
Classifier: Programming Language :: Python :: 3.9
|
17
|
-
Classifier: Programming Language :: Python :: 3.10
|
18
|
-
Classifier: Programming Language :: Python :: 3.11
|
19
|
-
Classifier: Programming Language :: Python :: 3.12
|
20
|
-
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
|
21
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
22
|
-
Requires-Python: >=3.9
|
23
|
-
Requires-Dist: fastapi-tags>=0.1.0
|
24
|
-
Provides-Extra: dev
|
25
|
-
Requires-Dist: black>=23.0.0; extra == 'dev'
|
26
|
-
Requires-Dist: isort>=5.0.0; extra == 'dev'
|
27
|
-
Requires-Dist: mypy>=1.0.0; extra == 'dev'
|
28
|
-
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
|
29
|
-
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
30
|
-
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
31
|
-
Provides-Extra: examples
|
32
|
-
Requires-Dist: fastapi>=0.104.0; extra == 'examples'
|
33
|
-
Requires-Dist: uvicorn>=0.24.0; extra == 'examples'
|
34
|
-
Description-Content-Type: text/markdown
|
35
|
-
|
36
|
-
# EidosUI 🎨
|
37
|
-
|
38
|
-
A modern, flexible Tailwind CSS-based UI library for Python web frameworks. Built for maximum developer flexibility while providing excellent defaults.
|
39
|
-
|
40
|
-
|
41
|
-
## Abstractions
|
42
|
-
|
43
|
-
- **Themes:** A Theme is a series of CSS variables. See `theme/dark.css` and `theme/light.css` for examples
|
44
|
-
- **Theme Switching** is done in `static/eidos-ui.js` this is all AI generated and not looked at yet so probably bad
|
45
|
-
- **Styles** are in `styles.py` where we define data classes based on the css variables defined in the themes. These are a collection of class strings.
|
46
|
-
- **components** are fasttags that FT components by default. For example
|
47
|
-
|
48
|
-
```python
|
49
|
-
def H1(*content, cls: str = typography_styles.h1, **kwargs) -> ft.H1:
|
50
|
-
"""Semantic H1 heading"""
|
51
|
-
return ft.H1(*content, cls=cls, **kwargs)
|
52
|
-
|
53
|
-
def Mark(*content, cls: str = typography_styles.mark, **kwargs) -> ft.Mark:
|
54
|
-
"""Highlighted text"""
|
55
|
-
return ft.Mark(*content, cls=cls, **kwargs)
|
56
|
-
|
57
|
-
def Small(*content, cls: str = typography_styles.small, **kwargs) -> ft.Small:
|
58
|
-
"""Small text"""
|
59
|
-
return ft.Small(*content, cls=cls, **kwargs)
|
60
|
-
```
|
61
|
-
|
eidosui-0.1.0.dist-info/RECORD
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
eidos/__init__.py,sha256=oWhLo8ygzM0UqtrjBi982PH2QVOvwbR4wSL9-bi2pXM,1316
|
2
|
-
eidos/components/__init__.py,sha256=xzsUHY6_fu7ULC_w4uud7eKJDWaKRnYP1jIREiTm7tA,484
|
3
|
-
eidos/components/forms.py,sha256=DqmTIhn8IuiW9YpuXJjbVEbeJCWimD3c1i3yL9am94s,1474
|
4
|
-
eidos/components/typography.py,sha256=SH3ojU4y3ptCQlqWNDfX_lrBrZOhf2GTDEVcQzMy3_o,2648
|
5
|
-
eidos/core/__init__.py,sha256=qmxQ0TCEVgH99WLilQ2W9tS9bojte_WCvjWbPcEC0-A,487
|
6
|
-
eidos/core/helpers.py,sha256=MOmSG0sPM1Ts3qiVJopGNfh4R88GIeVpXYM_IPXlGRY,2780
|
7
|
-
eidos/core/styles.py,sha256=WwrbsAPgSAkROzjnw96mJb4dWFrHnLLZEOTXWklSq9M,6773
|
8
|
-
eidos/core/utils.py,sha256=xOVx-sjnrbEe61L5gusE_vSwfpdgi6iX4MEMEMVVwc8,1427
|
9
|
-
eidos/static/eidos-ui.js,sha256=14M8M94fpcFkVyMy3D0E_0-im2coIH500rIhnfx1pj0,2378
|
10
|
-
eidos/themes/dark.css,sha256=quSqOfVq1zOoD44NkxpoX-ZZshRmy9MicUg5jXAKhTw,1697
|
11
|
-
eidos/themes/light.css,sha256=EzG7NTDD8JnvNWJWRrW_jaumUFx5BMZJtNPn4imqInU,3206
|
12
|
-
eidosui-0.1.0.dist-info/METADATA,sha256=JaZWZ3B0DjaOhyr9V1SqPmXU12NKF1zBwdkvPhW8i_I,2647
|
13
|
-
eidosui-0.1.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
14
|
-
eidosui-0.1.0.dist-info/RECORD,,
|
File without changes
|