Skip to main content

Tinyarray is a numerical array module for Python. The multi-dimensional arrays it provides are best thought of as (possibly nested) tuples of numbers that, unlike Python’s built-in tuples, support mathematical operations. Like tuples, tinyarrays are hashable and immutable and thus can be used as dictionary keys. The module’s interface is a subset of that of NumPy and hence should be familiar to many Python programmers. Tinyarray has been heavily optimized for small arrays: For example, common operations on 1-d arrays of length 3 run up to 35 times faster than with NumPy. When storing many small arrays, memory consumption is reduced by a factor of 3. In summary, Tinyarray is a more efficient alternative to NumPy when many separate small numerical arrays are to be used.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tinyarray-1.0.tar.gz (26.8 kB view details)

Uploaded Source

File details

Details for the file tinyarray-1.0.tar.gz.

File metadata

  • Download URL: tinyarray-1.0.tar.gz
  • Upload date:
  • Size: 26.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tinyarray-1.0.tar.gz
Algorithm Hash digest
SHA256 60cc58e57093e11faaab50b1b5f80bb65efdb8387fdcf186cccbbb8986ec0240
MD5 793885d8593ba39685509b042a3e9c26
BLAKE2b-256 702879457663be95066bfbacf4246009dced339fb32c25d3b7448ad05af1991f

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.5

1 file

1.2.4

1 file

1.2.3

1 file

1.2.2

1 file

1.2.1

1 file

1.2.0

1 file

1.1.0

1 file

1.0.5

1 file

1.0.4

1 file

1.0.3

1 file

1.0.2

1 file

This release

1.0 This release

1 file

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