Metadata-Version: 2.4
Name: neonik
Version: 0.1.90
Summary: The NEONIK runtime library, including NEON and scripts to interact with the backend.
Author: Vincent Ehrmanntraut
Author-email: Vincent Ehrmanntraut <ehrmanntraut@itsec.rwth-aachen.de>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
License-File: NOTICE
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.14
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Security :: Cryptography
Requires-Dist: aiofiles>=25.1.0
Requires-Dist: aiohttp>=3.13.3
Requires-Dist: fastapi>=0.135.1
Requires-Dist: humanize>=4.15.0
Requires-Dist: psutil>=7.2.2
Requires-Dist: pytz>=2026.1.post1
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: requests>=2.32.5
Requires-Dist: tqdm>=4.67.3
Requires-Dist: uvicorn>=0.42.0
Requires-Dist: zstd==1.5.7.2
Requires-Python: >=3.14
Project-URL: Repository, https://gitlab.com/rwth-itsec/neonik
Project-URL: Issues, https://gitlab.com/rwth-itsec/neonik/-/issues
Description-Content-Type: text/markdown

# neonik

The runtime library of [NEONIK](https://gitlab.com/rwth-itsec/neonik), a framework for running and evaluating
experiments with secure multi-party computation protocols built on NEON and [MP-SPDZ](https://github.com/data61/MP-SPDZ).
Evaluation projects depend on it to describe their experiments and to talk to the NEONIK backend, and the Kubernetes
jobs use it to determine program hashes, compile programs and run experiments.

It contains

* `neonik.neon`: NEON, which configures, compiles and runs MP-SPDZ programs and measures them,
* `neonik.spec`: the project and experiment specification (`neonik-project.yml`, `target-experiments.yml`),
* `neonik.experiment_setup`: the glue that calls a project's `setup_experiment()`,
* the command-line tools below.

## Command-line tools

| Command | Purpose |
|---|---|
| `neonik auth` | Store the project credentials shown in the web interface in `.neonik-creds.yml`. |
| `neonik push` | Validate experiments against `neonik-project.yml` and push them to the backend. |
| `neonik pull` | Download all new computation reports of the project. |
| `neonik run` | Run experiments locally, without the backend. |
| `neonik setup install-mpspdz` | Install MP-SPDZ for local runs. |
| `neonik-internal-cli` | Used by the jobs, not meant to be called by hand. |

`neonik push` and `neonik pull` read the project credentials from `.neonik-creds.yml`, which `neonik auth` creates.
The old command names still work as deprecated aliases.

## Documentation

* [Your first evaluation](https://gitlab.com/rwth-itsec/neonik/-/blob/main/documentation/tutorials/first-evaluation.md)
* [Project and experiment specification](https://gitlab.com/rwth-itsec/neonik/-/blob/main/documentation/reference/project-spec.md)
* [Command-line tools](https://gitlab.com/rwth-itsec/neonik/-/blob/main/documentation/reference/cli.md)

## License

GNU General Public License v3.0 or later, see [LICENSE](LICENSE) and [NOTICE](NOTICE).
