Skip to main content

Nada-Algebra

GitHub License GitHub Actions Workflow Status

Nada-Algebra is a Python library designed for algebraic operations on NumPy-like array objects on top of Nada DSL and Nillion Network. It provides a simple and intuitive interface for performing various algebraic computations, including dot products, element-wise operations, and stacking operations, while supporting broadcasting similar to NumPy arrays.

Features

Use Numpy Array Features

  • Dot Product: Compute the dot product between two NadaArray objects.
  • Element-wise Operations: Perform element-wise addition, subtraction, multiplication, and division with broadcasting support.
  • Stacking: Horizontally and vertically stack arrays.

Use Decimal Numbers in Nada

  • Rational Number Support: Our implementation of Rational and SecretRational allows the use of simplified implementations of decimal numbers on top of Nillion.

Installation

Using pip

pip install nada-algebra

From Sources

You can install the nada-algebra library using Poetry:

git clone https://github.com/NillionNetwork/nada-algebra.git
pip3 install poetry
poetry install nada-algebra

License

This project is licensed under the Apache2 License. See the LICENSE file for details.

Metadata

Release files for nada-algebra 0.3.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nada-algebra 0.3.4
File Size Uploaded Provenance Actions
nada_algebra-0.3.4.tar.gz 19.2 kB Without provenance Details for nada_algebra-0.3.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nada-algebra 0.3.4
File Interpreter ABI Platform Actions
nada_algebra-0.3.4-py3-none-any.whl Python 3 none any Details for nada_algebra-0.3.4-py3-none-any.whl

Total release size: 40.7 kB

Release files / nada_algebra-0.3.4.tar.gz

Download URL nada_algebra-0.3.4.tar.gz
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8fe57e4b2efd6abbda59660aad053fc1c1d13dedfa0e7109d9ecb11a173ca334
BLAKE2b-256 checksum
How to use checksums
1de1a679c29ff51db5721c39b17fbc765b087165e83610916a48024ef0334f39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

Release files / nada_algebra-0.3.4-py3-none-any.whl

Download URL nada_algebra-0.3.4-py3-none-any.whl
Size 21.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b9ac86f35b5ed29b12439c9aacf929287a6eafcbd5075ff51f05b25354794117
BLAKE2b-256 checksum
How to use checksums
1e2e008776939c153f1d5ade434611ff050d59a9015a4df570b6e1acbe1601c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.5.0-1021-azure

Security for nada-algebra 0.3.4

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page