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
Release history Release notifications | RSS feed
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.2.tar.gz
(2.6 MB
view details)
Built Distribution
File details
Details for the file py2saber-0.18.2.tar.gz
.
File metadata
- Download URL: py2saber-0.18.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 085fcaf9332839b5e47ba47957eea47a1945bd98ef137083b94031f8b1114d30 |
|
MD5 | e5be37036f3cda9dd46b3168a5e2b5ff |
|
BLAKE2b-256 | 02ab87a73114bd679b488f49ce7d64f7fba8fa6756c4eedf262c76aa8f540b04 |
File details
Details for the file py2saber-0.18.2-py3-none-any.whl
.
File metadata
- Download URL: py2saber-0.18.2-py3-none-any.whl
- Upload date:
- Size: 2.6 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ec5c37cd88e2092c2129a988c5653420c3281602f7b2ec55e2bcdd1b225aafe |
|
MD5 | 931cc0a5941f15ccf01fd5bb41fc4126 |
|
BLAKE2b-256 | 3ef85cea16a8c061490a0da3e69c642cc97838ddb848e543b2a3dd3d522ea8e6 |