Skip to main content

Nudantic

Numpy Array type compatible with Pydantic

from pydanctic import BaseModel
from nudantic import NdArray

class MyModel(BaseModel):
  array: NdArray

MyModel(array=np.array([1, 2, 3])).model_dump_json()
# {'array': [1, 2, 3]}

Metadata

Release files for nudantic 0.1.3

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

Source distribution (sdist)

Source distribution for nudantic 0.1.3
File Size Uploaded
nudantic-0.1.3.tar.gz 1.6 kB Details

Built distribution (wheel)

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

Total release size: 3.5 kB

Release files / nudantic-0.1.3.tar.gz

Download URL nudantic-0.1.3.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
912d7b7343a93579f8c53329c7c618a14ab983c6cbd390502adc9a3a869d71bd
BLAKE2b-256 checksum
How to use checksums
be407fee003bf3480f5523f8dd77dd50aee710bd9232463a73f152e4b6109899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / nudantic-0.1.3-py3-none-any.whl

Download URL nudantic-0.1.3-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
656cd3e5ee84ba480e421b81159b08c499b297a5ff1d449b46a952c3705d20bc
BLAKE2b-256 checksum
How to use checksums
0e41dda94f2b065f5b119d3b1a68a5f447ec9630518829d8e14717eff4de3479
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

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