项目作者: whiteRa2bit

项目描述 :
Comparison of data serialization formats
高级语言: Python
项目地址: git://github.com/whiteRa2bit/serializers.git
创建时间: 2021-04-01T16:40:31Z
项目社区:https://github.com/whiteRa2bit/serializers

开源协议:MIT License

下载



Table of Contents




  1. About The Project


  2. Getting Started

  3. Usage

  4. Data

  5. License

  6. Contact


About The Project

Comparison of data serialization formats in Python

Getting Started

To get a local copy up and running follow these simple steps.

Installation

  • Local

    1. Clone the repo
      1. git clone https://github.com/whiteRa2bit/serializers.git
    2. Create venv
      1. python3 -m venv venv
      2. . venv/bin/activate
    3. Install requirements
      1. pip3 install -r requirements.txt
  • Docker

    You can either build an image yourself or pull a ready one from Dockerhub

    • Build

      1. docker build -t whitera2bit/soa_serializers . -f dockerfiles/Dockerfile
    • Pull from Dockerhub

      1. docker pull whitera2bit/soa_serializers

Usage

To get timing results and serialized data run:

  • If you used local setup:

    1. python benchmark.py
  • If you used docker:

    1. docker run --name soa_serializers -t whitera2bit/soa_serializers

Data

Serialized data is stored at: data/serialized

Deserialized data is stored at data/desirialized

Report at docs/report.xlsx

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Pavel Fakanov - pavel.fakanov@gmail.com

Project Link: https://github.com/whiteRa2bit/serializers