Skip to main content

arraylib — Library for array computing in Python

The arraylib package aims to provide a standardised interface to array implementations such as NumPy, JAX, PyTorch, etc.

The standard array functions are modelled on the Array API, and should be compatible with it.

The goal of the arraylib package is to extend the standard with many of the special functions which are necessary for scientific computing.

Usage

Install the arraylib package and an array implementation, for example NumPy. Load both, then obtain an arraylib namespace by binding the numpy array namespace:

>>> import arraylib
>>> import numpy as np
>>> xp = arraylib.bind(np)
>>> xp.log
<ufunc 'log'>
>>> xp.log is np.log
True
>>> xp.sinpi(2.5)
1.0

Metadata

Release files for arraylib 0.0.0

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

Source distribution (sdist)

Source distribution for arraylib 0.0.0
File Size Uploaded
arraylib-0.0.0.tar.gz 13.5 kB Details

Built distribution (wheel)

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

Total release size: 31.1 kB

Release files / arraylib-0.0.0.tar.gz

Download URL arraylib-0.0.0.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3cece839de8bb16028b6c5e17e056ee97d663b5efaa2ebe0488c0a58e3204a86
BLAKE2b-256 checksum
How to use checksums
7b02c5a3af0c47c58a3136b6ce602627b3c8338de7022575e6b27c4a49af0d2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / arraylib-0.0.0-py3-none-any.whl

Download URL arraylib-0.0.0-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfc9a71edc31ebf846026b1683cdfd0df0619f46225b31bec618240ce1e8ebb6
BLAKE2b-256 checksum
How to use checksums
7cd0b8da0c283e7c60c7a5d73981660f6bea5254683310a76b8084ce7625cc63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.0.0 This release

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