Skip to main content

assertshape

Unit Test Status PyPI PyPI - Python Version

Python library for asserting n-dim array shapes using Einstein notations.

Examples:

from assertshape import assertshape

assertshape("nmk,mkn", [(1,2,3), (2,3,1)])
assertshape("nmk,m_n", [(1,2,3), (2,42,1)])
assertshape("nmk,mkn...", [(1,2,3), (2,3,1,4,5,6)])

Metadata

Release files for assertshape 0.0.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 assertshape 0.0.1
File Size Uploaded
assertshape-0.0.1.tar.gz 5.1 kB Details

Built distribution (wheel)

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

Total release size: 10.2 kB

Release files / assertshape-0.0.1.tar.gz

Download URL assertshape-0.0.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eb845fa589cdbf53d2f7a971b4fa76e9d8c8de56eced1a29a5a36a5d36dfca0a
BLAKE2b-256 checksum
How to use checksums
c306638cf6db2c975867e57a266a995c4d4b71e5f69561c25aff7e10fbd1df97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / assertshape-0.0.1-py3-none-any.whl

Download URL assertshape-0.0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bd87aaca72a0281c8f7008a3f1284de3b0d8976eb22268d9b7c624bfbf916c1
BLAKE2b-256 checksum
How to use checksums
c110070bfa2d6efc50c4702a9e81d72e4a8c41d7cb4fd461453d3015a0a438f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.1 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