Components and tools for TGZR nice apps
Project description
tgzr.nice
Components and tools for TGZR Nice apps
Usage
Static Files
Register the assets and medias folders
import tgzr.nice.static_files
tgzr.nice.static_files.register()
then, use like this:
# TODO: write this
Note: if you're using a tgzr.nice component which rely on static files to be
registered, it will have call register() and you won't need to do it.
Get a static file
import tgzr.nice.static_files
tgz_thumbnail_path = tgzr.nice.static_files.get_asset_path(group='tgzr', name='tgzr_thumbnail.png')
tgzr_logo_svg_content = tgzr.nice.static_files.get_asset_content(group='tgzr', name='tgzr_logo_bgblack.svg')
some_video = tgzr.nice.static_files.get_media_path(group='group-name', name='video-name.mp4')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tgzr_nice-0.1.4.tar.gz
(237.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tgzr_nice-0.1.4-py3-none-any.whl
(241.2 kB
view details)
File details
Details for the file tgzr_nice-0.1.4.tar.gz.
File metadata
- Download URL: tgzr_nice-0.1.4.tar.gz
- Upload date:
- Size: 237.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"KDE neon","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41333586dc9fb16b64fb84dabf8441ce2ccf523f1d830bcc31cf24b976622f4d
|
|
| MD5 |
e5a5c692537ad674f81f740c2aff510d
|
|
| BLAKE2b-256 |
65da6e7490e5f93f1e0de9c9ee460b9b5ca322bf92335d6f002eec277c2db8bb
|
File details
Details for the file tgzr_nice-0.1.4-py3-none-any.whl.
File metadata
- Download URL: tgzr_nice-0.1.4-py3-none-any.whl
- Upload date:
- Size: 241.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"KDE neon","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5e689a98f60fa384cfa7a4773dc41e983145ddd1467b50616b36cfd8fc0cf51
|
|
| MD5 |
f9184bbec36d6362edd6b66993d6dcfb
|
|
| BLAKE2b-256 |
35a6d97b3a2d135deeba8e78c4541e8ca07596cb280e4bad983ec0aad3f3d50a
|