{ "info": { "author": "C.W.", "author_email": "wangc_2011@hotmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Office/Business", "Topic :: Software Development :: Libraries", "Topic :: Utilities" ], "description": "================================================================================\npyexcel-cli - Let you focus on data at command line, instead of file formats\n================================================================================\n\n.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png\n :target: https://www.patreon.com/pyexcel\n\n.. image:: https://api.travis-ci.org/pyexcel/pyexcel-cli.svg?branch=master\n :target: http://travis-ci.org/pyexcel/pyexcel-cli\n\n.. image:: https://codecov.io/github/pyexcel/pyexcel-cli/coverage.png\n :target: https://codecov.io/github/pyexcel/pyexcel-cli\n\n.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg\n :target: https://gitter.im/pyexcel/Lobby\n\n.. image:: https://readthedocs.org/projects/pyexcel-cli/badge/?version=latest\n :target: http://pyexcel-cli.readthedocs.org/en/latest/\n\nSupport the project\n================================================================================\n\nIf your company has embedded pyexcel and its components into a revenue generating\nproduct, please `support me on patreon `_ to\nmaintain the project and develop it further.\n\nIf you are an individual, you are welcome to support me too on patreon and for however long\nyou feel like to. As a patreon, you will receive\n`early access to pyexcel related contents `_.\n\nWith your financial support, I will be able to invest\na little bit more time in coding, documentation and writing interesting posts.\n\n\nKnown constraints\n==================\n\nFonts, colors and charts are not supported.\n\nIntroduction\n================================================================================\n\n**pyexcel-cli** brings `pyexcel `_ to make it easy\nto consume/produce information stored in excel files on command line interface.\nThis library can turn the excel data into a list of lists, a list of records(dictionaries),\ndictionaries of lists. And vice versa. Hence it lets you focus on data in shell\nprogramming, instead of file formats.\n\nHightlighted features:\n\n#. View data in the excel files without Microsoft Office or Open Office\n#. Transcode data among supported excel file formats\n#. Merge files in various excel file formats into one\n#. Split a multi-sheet excel file into single sheet files\n#. Find difference in data between two excel files\n\nUsage\n================================================================================\n\n.. code-block:: bash\n\n $ cd demo\n $ pyexcel view --in-browser --output-file-type sortable.html --sheet-index 0 https://github.com/pyexcel/excel2table/raw/master/sample/goog.ods\n\nHere's what you will get:\n\n.. image:: https://github.com/pyexcel/pyexcel-cli/raw/master/pyexcel-cli-sortable.gif\n\n.. note::\n\n You will need to install pyexcel-sortable, which renders it.\n\nHere is another cli example usage:\n\n.. code-block:: bash\n\n $ pyexcel view https://github.com/pyexcel/pyexcel-cli/blob/master/tests/fixtures/multiple-sheets.xls\n Sheet 1:\n +---+---+---+\n | 1 | 2 | 3 |\n +---+---+---+\n | 4 | 5 | 6 |\n +---+---+---+\n | 7 | 8 | 9 |\n +---+---+---+\n Sheet 2:\n +---+---+---+\n | X | Y | Z |\n +---+---+---+\n | 1 | 2 | 3 |\n +---+---+---+\n | 4 | 5 | 6 |\n +---+---+---+\n Sheet 3:\n +---+---+---+\n | O | P | Q |\n +---+---+---+\n | 3 | 2 | 1 |\n +---+---+---+\n | 4 | 3 | 2 |\n +---+---+---+\n\nBecause pyexcel family is loosely coupled, especially for file format supports, you\ninstall the libraries that you need to. If you need to support xls format, you will\nneed to install pyexcel-xls. For more information, please see the plugin section.\n.. _file-format-list:\n.. _a-map-of-plugins-and-file-formats:\n\n.. table:: A list of file formats supported by external plugins\n\n ======================== ======================= =============== ==================\n Package name Supported file formats Dependencies Python versions\n ======================== ======================= =============== ==================\n `pyexcel-io`_ csv, csvz [#f1]_, tsv, 2.6, 2.7, 3.3,\n tsvz [#f2]_ 3.4, 3.5, 3.6\n pypy\n `pyexcel-xls`_ xls, xlsx(read only), `xlrd`_, same as above\n xlsm(read only) `xlwt`_\n `pyexcel-xlsx`_ xlsx `openpyxl`_ same as above\n `pyexcel-xlsxw`_ xlsx(write only) `XlsxWriter`_ same as above\n `pyexcel-ods3`_ ods `ezodf`_, 2.6, 2.7, 3.3, 3.4\n lxml 3.5, 3.6\n `pyexcel-ods`_ ods `odfpy`_ same as above\n `pyexcel-odsr`_ ods(read only) lxml same as above\n `pyexcel-text`_ (write only)json, rst, `tabulate`_ 2.6, 2.7, 3.3, 3.4\n mediawiki, html, 3.5, 3.6, pypy\n latex, grid, pipe,\n orgtbl, plain simple\n `pyexcel-handsontable`_ handsontable in html `handsontable`_ same as above\n `pyexcel-pygal`_ svg chart `pygal`_ 2.7, 3.3, 3.4, 3.5\n 3.6, pypy\n `pyexcel-sortable`_ sortable table in html `csvtotable`_ same as above\n ======================== ======================= =============== ==================\n\n.. _pyexcel-io: https://github.com/pyexcel/pyexcel-io\n.. _pyexcel-xls: https://github.com/pyexcel/pyexcel-xls\n.. _pyexcel-xlsx: https://github.com/pyexcel/pyexcel-xlsx\n.. _pyexcel-ods: https://github.com/pyexcel/pyexcel-ods\n.. _pyexcel-ods3: https://github.com/pyexcel/pyexcel-ods3\n.. _pyexcel-odsr: https://github.com/pyexcel/pyexcel-odsr\n.. _pyexcel-xlsxw: https://github.com/pyexcel/pyexcel-xlsxw\n\n.. _xlrd: https://github.com/python-excel/xlrd\n.. _xlwt: https://github.com/python-excel/xlwt\n.. _openpyxl: https://bitbucket.org/openpyxl/openpyxl\n.. _XlsxWriter: https://github.com/jmcnamara/XlsxWriter\n.. _ezodf: https://github.com/T0ha/ezodf\n.. _odfpy: https://github.com/eea/odfpy\n\n.. _pyexcel-text: https://github.com/pyexcel/pyexcel-text\n.. _tabulate: https://bitbucket.org/astanin/python-tabulate\n.. _pyexcel-handsontable: https://github.com/pyexcel/pyexcel-handsontable\n.. _handsontable: https://cdnjs.com/libraries/handsontable\n.. _pyexcel-pygal: https://github.com/pyexcel/pyexcel-chart\n.. _pygal: https://github.com/Kozea/pygal\n.. _pyexcel-matplotlib: https://github.com/pyexcel/pyexcel-matplotlib\n.. _matplotlib: https://matplotlib.org\n.. _pyexcel-sortable: https://github.com/pyexcel/pyexcel-sortable\n.. _csvtotable: https://github.com/vividvilla/csvtotable\n\n\nIn order to manage the list of plugins installed, you need to use pip to add or remove\na plugin. When you use virtualenv, you can have different plugins per virtual\nenvironment. In the situation where you have multiple plugins that does the same thing\nin your environment, you need to tell pyexcel which plugin to use per function call.\nFor example, pyexcel-ods and pyexcel-odsr, and you want to get_array to use pyexcel-odsr.\nYou need to append get_array(..., library='pyexcel-odsr').\n\n.. rubric:: Footnotes\n\n.. [#f1] zipped csv file\n.. [#f2] zipped tsv file\n\n\n\n\nInstallation\n================================================================================\nYou can install it via pip:\n\n.. code-block:: bash\n\n $ pip install pyexcel-cli\n\n\nor clone it and install it:\n\n.. code-block:: bash\n\n $ git clone https://github.com/pyexcel/pyexcel-cli.git\n $ cd pyexcel-cli\n $ python setup.py install\n\n\n\nDevelopment guide\n================================================================================\n\nDevelopment steps for code changes\n\n#. git clone https://github.com/pyexcel/pyexcel-cli.git\n#. cd pyexcel-cli\n\nUpgrade your setup tools and pip. They are needed for development and testing only:\n\n#. pip install --upgrade setuptools pip\n\nThen install relevant development requirements:\n\n#. pip install -r rnd_requirements.txt # if such a file exists\n#. pip install -r requirements.txt\n#. pip install -r tests/requirements.txt\n\nOnce you have finished your changes, please provide test case(s), relevant documentation\nand update CHANGELOG.rst.\n\n.. note::\n\n As to rnd_requirements.txt, usually, it is created when a dependent\n\tlibrary is not released. Once the dependecy is installed\n\t(will be released), the future\n\tversion of the dependency in the requirements.txt will be valid.\n\n\nHow to test your contribution\n------------------------------\n\nAlthough `nose` and `doctest` are both used in code testing, it is adviable that unit tests are put in tests. `doctest` is incorporated only to make sure the code examples in documentation remain valid across different development releases.\n\nOn Linux/Unix systems, please launch your tests like this::\n\n $ make\n\nOn Windows systems, please issue this command::\n\n > test.bat\n\nHow to update test environment and update documentation\n---------------------------------------------------------\n\nAdditional steps are required:\n\n#. pip install moban\n#. git clone https://github.com/pyexcel/pyexcel-commons.git commons\n#. make your changes in `.moban.d` directory, then issue command `moban`\n\nWhat is pyexcel-commons\n---------------------------------\n\nMany information that are shared across pyexcel projects, such as: this developer guide, license info, etc. are stored in `pyexcel-commons` project.\n\nWhat is .moban.d\n---------------------------------\n\n`.moban.d` stores the specific meta data for the library.\n\nAcceptance criteria\n-------------------\n\n#. Has Test cases written\n#. Has all code lines tested\n#. Passes all Travis CI builds\n#. Has fair amount of documentation if your change is complex\n#. Agree on NEW BSD License for your contribution\n\n\n\n\nLicense\n================================================================================\n\nNew BSD License\n\nChange log\n================================================================================\n\n0.0.3 - 15.07.2017\n--------------------------------------------------------------------------------\n\nAdded\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\n#. To allow viewing csvtotable in browser and the syntax is:\n pyexcel view --in-browser --output-file-type sortable.html --sheet-index 0 goog.ods\n\n0.0.2 - 19.06.2017\n--------------------------------------------------------------------------------\n\nUpdated\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\n#. use pyexcel v0.5.0\n\n\n0.0.1 - 11.07.2016\n--------------------------------------------------------------------------------\n\nInitial release\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "excel", "license": "New BSD", "maintainer": "", "maintainer_email": "", "name": "pyexcel-cli", "package_url": "https://pypi.org/project/pyexcel-cli/", "platform": "", "project_url": "https://pypi.org/project/pyexcel-cli/", "project_urls": null, "release_url": "https://pypi.org/project/pyexcel-cli/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "A command utility to read and write data in csv, tsv, xls, xlsx and ods format.", "version": "0.0.3" }, "last_serial": 3025073, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b44e9ae07de65a2412c115631d2ebce9", "sha256": "16971e15122ac5f64b64636ee22795fc68c240cbbaa3b7ef7eee28100448bd41" }, "downloads": -1, "filename": "pyexcel-cli-0.0.1.zip", "has_sig": false, "md5_digest": "b44e9ae07de65a2412c115631d2ebce9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13958, "upload_time": "2016-07-11T16:16:41", "url": "https://files.pythonhosted.org/packages/19/70/087031a59ba62dcf408b359d90b67bdb79a791da54a74414f0cd5d2b43f0/pyexcel-cli-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "69f540dbffcbd736793e204a44a64044", "sha256": "f83d4d4a60ceefadd43a74abda4dcf6530a919d57d3714e8d65f9c499cf12a87" }, "downloads": -1, "filename": "pyexcel_cli-0.0.2-py2-none-any.whl", "has_sig": false, "md5_digest": "69f540dbffcbd736793e204a44a64044", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14748, "upload_time": "2017-06-19T11:52:51", "url": "https://files.pythonhosted.org/packages/16/9e/048f15eaca42db9c257a08b353a6ef36443ae859dc24b84bfbd798dc3d90/pyexcel_cli-0.0.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eb6509861fe3df40e5b34aae20e8763a", "sha256": "0c0d16731b2f9a0327aa5c74dbb35d7346da6d04777bf88594793f267efa7ec0" }, "downloads": -1, "filename": "pyexcel-cli-0.0.2.tar.gz", "has_sig": false, "md5_digest": "eb6509861fe3df40e5b34aae20e8763a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12043, "upload_time": "2017-06-19T11:52:48", "url": "https://files.pythonhosted.org/packages/bd/75/60cc9e9c4edb2847ed8fc49dcf34d0c97f41e58792255f4eccd499a5229b/pyexcel-cli-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "6b5099d2510cb2abd9819ba1415954cd", "sha256": "1e847bca9b40fd9e4ab3bef94d8fc284e83b74ab664b5ccb7742cebfd7d430cd" }, "downloads": -1, "filename": "pyexcel_cli-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6b5099d2510cb2abd9819ba1415954cd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 15639, "upload_time": "2017-07-15T14:37:58", "url": "https://files.pythonhosted.org/packages/89/d3/237d19f26e74d5a2027a0083b9c44d932bc3d951595dfef114ad5afe28f0/pyexcel_cli-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97ec633bcf4df114a2d74fa513229e29", "sha256": "12a832f51c2c9ec9dfcfcd25619eefde42b3fa59890daf7cda9c3cca3543db8f" }, "downloads": -1, "filename": "pyexcel-cli-0.0.3.tar.gz", "has_sig": false, "md5_digest": "97ec633bcf4df114a2d74fa513229e29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13044, "upload_time": "2017-07-15T14:37:56", "url": "https://files.pythonhosted.org/packages/82/e2/d110ba2786ac7dae063f4be721504dade7023ceeb2a2a7d311da30675ed8/pyexcel-cli-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6b5099d2510cb2abd9819ba1415954cd", "sha256": "1e847bca9b40fd9e4ab3bef94d8fc284e83b74ab664b5ccb7742cebfd7d430cd" }, "downloads": -1, "filename": "pyexcel_cli-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6b5099d2510cb2abd9819ba1415954cd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 15639, "upload_time": "2017-07-15T14:37:58", "url": "https://files.pythonhosted.org/packages/89/d3/237d19f26e74d5a2027a0083b9c44d932bc3d951595dfef114ad5afe28f0/pyexcel_cli-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97ec633bcf4df114a2d74fa513229e29", "sha256": "12a832f51c2c9ec9dfcfcd25619eefde42b3fa59890daf7cda9c3cca3543db8f" }, "downloads": -1, "filename": "pyexcel-cli-0.0.3.tar.gz", "has_sig": false, "md5_digest": "97ec633bcf4df114a2d74fa513229e29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13044, "upload_time": "2017-07-15T14:37:56", "url": "https://files.pythonhosted.org/packages/82/e2/d110ba2786ac7dae063f4be721504dade7023ceeb2a2a7d311da30675ed8/pyexcel-cli-0.0.3.tar.gz" } ] }