Skip to main content

py2saber

py2saber is a Python library and command-line utility for working with OpenCore-based lightsabers. It is a re-implementation of Ian "Nuntis" Jukes excellent sendtosaber program, and extends on Nuntis' work in several ways:

  • Built-in support for multiple files, including wildcard support (e.g., *.RAW)
  • Detailed debugging output available
  • Reusable Python functions for easy incorporation into other applications

Lightsaber icons created by Nhor Phai - Flaticon

Installation

From source with system Python >=3.6:

  • Clone GitHub repository
  • Install requirements: pip install -r requirements.txt
  • Run python py2saber.py to display usage information

Or via pip:

  • pip install py2saber

Alternately, you can download pre-built binaries from the release page.

Usage

usage: py2saber [-h] [-v] [-i] [-l] [-s | -w] [-c] [-D] [--erase-all] [files ...]

A utility for working with OpenCore-based sabers, based on "sendtosaber" by Nuntis

positional arguments:
  files                 one or more files to upload to saber (separated by spaces)

options:
  -h, --help            show this help message and exit
  -v, --version         display version and author information, then exit
  -i, --info            read and display saber firmware version and serial number
  -l, --list            list all files on saber
  -s, --silent          exit without waiting for keypress (default)
  -w, --wait            wait for keypress before exiting
  -c, --continue-on-file-not-found
                        if one or more specified files do not exist, continue processing the remaining files (otherwise program will exit)
  -D, --debug           Show debugging information
  --erase-all           erase all files on saber

Metadata

Release files for py2saber 0.19.5

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

Source distribution (sdist)

Source distribution for py2saber 0.19.5
File Size Uploaded
py2saber-0.19.5.tar.gz 2.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for py2saber 0.19.5
File Interpreter ABI Platform
py2saber-0.19.5-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 MB

Release files / py2saber-0.19.5.tar.gz

Download URL py2saber-0.19.5.tar.gz
Size 2.6 MB
Tags Source
SHA-256 checksum
How to use checksums
a40e9d148b2941b15a91caee8ba5217a39e225ec987535a06e72a155e68a0847
BLAKE2b-256 checksum
How to use checksums
7fc5e64caf1441686e9c6e7f947deb83a912632fb28db244ca7bd7e06f452d32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release files / py2saber-0.19.5-py3-none-any.whl

Download URL py2saber-0.19.5-py3-none-any.whl
Size 2.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c60cf292eebad7cf715155ea829bf85be524a420ad2ff28566e85e29cb5d1ce0
BLAKE2b-256 checksum
How to use checksums
57f10a6c4bb04cc1e3953b997f7d90c3eb39f6469c57f15469d150307e0ee51f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.19.5 This release

2 release files

0.19.4

2 release files

0.18.6

2 release files

0.18.5

2 release files

0.18.4

2 release files

0.18.3

2 release files

0.18.2

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.7

2 release files

0.15.6

2 release files

0.15.5

2 release files

0.15.4

2 release files

0.15.3

2 release files

0.15.2

2 release files

0.15.1

2 release files

0.14

2 release files

0.13

2 release files

0.12.1

2 release files

0.12.0

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