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.pyto 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.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py2saber-0.19.6.tar.gz | 2.6 MB | Without provenance | Details for py2saber-0.19.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py2saber-0.19.6-py3-none-any.whl | Python 3 | none | any | Details for py2saber-0.19.6-py3-none-any.whl |
Total release size: 5.1 MB
Release files / py2saber-0.19.6.tar.gz
| Download URL | py2saber-0.19.6.tar.gz |
|---|---|
| Size | 2.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4009eb1fd8d0b32b9707ae27f7c4eee9cff685ac05366fee3963aa96569c9fd
|
|
BLAKE2b-256 checksum How to use checksums |
22e6edd6bc7960b49e5da5b5ae6ff74f6084d5434ded1626070e643799ec0a57
|
| 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.6-py3-none-any.whl
| Download URL | py2saber-0.19.6-py3-none-any.whl |
|---|---|
| Size | 2.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6d0322b70033bea51ed2957969d3fc5e650717046601d96a480d32f4049d2db9
|
|
BLAKE2b-256 checksum How to use checksums |
aa86d2b781c7c0360efd65f5aa3da44ea0f7c071fa5251635c083755d564c00e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Security for py2saber 0.19.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.