Skip to main content

Powerful and easy to use tool for working with various data interchange formats (json, yaml, etc.)

Project description

About

serialix is a powerful and easy-to-use tool that provides a unified interaction layer for various data interchange formats (DIF) like json, yaml, etc. Due to the how this tool designed, all the supported languages share the identical base between each other, meaning that process of working with those languages will be almost the same. Tool can also be extended for your purposes or even your own DIF language parser support.

Usage example

serialix is very easy to use:

>>> from serialix import Serialix                                # Import `Serialix` main class
>>> default_settings = { 'version': '1.23.2' }                   # Specify the default values for our file
>>> cfg = Serialix('json', './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.

  • 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 module installation and usage is located in documentation on this link

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

serialix-2.1.1a1.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

serialix-2.1.1a1-py3-none-any.whl (18.0 kB view details)

Uploaded Python 3

File details

Details for the file serialix-2.1.1a1.tar.gz.

File metadata

  • Download URL: serialix-2.1.1a1.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for serialix-2.1.1a1.tar.gz
Algorithm Hash digest
SHA256 a1abaea5a54bdb7b0f382f6c285fcea0918d4150a0aab9d2d2aa692fcc23611d
MD5 08f95f8d00c9af03633b4b434b968f1c
BLAKE2b-256 491e654eeffed9eb48b049202c365a73737f7d27eca597fdf25a17c3d63c6a81

See more details on using hashes here.

File details

Details for the file serialix-2.1.1a1-py3-none-any.whl.

File metadata

  • Download URL: serialix-2.1.1a1-py3-none-any.whl
  • Upload date:
  • Size: 18.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for serialix-2.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f157d8c7ab202db9dab2a335d65d429ae7979e2f562d5cf0a7428aa78653dd7
MD5 e4ddfc405993e2b6293aa846d9bcd04c
BLAKE2b-256 29cc084a564bd36151655410ddd7082a4f26980326b15a7fb5c8e83e79a13bb5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page