Skip to content

whiteRa2bit/serializers

Repository files navigation

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
      git clone https://github.com/whiteRa2bit/serializers.git
    2. Create venv
      python3 -m venv venv
      . venv/bin/activate
      
    3. Install requirements
      pip3 install -r requirements.txt
      
  • Docker

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

    • Build

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

      docker pull whitera2bit/soa_serializers
      

Usage

To get timing results and serialized data run:

  • If you used local setup:

    python benchmark.py
    
  • If you used docker:

    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

Releases

No releases published

Packages

No packages published