Metadata-Version: 1.1
Name: json2xls
Version: 0.0.1
Summary: generate excel by json
Home-page: https://github.com/axiaoxin/json2xls
Author: axiaoxin
Author-email: 254606826@qq.com
License: BSD
Description: ===============================
        json2xls
        ===============================
        
        .. image:: https://badge.fury.io/py/json2xls.png
            :target: http://badge.fury.io/py/json2xls
        
        .. image:: https://travis-ci.org/axiaoxin/json2xls.png?branch=master
                :target: https://travis-ci.org/axiaoxin/json2xls
        
        .. image:: https://pypip.in/d/json2xls/badge.png
                :target: https://pypi.python.org/pypi/json2xls
        
        
        generate excel by json @ https://github.com/axiaoxin/json2xls
        
        
        Json2Xls:根据json数据生成excel表格
        ==================================
        
        Json2Xls不支持多层套嵌的json数据，只可以根据一层json生成表格
        
        **根据json数据生成excel**
        
        code:
        
            :::python
            from json2xls import Json2Xls
        
            json_data = '{"name": "ashin", "age": 16, "sex": "male"}'
            Json2Xls('test.xls', json_data)
        
        command:
        
            python json2xls.py test3.xls '{"a":"a", "b":"b"}'
        
            # from file
            python json2xls.py test3.xls "`cat data.json`"
        
        excel:
        
            age | name | sex
            ----|------|----
            30  | John | male
            18  | Alice| female
        
        
        **根据请求url返回的json生成excel**
        
        默认请求为get，get请求参数为params={}, post请求参数为data={}
        
        code:
        
            :::python
            from json2xls import Json2Xls
        
            url = 'http://api.bosonnlp.com/sentiment/analysis'
            Json2Xls('test.xlsx', url, method='post')
        
        command:
        
            python json2xls.py test.xls http://api.map.baidu.com/telematics/v3/weather\?location\=%E4%B8%8A%E6%B5%B7\&output\=json\&ak\=640f3985a6437dad8135dae98d775a09
        
        excel:
        
            status | message
            -------|--------
            403    | no token header
        
        
        
        
        * Free software: BSD license
        
        Features
        --------
        
        * TODO
        
        
        
        
        History
        -------
        
        0.0.1 (2014-09-23)
        ---------------------
        
        * First release on PyPI.
Keywords: json2xls
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
