Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: moved to tgzr index

tgzr.nice_repository_browser

A nicegui base UI to browse and search python packages in any simple package repository (PEP-503) inspired by simple-repository-browser.

Usage

from pathlib import Path

from nicegui import ui

from tgzr.nice_repository_browser.repository_view import RepositoryView

async ui.page('/'):

    def on_package_clicked(event: RepositoryView.EVENTS.PackageClicedEvent):
        print(f"Package {event.package.name}'s {event.clicked_item} was clicked clicked.")

    repo_url :str = ...     # can be '/path/to/folder' or 'https://repo-url/simple'
    cache_path: Path | None = ...   # beware: cache is not yet implemented

    repo_view = RepositoryView(repo_url, cache_path)
    repo_view.events.on_package_clicked.subscribe(on_package_clicked)

    with ui.column():
        await repo_view.render()    
        

Demo

python -m tgzr.nice_repository_browser.demo

(You will need to edit demo.py and set you own repository paths first...)

Metadata

Release files for tgzr.nice_repository_browser 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tgzr.nice_repository_browser 0.0.1
File Size Uploaded
tgzr_nice_repository_browser-0.0.1.tar.gz 44.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tgzr.nice_repository_browser 0.0.1
File Interpreter ABI Platform
tgzr_nice_repository_browser-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 97.4 kB

Release files / tgzr_nice_repository_browser-0.0.1.tar.gz

Download URL tgzr_nice_repository_browser-0.0.1.tar.gz
Size 44.9 kB
Tags Source
SHA-256 checksum
How to use checksums
eed8d2db55acc9d183c7d5cabf8f62550d3657006e0d6a3fb92b2b3a64987494
BLAKE2b-256 checksum
How to use checksums
1c920dd9ebd0175f5f475ea7c8cf4e4bc5588e1df60d56a5406421e4b384f53e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}

Release files / tgzr_nice_repository_browser-0.0.1-py3-none-any.whl

Download URL tgzr_nice_repository_browser-0.0.1-py3-none-any.whl
Size 52.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2827dccc3673cc2ed5358bf5aaf8a72f8d75c42e164a51cadfc94b231d47b607
BLAKE2b-256 checksum
How to use checksums
271341219af4e4454ac53c1cc46df9abef5e9da613d61d1b6831d11df8c8cdd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","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}

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page