Pre-release
This release is a pre-release and may not be stable for production use.
HSL Builder
Python pip package for creating HSL Elements.
Usage:
#import hsl builder
from hsl_builder import Button
from hsl_builder.Elements import Actionable, ActionableType, URI
# Create a button
button = Button("Title")
# Create link actionable
actionable = Actionable("actionable text", ActionableType.APP_ACTION, URI.LINK)
actionable.payload = {
'url': 'https://www.haptik.ai'
}
# Add actionable to button
button.actionables.append(actionable)
# generate hsl for our button object
hsl = button.to_hsl()
Release files for hsl-builder 0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hsl_builder-0a1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hsl_builder-0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / hsl_builder-0a1.tar.gz
| Download URL | hsl_builder-0a1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c8fad09443470645184284d1c87cd242d673f60f061c6c8e27832940956218c2
|
|
BLAKE2b-256 checksum How to use checksums |
2e858786b499d5e08a4907f4c6a9774b64f22b053b3f8eb92d58f230f3c2dcb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|
Release files / hsl_builder-0a1-py3-none-any.whl
| Download URL | hsl_builder-0a1-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eac7036fd64eb62a9f47fc62f6bb445a2c3ba046381062b6a801f4ff2e949e36
|
|
BLAKE2b-256 checksum How to use checksums |
a46d09ff69a15ac23e6c80b9c2028cb1846ad873ba05b4e454bc6f68be2fc56e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
|