About
serialix is a powerful and easy-to-use tool that provides unified API for various human-readable data serialization formats (like json, yaml, etc). Due to the how this tool designed, all the supported formats share the identical base between each other, meaning that switching between them will be almost the same. This tool can also be extended for your purposes or even your own serialization format support.
Usage example
serialix is very easy to use:
>>> from serialix import Serialix, JSON_Format # Import `Serialix` main class
>>> default_settings = { 'version': '1.23.2' } # Specify the default values for our file
>>> cfg = Serialix(JSON_Format, './settings.json', default_settings) # Create serialix object for `json` format.
# Local file will be automatically created.
>>> cfg['version'] # Read the `version` key
'1.23.2'
>>> cfg['version'] = '2.0.0' # Change the `version` key value
>>> cfg['version'] # Read the values of `version` key again
'2.0.0'
>>> cfg.commit() # Commit the changes to local `settings.json` file
Supported Languages
List of currently supported languages parsers.
- Native Support
json
- External Support
ujson (replacement for python built-in json parser)
yaml (version <= 1.2)
toml
Languages, listed in Native Support are supported by python without any external packages, while External Support requires external packages to be installed. For more detailed information go here: Intallation Guide
Documentation
All information about this package installation and usage is located in documentation on this link
Metadata
Release files for serialix 2.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| serialix-2.4.1.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| serialix-2.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.7 kB
Release files / serialix-2.4.1.tar.gz
| Download URL | serialix-2.4.1.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99af1ad1c6b1a34cb07f73aab00b1c795afd41ce478da9ae448478fa080c677d
|
|
BLAKE2b-256 checksum How to use checksums |
ee1d7dab18cd87c64fccb2b737049d6affd97244df6f15baa03e4d041b723f2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / serialix-2.4.1-py3-none-any.whl
| Download URL | serialix-2.4.1-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc460eaf080181e3052d0fcd47bc915770b9ba062f4b831330ddb0c07fd5d525
|
|
BLAKE2b-256 checksum How to use checksums |
592c81a500da497be39dec6ddf395626d84be8d3b1feec4c2ee6972da92df405
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|