Skip to main content

arraylias

License

This repo is still in the early stages of development, there will be breaking API changes

Arraylias is an open-source Python library providing single-dispatching tools centred around the construction of an aliased module. Aliased modules are built by initially registering "libraries" consisting of a collection of types, then registering different versions of a given function in the aliased module for each underlying type library. When using the aliased module, function calls are automatically dispatched to version of the function for the correct library based on the type of the first argument.

Arraylias contains default pre-built aliased versions of both NumPy and Scipy, with additional registration of the JAX and Tensorflow array libraries. This enables writing NumPy and Scipy like code that will execute on NumPy, JAX, and Tensorflow array objects as if it had been written in the respective native libraries. If necessary, these default aliases can be further extended to fit the needs of the application.

Reference documentation may be found here, including tutorials, user guide, and API reference.

Installation

Arraylias is installed by using pip:

pip install arraylias

Contribution Guidelines

If you'd like to contribute to Arraylias, please take a look at our contribution guidelines. This project adheres to Qiskit's code of conduct. By participating, you are expected to uphold this code.

We use GitHub issues for tracking requests and bugs. For questions that are more suited for a forum we use the Qiskit tag in the Stack Exchange.

Authors and Citation

License

Apache License 2.0

Metadata

Release files for arraylias 0.1.1

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

Source distribution (sdist)

Source distribution for arraylias 0.1.1
File Size Uploaded
arraylias-0.1.1.tar.gz 16.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for arraylias 0.1.1
File Interpreter ABI Platform
arraylias-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 37.8 kB

Release files / arraylias-0.1.1.tar.gz

Download URL arraylias-0.1.1.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
80678a00a6a716e63379efdad54b9ea6454885021189d6241facd7f3991d5200
BLAKE2b-256 checksum
How to use checksums
f57e2b6290e0e191770cdaf225d326c12b677f0e287b07371e3c5b59cf4e2b35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / arraylias-0.1.1-py3-none-any.whl

Download URL arraylias-0.1.1-py3-none-any.whl
Size 21.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
890ef262cd65e03dbca3bd655dac8236f40613ead7b5b4be7f519015142f8482
BLAKE2b-256 checksum
How to use checksums
5baf8e0078fb351a37726665753fe23523cf07ec6a14520380cee73259cae3a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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