numpy_plpython2u
transform between numpy and plpython2u
numpy_plpython2u · transform between numpy and plpython2u
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 101479 | numpy_plpython2u | numpy_plpython2u | 1.0 | LANG | MIT | C |
| Relationships | |
|---|---|
| Requires | plpython2u |
Usage
Sources:
- Official upstream README
- Official extension control file (numpy_plpython2u.control)
- Official extension SQL (numpy_plpython2u–1.0.sql)
numpy_plpython2u — Library to transform Postgres Array’s to numpy array’s directly without going through python lists. Use it when database code must run in or interoperate with this procedural language. Its extension dependencies must be installed and validated first.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
numpy_to_plpython2(val internal)is an extension function and returnsinternal.plpython2_to_numpy(val internal)is an extension function and returnsreal.
Requirements and Caveats
- The reviewed control file declares default version
1.0. - Install the confirmed extension dependencies first:
plpython2u. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.