lazydf


Namelazydf JSON
Version 0.220726.3 PyPI version JSON
download
home_page
SummaryHopefully safe and deterministic serializer to binary format, including Pandas data
upload_time2023-01-28 14:02:52
maintainer
docs_urlNone
authordavips
requires_python>=3.10,<4.0
licenseGPL
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![test](https://github.com/lazydf/lazydf/workflows/test/badge.svg)
[![codecov](https://codecov.io/gh/lazydf/lazydf/branch/main/graph/badge.svg)](https://codecov.io/gh/lazydf/lazydf)
<a href="https://pypi.org/project/lazydf">
<img src="https://img.shields.io/github/v/release/lazydf/lazydf?display_name=tag&sort=semver&color=blue" alt="github">
</a>
![Python version](https://img.shields.io/badge/python-3.10-blue.svg)
[![license: GPL v3](https://img.shields.io/badge/License-GPLv3_%28ask_for_options%29-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![API documentation](https://img.shields.io/badge/doc-API%20%28auto%29-a0a0a0.svg)](https://lazydf.github.io/lazydf)


# lazydf - Serialization of nested objects to binary format 
An alternative to pickle, but may use pickle if safety is not needed.

Principle: Start from the simplest and safest possible and try to be fast.
* try orjson
  * `dict`, `str`, `int`, etc
* try bson
  * standard types accepted by mongodb
* serialize as numpy
  * ndarray, pandas dataframe/series

Non-deterministic and unsafe modes (pickle) are planned for the near future. 
 


## Python installation
### from package
```bash
# Set up a virtualenv. 
python3 -m venv venv
source venv/bin/activate

# Install from PyPI
pip install lazydf
```

### from source
```bash
git clone https://github.com/lazydf/lazydf
cd lazydf
poetry install
```

### Examples
Some usage examples.




## Grants
This work was partially supported by Fapesp under supervision of
Prof. André C. P. L. F. de Carvalho at CEPID-CeMEAI (Grants 2013/07375-0 – 2019/01735-0).

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "lazydf",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "davips",
    "author_email": "dpsabc@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/15/8f/020b28a4372a699aa97a759d61bac5b526deac0406acd984c81d379bd836/lazydf-0.220726.3.tar.gz",
    "platform": null,
    "description": "![test](https://github.com/lazydf/lazydf/workflows/test/badge.svg)\n[![codecov](https://codecov.io/gh/lazydf/lazydf/branch/main/graph/badge.svg)](https://codecov.io/gh/lazydf/lazydf)\n<a href=\"https://pypi.org/project/lazydf\">\n<img src=\"https://img.shields.io/github/v/release/lazydf/lazydf?display_name=tag&sort=semver&color=blue\" alt=\"github\">\n</a>\n![Python version](https://img.shields.io/badge/python-3.10-blue.svg)\n[![license: GPL v3](https://img.shields.io/badge/License-GPLv3_%28ask_for_options%29-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![API documentation](https://img.shields.io/badge/doc-API%20%28auto%29-a0a0a0.svg)](https://lazydf.github.io/lazydf)\n\n\n# lazydf - Serialization of nested objects to binary format \nAn alternative to pickle, but may use pickle if safety is not needed.\n\nPrinciple: Start from the simplest and safest possible and try to be fast.\n* try orjson\n  * `dict`, `str`, `int`, etc\n* try bson\n  * standard types accepted by mongodb\n* serialize as numpy\n  * ndarray, pandas dataframe/series\n\nNon-deterministic and unsafe modes (pickle) are planned for the near future. \n \n\n\n## Python installation\n### from package\n```bash\n# Set up a virtualenv. \npython3 -m venv venv\nsource venv/bin/activate\n\n# Install from PyPI\npip install lazydf\n```\n\n### from source\n```bash\ngit clone https://github.com/lazydf/lazydf\ncd lazydf\npoetry install\n```\n\n### Examples\nSome usage examples.\n\n\n\n\n## Grants\nThis work was partially supported by Fapesp under supervision of\nProf. Andr\u00e9 C. P. L. F. de Carvalho at CEPID-CeMEAI (Grants 2013/07375-0 \u2013 2019/01735-0).\n",
    "bugtrack_url": null,
    "license": "GPL",
    "summary": "Hopefully safe and deterministic serializer to binary format, including Pandas data",
    "version": "0.220726.3",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5560547b053bd26a999371e90fd08ca5444ba8fa8d7bcd632c243b87fd59e6bd",
                "md5": "724495b155559098f1aa10a86aa3df10",
                "sha256": "6e7647c1594cbcb84416db65e9be7730d7017f8fbd76aaa428a72efa6afd57b4"
            },
            "downloads": -1,
            "filename": "lazydf-0.220726.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "724495b155559098f1aa10a86aa3df10",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10,<4.0",
            "size": 18165,
            "upload_time": "2023-01-28T14:02:49",
            "upload_time_iso_8601": "2023-01-28T14:02:49.976495Z",
            "url": "https://files.pythonhosted.org/packages/55/60/547b053bd26a999371e90fd08ca5444ba8fa8d7bcd632c243b87fd59e6bd/lazydf-0.220726.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "158f020b28a4372a699aa97a759d61bac5b526deac0406acd984c81d379bd836",
                "md5": "69add6fbfd5aee510ab0e5cba90e1355",
                "sha256": "3f587451797f4fc1e964e3f79476bb59f95dfb6392c252034fd594ae2c466bdc"
            },
            "downloads": -1,
            "filename": "lazydf-0.220726.3.tar.gz",
            "has_sig": false,
            "md5_digest": "69add6fbfd5aee510ab0e5cba90e1355",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10,<4.0",
            "size": 17895,
            "upload_time": "2023-01-28T14:02:52",
            "upload_time_iso_8601": "2023-01-28T14:02:52.062877Z",
            "url": "https://files.pythonhosted.org/packages/15/8f/020b28a4372a699aa97a759d61bac5b526deac0406acd984c81d379bd836/lazydf-0.220726.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-28 14:02:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "lazydf"
}
        
Elapsed time: 0.03715s