Materialize
Materialize web components for enaml web.
Installing
Install with pip
pip install materialize-ui
Usage
Simply have your page/templates extend the base MaterializePage as follows.
from web.components.api import *
from web.core.api import Block
from materialize.page import MaterializePage
enamldef Page(MaterializePage):
stylesheets = [
'/static/custom.css',
]
scripts = [
'/static/custom.js'
]
Block:
block = parent.header
H2:
text = "Page header"
Block:
block = parent.content
P:
text = "Content..."
Block:
block = parent.footer
Div:
text = "Page footer"
See enaml-web for more info.
Metadata
Release files for materialize-ui 0.1.19
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| materialize_ui-0.1.19-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for materialize_ui-0.1.19-py2.py3-none-any.whl |
Release files / materialize_ui-0.1.19-py2.py3-none-any.whl
| Download URL | materialize_ui-0.1.19-py2.py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e777859d7d0c4865262f9ba1a607e66ae5d194e81d89a49f10b02622eedee0e7
|
|
BLAKE2b-256 checksum How to use checksums |
8377a5d184fbb1050422c7eca3fec27e1a36371243830ed0e532f10923b1fa4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.29.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/6.6.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.11.3
|
Security for materialize-ui 0.1.19
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.