Skip to main content

Spil UI

Spil UI is part of Spil, the Simple Pipeline Lib.

It ships a dynamic Sid Browser and Action launcher.

Spil Qt UI

The Browser finds Sids (Scene IDs) using Spil's Finder classes.
It is dynamic, and adapts to the Sids length and content.

Spil UI also includes a simple Sid Search Bar.

Spil Qt UI Bar

The Bar allows quick keyboard navigation by using tab and arrow keys.

Both UIs is built using QtPy, and QDarkStyle, and work with PyQt5, PySide2, PyQt6, PySide6. (Spil works with python >=3.7)

They runs on all major DCCs as well as standalone. It was tested in Maya, Houdini, Nuke, and others.

ActionHandlers can be implemented to show and call actions matching the selected Sid.
An example ActionHandler is included (with "explore" and "open" actions).

Documentation

To lean more about spil, please visit spil.readthedocs.io

Usage documentation of spil_ui: Usage.

Technical overview of spil_ui: Tech Notes.

Installation

spil_UI can be pip installed.

pip install spil_ui

It installs spil_ui, spil and its dependencies.
It also installs spil_hamplet_conf, a sample configuration.

A Qt package must be installed separately.
Any QtPy compatible Qt version: PySide2, PySide6, PyQt5, or PyQt6.

pip install PySide2

Running

Initialize demo files and folders from the sample configuration:

import spil  # adds spil_hamlet_conf to the python path
import hamlet_scripts.save_examples_to_mock_fs as mfs
mfs.run()

Then you can run the app.

from spil_ui import app
app()

From within a DCC already running a QApplication Instance, run:

from spil_ui import open_browser
open_browser()

Limitations

Although it has been and is used in production, the current version of spil_ui is quite rudimentary. It is work in progress. There are still hard coded elements in the browser. General code cleanup is planned (typing, tests, etc.).

Spil_UI has been released as early beta to help demonstrate the usage of Spil.

Todo

  • code: cleanup, documentation, typing, formatting (apologies to you reader)
  • window opening size and position, better default, and store for user
  • stylesheet & choice of light/dark
  • tab order (and arrows left/right) for mouseless navigation
  • arrow keys (up/down) in listwidgets
  • last action in conf for double click / default action
  • double-click "unsticks"
  • actions refresh browser when done
  • use Getter to show images

Contact

Don't hesitate to get in touch : spil@xeo.info.
We will be happy to respond.

spil_ui is released under MIT licence.


This documentation is work in progress.

Metadata

Release files for spil-ui 0.1.0

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

Source distribution (sdist)

Source distribution for spil-ui 0.1.0
File Size Uploaded
spil_ui-0.1.0.tar.gz 22.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spil-ui 0.1.0
File Interpreter ABI Platform
spil_ui-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 54.3 kB

Release files / spil_ui-0.1.0.tar.gz

Download URL spil_ui-0.1.0.tar.gz
Size 22.3 kB
Tags Source
SHA-256 checksum
How to use checksums
11c33710c5d9f0b3680d1ac8fef14a2d233bf27a221838a7f52355c437a0bbae
BLAKE2b-256 checksum
How to use checksums
f6490729ba10e11c1fa750d9eca1f5e51181ba25b42498f42d93fec21a362b85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / spil_ui-0.1.0-py3-none-any.whl

Download URL spil_ui-0.1.0-py3-none-any.whl
Size 32.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0736f5f565752d7b6ba4fc56a01c1edeb8b55867dd36fdf0f45f5c494a2a8b7b
BLAKE2b-256 checksum
How to use checksums
c75c0a9f2a6df76ce40431e059df66a72554fbd9d06d722fd02a4adb91cc43ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.1.0 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