Skip to main content

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


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.5.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tgzr_nice-0.1.5-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file tgzr_nice-0.1.5.tar.gz.

File metadata

  • Download URL: tgzr_nice-0.1.5.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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

Hashes for tgzr_nice-0.1.5.tar.gz
Algorithm Hash digest
SHA256 5aa7438174beaabb075a39dcc456e204081153922a8c17e6c8bb3395e8e7fd09
MD5 5d28d29ae9fb97a9b232e42ae39b7518
BLAKE2b-256 dd021925c94930c44c79ca9aa03452dd0e7c4a54e39659d3cff5c77af9addea8

See more details on using hashes here.

File details

Details for the file tgzr_nice-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: tgzr_nice-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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

Hashes for tgzr_nice-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 1f85d8a9c3de49271d92656efbb4ef5981e76a948608d1615eb5c7da07b766a9
MD5 af63c3388a8b6d184ea8adc96a820ccf
BLAKE2b-256 20ce4ab550be5d0cbacd90ba99b95bee15e6e286d4ea8f21757f2e1c26ce39a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page