A compact and efficient binary file serializer and deserializer for Python dictionaries.
Project description
This package provides a high-performance solution to reading and writing Python dictionaries to and from binary files. The main advantage over JSON or other text-based serialization formats is its compactness and speed, which can be a crucial factor when working with large data sets.
The package provides two main methods, write and read, to write a Python dictionary or list of dictionaries to a file and read it back. It intelligently manages the type mapping during serialization and deserialization to ensure type consistency.
The write method writes a dictionary (or a list of dictionaries) to a binary file. It automatically handles different data types including int, float, and str. The read method reads a binary file and reconstructs the dictionary. The package also provides support functions to deal with file operations.
This package is designed to be easy-to-use, lightweight and efficient, and is particularly suitable for applications that require handling large amounts of data or high-speed I/O operations.
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file seff-1.0-py3-none-any.whl.
File metadata
- Download URL: seff-1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d23f63c8edc3f71e3c79be9fc1a9bbf6cc0f2fef7b3b9e31f7f25fbb51daa85
|
|
| MD5 |
72c1d3142c53e59821c93ee78f55f790
|
|
| BLAKE2b-256 |
47c22a3d024caf7e1e6008b58ae5eb33c065f1829b29be6c3bee89ba11121ae0
|