Translate data type specifiers between common frameworks
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydtype-0.1.0.tar.gz
(6.1 kB
view details)
Built Distribution
File details
Details for the file pydtype-0.1.0.tar.gz
.
File metadata
- Download URL: pydtype-0.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.14 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c49f923ace1ff15b48e9e5601007146f33ec95396c97223928189aabc5dd3f20 |
|
MD5 | d3dd60f7d7817bcd804c5b47958b72ed |
|
BLAKE2b-256 | 72bb79ae9fbf31696538b965a0c4708588b6697c466c80d0cf8eda7e2bf8621c |
File details
Details for the file pydtype-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pydtype-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.14 Linux/5.15.0-1020-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6555c1493b33900888904edbaef076eb4797cade7d7c7ce52dc4c14ae62f61eb |
|
MD5 | a73b624bda3e83b3fcfb42767a101e7d |
|
BLAKE2b-256 | b24c6fd6bd886fad6174344df6666799e00b1ff44cc911824e809fc01a6d866f |