Serialization for common Python objects.
Project description
Serialization for common Python objects.
Created to be used in a project, this package is published to github for ease of management and installation across different modules.
Features
This package is designed to serialize common Python object, and deserializes it back to the original (or compatiable) Python data type.
Supported data types:
- string:
str
-> deserialize tostr
- float:
float
&numpy.float_
-> deserialize tofloat
- integer:
int
&numpy.int
&numpy.uint
-> deserialize toint
- boolean:
bool
&numpy.bool_
-> deserialize tobool
- None:
None
&numpy.nan
-> deserialize toNone
- datetime:
datetime.datetime
,pandas.Timestamp
&time.struct_time
-> deserialize todatetime.datetime
- datetime64:
numpy.datetime64
-> deserialize tonumpy.datetime64
- date:
datetime.date
-> deserialize todatetime.date
- time:
datetime.time
-> deserialize todatetime.time
- timedelta:
datetime.timedelta
&pandas.Timedelta
-> deserialize todatetime.timedelta
- timedelta64:
numpy.timedelta64
-> deserialize tonumpy.timedelta64
- decimal:
decimal.Decimal
-> deserialize todecimal.Decimal
- complex:
complex
&numpy.complex_
-> deserialize tocomplex
- bytes:
bytes
,bytearray
&numpy.bytes_
-> deserialize tobytes
- list:
list
of above supported data types -> deserialize tolist
- tuple:
tuple
of above supported data types -> deserialize totuple
- set:
set
&frozenset
of above supported data types -> deserialize toset
- dict:
dict
of above supported data types -> deserialize todict
- numpy.ndarray:
numpy.ndarray
of above supported data types -> deserialize tonp.ndarray
- pandas.Series:
pandas.Series
of above supported data types -> deserialize topandas.Series
- pandas.DataFrame:
pandas.DataFrame
of above supported data types -> deserialize topandas.DataFrame
Installation
Install from PyPi
pip install serializor
Install from github
pip install git+https://github.com/AresJef/Serializor.git
Compatibility
Supports Python 3.10 and above.
Acknowledgements
serializor is based on several open-source repositories.
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
serializor-1.0.1.tar.gz
(450.5 kB
view hashes)
Built Distributions
Close
Hashes for serializor-1.0.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4975d2f78607537f026bd00aaf878af0d60b6b2dced150880be2a8731bc4f0b |
|
MD5 | 2c33e5ee6ce0927d2b8bcea862660db4 |
|
BLAKE2b-256 | f13385bc5d53e798c9afaa152dfd2844105a2aed5849806c3d4a0c2689606021 |
Close
Hashes for serializor-1.0.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24de05c222b96aecac52bd4c75d54660b4ccd25bd02bc3454482ab4997c4c1b6 |
|
MD5 | d7d823f118707c013dd0a5bd3deb4736 |
|
BLAKE2b-256 | 54ba01425a3aa347b532f9c92e44cea1c99d13cb1743b0830c0d643902f6186f |
Close
Hashes for serializor-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 522b341495f974ebb9768663d3e6dac7c005753ea5004409486da8c06f4c81c9 |
|
MD5 | 77276f88fdea63f1c2a55dc269524417 |
|
BLAKE2b-256 | f2574bee4cec8efeb29246acecb2504416d9e41cb2660422d17c92736d60fffe |
Close
Hashes for serializor-1.0.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 506833abc48b9577c7d9e912e3b62dce2a180af4ca332f57ca4290d54da6bae7 |
|
MD5 | a27c07482ee6019daf0557b1e4f516c6 |
|
BLAKE2b-256 | 5300f546d35013c3d369fb6c677a310ca226be78d4c3814b9315ba9b2a102a08 |
Close
Hashes for serializor-1.0.1-cp312-cp312-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f155206636b137d09299c2fbcd23f5610eff8127247842d319c7873efc297ef |
|
MD5 | f016e9496de5c0959c3acd83c4ee64ec |
|
BLAKE2b-256 | eb1cda30316c20a9d57fd206a1b9d04cff0ce5d4ea05c9a515e5cf05b991429b |
Close
Hashes for serializor-1.0.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 531e09c6b59b0c4783dd75127fabf5dfc5a72b4685bdc8482910d7026ae9ec01 |
|
MD5 | bb18bd6f2f608dd8929e521e8577eb29 |
|
BLAKE2b-256 | b33feff66e008f554eadd2e9f78fea9d490b4cbfb1bda4cf1e195cb6a1123e6e |
Close
Hashes for serializor-1.0.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7af5c298944420c3bfe0430ba5419f48cc1ab5c93474027f9655247fe3fbd548 |
|
MD5 | a1632a3b6196504a588c31b3388660ac |
|
BLAKE2b-256 | 7e7908f7aacda01906fd7a9ec3c8b8a55a2ca8ef2a8371ce9dbdb4e68e6cdc72 |
Close
Hashes for serializor-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4a0bbba5f4bfae73e1486eaf720b2db70a545b033a7eacdba2af8e606a80b25 |
|
MD5 | 0265acaf1cc39e6e6679b2a9509a4540 |
|
BLAKE2b-256 | e4c27491acdabffef2c795aa3c38dd21c6d4635de2c318083a29f3569336273a |
Close
Hashes for serializor-1.0.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2938381c0ee5dfdba93fd329400ec823fe6e9f4f456eda256e86eeeb222eec9f |
|
MD5 | fbe5ffb57cc4564bbc1316c7732cafe3 |
|
BLAKE2b-256 | 0e62c6bbf3b1708d825bf068597d8bf878b8a9e22b64b3c04c2e76a65d81685d |
Close
Hashes for serializor-1.0.1-cp311-cp311-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbd2b61e3f287464b9222ffec9866bbe03e0652ea6d5f8ad621fa3bfb5c5839 |
|
MD5 | 0f8674a491be06874bb018fbe6dea314 |
|
BLAKE2b-256 | b4ae58c0f83307f211fe925541e90bdda027771d8c40d13d2a04c7ca861a953a |
Close
Hashes for serializor-1.0.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1f9e7c592e670e8bf6d2bd7894cea87849028aa9e30ded16e598c4580f5ecc1 |
|
MD5 | 0c7df7dcffe35c21e28be3be0f1710d4 |
|
BLAKE2b-256 | 67c33274a1b958d0c68ff429f070bfa9f82ad8b4275587eaa436311091060687 |
Close
Hashes for serializor-1.0.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9e266879d19e646f534e2baaf51e9af6869905f62b46506a8921f935614a380 |
|
MD5 | 62370f475e6dc8cf20ed1ce284fbfdf2 |
|
BLAKE2b-256 | 830809f9f850993527f6caf9ce39f4b6bd2d7aa366f232f09e0be93d93957e8c |
Close
Hashes for serializor-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8006f81aaca5c9f7c80f40111b99459b468d2336a906efccf840a737669f5713 |
|
MD5 | 0db77170a31b2a1734a5cf9fdfa1ea45 |
|
BLAKE2b-256 | c496f55bd3e98735e3887fc676030339956cf6fa37d3663f83386360c5f31622 |
Close
Hashes for serializor-1.0.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e29337583b9d2ea29ff4776bac5b4bf10c4ea8801afdfc8f94dfe3d784443f84 |
|
MD5 | e5119c3bc59871843fa75367602e1471 |
|
BLAKE2b-256 | f8ecdbd43d52e91d94c0f4d0d62e62230e6cf3b9f7daf443f617df6de7bbbc3f |
Close
Hashes for serializor-1.0.1-cp310-cp310-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70f255982ee98c1bbacd4c6d23894a055c6e3ff04b575184f34c132f4d4bceab |
|
MD5 | 886cbf3fe85d2ced6199e79840aee163 |
|
BLAKE2b-256 | f622915390196351928852143245a74339bb44f1c1d1bf4fe9a20b574628f720 |