Unique Interface
Build a black-and-white chat or file-review panel inside Colab, JupyterLab, or a VS Code Python notebook. Both components use the Unique logo. The package renders through ipywidgets and runs callbacks in the notebook kernel.
%pip install unique-interface
from unique_interface import ChatInterface
def reply(message, history):
return f"You wrote: {message}"
chat = ChatInterface(reply, title="My chat").launch()
Chat supports send, retry, clear, and per-instance conversation history. The callback receives the new text and previous messages as role/content dictionaries. Supply your own model or Python function. A failed callback leaves the conversation available for retry.
from unique_interface import FileInterface
def inspect_file(path, folder):
return f"{path.stat().st_size} bytes received", None
panel = FileInterface(inspect_file, title="Inspect a file").launch()
The file callback receives a temporary input path and working directory. Return a plain-text summary and optionally a generated path for download. The input limit defaults to 10 MiB. In Colab enable the custom widget manager before launching. In local JupyterLab or desktop VS Code choose the Python kernel with this package installed.
Metadata
Release files for unique-interface 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| unique_interface-0.1.0.tar.gz | 12.6 kB | With provenance | Details for unique_interface-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| unique_interface-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for unique_interface-0.1.0-py3-none-any.whl |
Total release size: 24.0 kB
Release files / unique_interface-0.1.0.tar.gz
| Download URL | unique_interface-0.1.0.tar.gz |
|---|---|
| Size | 12.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8b438c3764f916b62553727f61434b326c23b0858442a2ccbe018c3680ab30b
|
|
BLAKE2b-256 checksum How to use checksums |
373ff0693b48c8a3dc965bc683dc4b1a8f199f64ec105fe40a37fb427e657440
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / unique_interface-0.1.0-py3-none-any.whl
| Download URL | unique_interface-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cab75a2ca92f920e215d651956d307642c2b6b76a820df38de01b64dfaf0aad
|
|
BLAKE2b-256 checksum How to use checksums |
3604796ee44ebadae27be41d6433555bd831204fa6594f494d9c84441c5086e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for unique-interface 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for unique_interface-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.