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]}

Download files

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

Source Distribution

nudantic-0.1.3.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

nudantic-0.1.3-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file nudantic-0.1.3.tar.gz.

File metadata

  • Download URL: nudantic-0.1.3.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for nudantic-0.1.3.tar.gz
Algorithm Hash digest
SHA256 912d7b7343a93579f8c53329c7c618a14ab983c6cbd390502adc9a3a869d71bd
MD5 e7a82a81d3dd5ad76a505136f38d747a
BLAKE2b-256 be407fee003bf3480f5523f8dd77dd50aee710bd9232463a73f152e4b6109899

See more details on using hashes here.

File details

Details for the file nudantic-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: nudantic-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for nudantic-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 656cd3e5ee84ba480e421b81159b08c499b297a5ff1d449b46a952c3705d20bc
MD5 5d9c56c9137074443b8481da069eb4a5
BLAKE2b-256 0e41dda94f2b065f5b119d3b1a68a5f447ec9630518829d8e14717eff4de3479

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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