Skip to main content

GUI desktop application for Vexy Lines style transfer

Project description

vexy-lines-run

Desktop GUI for Vexy Lines style transfer — load images, .lines files, or video, pick a style, export.

Built with CustomTkinter. Runs on macOS, Windows, and Linux wherever Tk is available.

Install

pip install vexy-lines-run

Optional extras:

Extra What it adds
dnd Drag-and-drop file support (tkinterdnd2)
video Video processing (PyAV, OpenCV, resvg, svglab)
menus Native menu bar (CTkMenuBarPlus)
all Everything above
pip install "vexy-lines-run[all]"

Launch

vexy-lines-gui

Or:

python -m vexy_lines_run

From Python:

from vexy_lines_run import launch
launch()

Features

Three input tabs

  • Lines — load .lines files; export embedded previews or apply a new style
  • Images — load PNG, JPG, WEBP, and other rasters; style applied via the MCP API
  • Video — load MP4, MOV, MKV, or similar; per-frame style transfer with audio passthrough

Style picker

Select a primary style from any .lines file. Optionally select an end style — the two are interpolated linearly across the input sequence. Both show inline thumbnail previews.

Export formats

Format Notes
SVG Vector output from the style engine
PNG / JPG Raster, with optional 2× upscale
MP4 Re-encoded video with styled frames, optional audio
LINES Copy .lines files directly (Lines tab only)

Drag-and-drop onto any input list (requires [dnd])

Background processing — export runs on a daemon thread; the progress bar updates live and the UI stays responsive

Architecture

app.py          App(CTk)         — window, three tabs, style pickers, export bar
processing.py   process_export() — background thread dispatcher for lines/images/video
video.py        probe()          — PyAV-based video metadata and per-frame processing
widgets.py      CTkRangeSlider   — dual-handle range slider for video frame selection

Style transfer calls into vexy-lines-apy (MCPClient, apply_style, interpolate_style). Video uses PyAV for mux/demux and OpenCV for frame extraction.

Full documentation

Read the docs for the complete GUI guide, API reference, and more examples.

License

MIT

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

vexy_lines_run-1.0.10.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

vexy_lines_run-1.0.10-py3-none-any.whl (31.6 kB view details)

Uploaded Python 3

File details

Details for the file vexy_lines_run-1.0.10.tar.gz.

File metadata

  • Download URL: vexy_lines_run-1.0.10.tar.gz
  • Upload date:
  • Size: 9.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for vexy_lines_run-1.0.10.tar.gz
Algorithm Hash digest
SHA256 b5f290a6b06a171d536c8c2c545a18bd9a56b806d8bb9eca5dd6cfa877f8c715
MD5 085592170a9d3c858516c055bac0910f
BLAKE2b-256 09aa04ed056defb49735a58fb1ebf9e09a596403f51088c835c844c236bd0d3d

See more details on using hashes here.

File details

Details for the file vexy_lines_run-1.0.10-py3-none-any.whl.

File metadata

  • Download URL: vexy_lines_run-1.0.10-py3-none-any.whl
  • Upload date:
  • Size: 31.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for vexy_lines_run-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 1989e3b0100838fe6b35a5a342d6d0d6ed4407a7bf5c23e71a422cb413b84600
MD5 fc51749e247ad600c09ee99d38f53e60
BLAKE2b-256 f5360130299b17d41bc2c50e10b7bcdcbd4cf1e69d2e41233a48e64a73ec6d34

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