semvec/pypi-packages huggingface dataset:
jsontofu 1.0.0
Json raw data to object
Requires Python: >=3.6.7,<4.0.0

.. image:: jsontofu.png

Usage
-----

.. code:: python

    @dataclass
    class Data:
        str_data: str
        int_data: int
        
    @dataclass
    class DictData:
        str_data: str
        dict_data: Optional[Dict]
        
    @dataclass
    class RecursiveData:
        str_data: str
        dict_data: Data
        
    json_data1 = {
        'str_data': 'test',
        'int_data': 123
    }
             
    json_data2 = {, 
        'str_data': 'test',
        'dict_data': {'key1': 123, 'key2': 456}
    }
        
    json_data3 = {, 
        'str_data': 'test',
        'dict_data': {'str_data': 'test', 'int_data': 456}
    }
    
    print(jsontofu.decode(json_data1, Data)) # Data(str_data="test", int_data=123)
    
    print(jsontofu.decode(json_data2, DictData)) # DictData(str_data="test", dict_data={'key1': 123, 'key2': 456})
    
    print(jsontofu.decode(json_data3, RecursiveData)) # RecursiveData(str_data="test", Data(str_data="test", int_data=456)
    

Installation
------------

.. code:: sh

    pip install git+git://github.com/rondou/jsontofu.git

or

.. code:: sh

    pipenv install 'git+ssh://git@github.com/rondou/jsontofu.git#egg=jsontofu'


Development
-----------

.. code:: sh

    pipenv install
    pipenv install -d
    pipenv run "pytest -s"

Coverage
-----------

.. code:: sh

    pipenv run 'pytest tests --cov=jsontofu'
utoolbox 0.6.7
Metapackage for uToolbox, a Python image processing package for LLSM.
Requires Python: ~=3.7
Keywords: microscopy

# uToolbox
[![Build Status](https://travis-ci.com/liuyenting/uToolbox.svg?token=RnNdzNQoCUCRNxtUiy7m&branch=master)](https://travis-ci.com/liuyenting/uToolbox) 
[![Doc Status](https://readthedocs.org/projects/pip/badge/?version=latest&style=flat)](https://utoolbox.readthedocs.io/)  

A Python image processing package for LLSM.

**TODO** intro

For more information, refer to [the documentation](https://utoolbox.readthedocs.io/en/latest/index.html).

## Installation
uToolbox is published on [PyPI](https://pypi.org/project/utoolbox/) and can be installed from there:

`pip install -U utoolbox`

Beta releases are also published:

`pip install -U --pre utoolbox`

If you wish to install uToolbox for development purposes, refer to [the developer guide](https://utoolbox.readthedocs.io/en/latest/intro/developer.html).

## Documentation
Documentation is available from [readthedocs.io](https://utoolbox.readthedocs.io/en/latest/index.html).

**TODO** migrate platform support info

#### macOS
- High Sierra 10.13.6, Darwin 17.7.0
- CUDA 9.2.64.1

#### Windows
- Windows 7 (64-bit) SP1
- CUDA 9.2.88.1

#### Linux
- Debian 8.10 (jessie), Linux 3.12.72
- CUDA 8.0.44


## Authors
- Liu, Yen-Ting

## License
This project is licensed under the Apache 2.0 License - see the [LICENSE.md](LICENSE.md) file for details

## Acknowledgments
- [LLSpy](https://github.com/tlambert03/LLSpy) by Talley Lambert.