materialshapes-python
A complete Python port of the official Material Design 3 shape system from Android. It includes rounded polygon generation, shape morphing, and smooth transitions based on Google's original Java source.
Uses pycairo for 2D graphics rendering. Can be used with Python GUI libraries. A Kivy widget is already included.
Docs
There is no separate documentation yet.
The examples serve as the documentation and cover all major features. Check them out to understand usage and integration.
Install
You can easily install it from pip by executing:
pip3 install materialshapes --upgrade
Examples
File: kivy.py
Run using:
python3 -m examples.kivy
https://github.com/user-attachments/assets/31c2ae03-9be8-4a34-b95d-b7e7219773b1
File: loading_indicator.py
Run using:
python3 -m examples.loading_indicator
https://github.com/user-attachments/assets/c52553f1-c4f0-4af1-8360-f72acfd78949
Metadata
Release files for materialshapes 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| materialshapes-0.3.tar.gz | 25.4 kB | Without provenance | Details for materialshapes-0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| materialshapes-0.3-py3-none-any.whl | Python 3 | none | any | Details for materialshapes-0.3-py3-none-any.whl |
Total release size: 54.6 kB
Release files / materialshapes-0.3.tar.gz
| Download URL | materialshapes-0.3.tar.gz |
|---|---|
| Size | 25.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
141d4ceaaf4122379eb8147805d9a87e8e11bde90b03529cbae1a1689dfe6868
|
|
BLAKE2b-256 checksum How to use checksums |
5c708fe83033136092da1babf46222964980de564bb0893fce73ed8e42b71e49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / materialshapes-0.3-py3-none-any.whl
| Download URL | materialshapes-0.3-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2aa1ef131bc67bbd1f6a1e03efd0419cf148fd204bff69a5b41bbce09fe0e2f4
|
|
BLAKE2b-256 checksum How to use checksums |
731619287efc5878ec8658269bb23d456f62774bbd57ffa4cb4602b34dd1e602
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for materialshapes 0.3
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.