Skip to main content

Qt UI for Spil, The Simple Pipeline Lib.

Project description

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.

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

spil_ui-0.1.0.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

spil_ui-0.1.0-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file spil_ui-0.1.0.tar.gz.

File metadata

  • Download URL: spil_ui-0.1.0.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for spil_ui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 11c33710c5d9f0b3680d1ac8fef14a2d233bf27a221838a7f52355c437a0bbae
MD5 0fd1ca35d629b21327f900a24d5a31cb
BLAKE2b-256 f6490729ba10e11c1fa750d9eca1f5e51181ba25b42498f42d93fec21a362b85

See more details on using hashes here.

File details

Details for the file spil_ui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: spil_ui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for spil_ui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0736f5f565752d7b6ba4fc56a01c1edeb8b55867dd36fdf0f45f5c494a2a8b7b
MD5 e2b9c2ac7addf884cd60d14c1903b24c
BLAKE2b-256 c75c0a9f2a6df76ce40431e059df66a72554fbd9d06d722fd02a4adb91cc43ff

See more details on using hashes here.

Supported by

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