Skip to main content

DumPy: NumPy except it's OK if you're dum

Project description

DumPy: NumPy except it's OK if you're dum

DumPy is an interface for (Jax's version) NumPy that tries to avoid all the endless sharp corners.

Installation

pip install dumpy-numpy

Or if you use UV and you want to play around without creating an environment, try this one-liner:

uv run --with dumpy-numpy --with ipython ipython

Example usage

import dumpy as dp
A = dp.Array([0,1,2])
B = dp.Array([0,10])
C = dp.Slot()
C['i','j'] = A['i'] + B['j']
C

This results in

Slot([[ 0 10]
      [ 1 11]
      [ 2 12]], shape=(3, 2))

More details

See dynomight.net/dumpy for full details.

Project details


Download files

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

Source Distribution

dumpy_numpy-0.1.4.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dumpy_numpy-0.1.4-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file dumpy_numpy-0.1.4.tar.gz.

File metadata

  • Download URL: dumpy_numpy-0.1.4.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for dumpy_numpy-0.1.4.tar.gz
Algorithm Hash digest
SHA256 803208b8d6851134abd6e05c9f254f9efccf98a18e28b4f795ed36de05efc7b1
MD5 137acfbb8b9d2037b99544184e0844a6
BLAKE2b-256 6004c8e0a0634727e6babf7969bb6179041bff18c3cc46be19db13af21cbdf21

See more details on using hashes here.

File details

Details for the file dumpy_numpy-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for dumpy_numpy-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6c80d34c27b9d30366aeaf7a733b657300ae360cb4f6f418f8558b11dd06baa4
MD5 78a78caefacf0946cb7fb19a0888e9c2
BLAKE2b-256 78247394649b3e7de2db6d8b1934024a7287d3d4c024f952b94ecf297f691d3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page