pydtype
Translate data type specifiers between common frameworks.
Features
This library provides:
- Translator of data type spacifier such as format character in struct and dtype in Numpy.
Installation
pip install pydtype
Usage
To translate struct format h (2-byte integer) to Numpy format, run the following script.
>>> import pydtype
>>> pydtype.translate("h", "struct", "numpy")
'i16'
This library is using Semantic Versioning.
Release files for pydtype 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydtype-0.1.0.tar.gz | 6.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydtype-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.2 kB
Release files / pydtype-0.1.0.tar.gz
| Download URL | pydtype-0.1.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c49f923ace1ff15b48e9e5601007146f33ec95396c97223928189aabc5dd3f20
|
|
BLAKE2b-256 checksum How to use checksums |
72bb79ae9fbf31696538b965a0c4708588b6697c466c80d0cf8eda7e2bf8621c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.14 Linux/5.15.0-1020-azure
|
Release files / pydtype-0.1.0-py3-none-any.whl
| Download URL | pydtype-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6555c1493b33900888904edbaef076eb4797cade7d7c7ce52dc4c14ae62f61eb
|
|
BLAKE2b-256 checksum How to use checksums |
b24c6fd6bd886fad6174344df6666799e00b1ff44cc911824e809fc01a6d866f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.14 Linux/5.15.0-1020-azure
|