onneggs
onneggs is an optimizer designed to optimize CoolerSpace ONNX files. The repository for CoolerSpace can be found here.
Installation
Dependencies
onneggs requires eggwrap to be installed. This dependency is handled automatically if using PyPI. Additionally Cbc is also required.
PyPI
onneggs is on PyPI! Install onneggs with the following command:
pip install onneggs
Please note that we only support Linux distributions for this package, and only for python versions 3.10+.
Building from source on Linux
In order to build onneggs, eggwrap must first be built. Use the following commands to build onneggs from source:
git clone https://github.com/horizon-research/onneggs
cd onneggs
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install build
python3 -m build
Usage
onneggs can be invoked as a Python module:
python3 -m onneggs [INPUT_FILE] [OUTPUT_FILE]
Where [INPUT_FILE] is the path to the input ONNX file, and [OUTPUT_FILE] is the desired output path.
Metadata
Release files for onneggs 1.0.0
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 |
|---|---|---|---|---|
| onneggs-1.0.0.tar.gz | 6.1 kB | Without provenance | Details for onneggs-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onneggs-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for onneggs-1.0.0-py3-none-any.whl |
Total release size: 14.2 kB
Release files / onneggs-1.0.0.tar.gz
| Download URL | onneggs-1.0.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
932ae44c21d6b131d61ed66e52e5258b345a7f6d2f560d3ac0ffb25d3ebb2515
|
|
BLAKE2b-256 checksum How to use checksums |
045aff2067186dddbc73c4a0c91f2fbf71182596235fe512043b45bb479e3f64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / onneggs-1.0.0-py3-none-any.whl
| Download URL | onneggs-1.0.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3bf9c8d809c03e847b4f442ed5d0221b231e33c98d2bbce3808d14c0f6635d0
|
|
BLAKE2b-256 checksum How to use checksums |
fc2edb45f220fe7d5f2b16eb65c29a02cdf1a9d7c511f61ef80481201d5b1b75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Security for onneggs 1.0.0
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.