Skip to main content

POST Python type vocabulary: scalar dtypes, Array, Shape, layouts, DataFrame and Series annotations.

Project description

postyp

The POST Python type vocabulary: scalar dtypes (Float64, Int64, Bool, …), Array with Shape and layout qualifiers, and DataFrame/Series annotations.

postyp is the canonical, compiler-independent source of POST Python type metadata (spec §10). Conforming compilers introspect this module rather than duplicating dtype definitions; POST source files import their annotations from it:

from postyp import Array, Float64, Shape

def det3(m: Array[Float64, Shape[3, 3]]) -> Float64: ...

The reference compiler is distributed separately as post-py (import name post_py), which depends on this package. Development happens in openteams-ai/postpython.

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

postyp-0.2.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

postyp-0.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file postyp-0.2.0.tar.gz.

File metadata

  • Download URL: postyp-0.2.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for postyp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 21e19f1d97e3196bbac8be64556341b30a21b0e9b8961f96db289e61e2e4383a
MD5 4f2613cc3c943cfc6264cea5322b48ef
BLAKE2b-256 8f669486d665c31fff11cfa0bbf3cfed0e870591219adef3c86130fdbb7c7610

See more details on using hashes here.

File details

Details for the file postyp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: postyp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for postyp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd63f86bfea98577edca1a1c21a16b4927c52066775971bc828d9ee3c83b2167
MD5 f198aeb8ac3db5280b9d8527104795d5
BLAKE2b-256 a366b7b08f32817c6c6b0532177fa7c30c30d9cd18ac6816cc258d443a811f28

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