tgzr command line interface
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.tar.gz
(216.9 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-py3-none-any.whl
(218.3 kB
view details)
File details
Details for the file tgzr_nice-0.1.tar.gz.
File metadata
- Download URL: tgzr_nice-0.1.tar.gz
- Upload date:
- Size: 216.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a99984417e5814ccf8c456003deff8aa88ccb918480cc17e5466e859b48596a6
|
|
| MD5 |
1e97964f1af3b280c1c0dd6fb64d8825
|
|
| BLAKE2b-256 |
43a37214d8bc26eda23f9a1cbf314fc765cfd3078161e4de7b728fabe88dd99f
|
File details
Details for the file tgzr_nice-0.1-py3-none-any.whl.
File metadata
- Download URL: tgzr_nice-0.1-py3-none-any.whl
- Upload date:
- Size: 218.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
833c9e3f8657d7f956c490e9caaf13f557aaa35fe14622437d70c09cb365568e
|
|
| MD5 |
8a97ab3c5f7c044b51cf812633c42d68
|
|
| BLAKE2b-256 |
6981ae3140900b86eb0e4c52b3511fee522324314f3e693e09b3236d502e16c8
|