Skip to main content

Python-based utility for OpenCore lightsabers

Project description

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

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

py2saber-0.18.4.tar.gz (2.6 MB view details)

Uploaded Source

Built Distribution

py2saber-0.18.4-py3-none-any.whl (2.5 MB view details)

Uploaded Python 3

File details

Details for the file py2saber-0.18.4.tar.gz.

File metadata

  • Download URL: py2saber-0.18.4.tar.gz
  • Upload date:
  • Size: 2.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for py2saber-0.18.4.tar.gz
Algorithm Hash digest
SHA256 42060fa45ab99ce7c6859102ae6921f8fc83473f53873d59d047c3a234ad5206
MD5 511c2dfcb22a72cb325aacaef3603200
BLAKE2b-256 d1ebbda54af1b2dfb3cc546ddb6b58a34db3aaa3f7284c11f22712a7301175fb

See more details on using hashes here.

File details

Details for the file py2saber-0.18.4-py3-none-any.whl.

File metadata

  • Download URL: py2saber-0.18.4-py3-none-any.whl
  • Upload date:
  • Size: 2.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for py2saber-0.18.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d5716fb08f5d482b55aa236dab7881e4018bcda2216c443533829232235c2804
MD5 63e8646b762946e79af32ea0d32ab967
BLAKE2b-256 0a826a88ca75b3e591a6dc60caff668170675bb9ee503acf50a3f3ddeb95db37

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