{ "info": { "author": "C.W.", "author_email": "wangc_2011@hotmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Office/Business", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "================================================================================\npyramid-excel - Let you focus on data, 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/pyramid-excel.svg?branch=master\n :target: http://travis-ci.org/pyexcel/pyramid-excel\n\n.. image:: https://codecov.io/gh/pyexcel/pyramid-excel/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/pyexcel/pyramid-excel\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/pyramid-excel/badge/?version=latest\n :target: http://pyramid-excel.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================================================================================\nHere is a typical conversation between the developer and the user::\n\n User: \"I have uploaded an excel file\"\n \"but your application says un-supported file format\"\n Developer: \"Did you upload an xlsx file or a csv file?\"\n User: \"Well, I am not sure. I saved the data using \"\n \"Microsoft Excel. Surely, it must be in an excel format.\"\n Developer: \"OK. Here is the thing. I were not told to support\"\n \"all available excel formats in day 1. Live with it\"\n \"or delay the project x number of days.\"\n\n**pyramid-excel** is based on `pyexcel `_ and makes\nit easy to consume/produce information stored in excel files over HTTP protocol as\nwell as on file system. This library can turn the excel data into a list of lists,\na list of records(dictionaries), dictionaries of lists. And vice versa. Hence it\nlets you focus on data in Pyramid based web development, instead of file formats.\n\nThe idea originated from the common usability problem when developing an excel file\ndriven web applications for non-technical office workers: such as office assistant,\nhuman resource administrator. The fact is that not all people know the\ndifference among various excel formats: csv, xls, xlsx. Instead of training those people\nabout file formats, this library helps web developers to handle most of the excel file\nformats by providing a common programming interface. To add a specific excel file format\nto you application, all you need is to install an extra pyexcel plugin. No code change\nto your application. Looking at the community, this library and its associated ones try\nto become a small and easy to install alternative to Pandas.\n\n\nThe highlighted features are:\n\n#. excel data import into and export from databases\n#. turn uploaded excel file directly into Python data structure\n#. pass Python data structures as an excel file download\n#. provide data persistence as an excel file in server side\n#. supports csv, tsv, csvz, tsvz by default and other formats are supported via\n the following plugins:\n\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 `pyexcel-gantt`_ gantt chart in html `frappe-gantt`_ except pypy, same\n 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.. _pyexcel-gantt: https://github.com/pyexcel/pyexcel-gantt\n.. _frappe-gantt: https://github.com/frappe/gantt\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\nThis library makes information processing involving various excel files as easy as\nprocessing array, dictionary when processing file upload/download, data import into\nand export from SQL databases, information analysis and persistence. It uses\n**pyexcel** and its plugins:\n\n#. to provide one uniform programming interface to handle csv, tsv, xls, xlsx, xlsm and ods formats.\n#. to provide one-stop utility to import the data in uploaded file into a database and to export tables in a database as excel files for file download.\n#. to provide the same interface for information persistence at server side: saving a uploaded excel file to and loading a saved excel file from file system.\n\n\n\nTested Pyramid Versions\n========================\n\n.. image:: https://img.shields.io/badge/pyramid-1.9-green.svg\n :target: http://travis-ci.org/pyexcel/pyramid-excel\n\n.. image:: https://img.shields.io/badge/pyramid-1.8.4-green.svg\n :target: http://travis-ci.org/pyexcel/pyramid-excel\n\n.. image:: https://img.shields.io/badge/pyramid-1.7.6-green.svg\n :target: http://travis-ci.org/pyexcel/pyramid-excel\n\n.. image:: https://img.shields.io/badge/pyramid-1.6.1-green.svg\n :target: http://travis-ci.org/pyexcel/pyramid-excel\n\n.. image:: https://img.shields.io/badge/pyramid-1.5.8-green.svg\n :target: http://travis-ci.org/pyexcel/pyramid-excel\n\n.. image:: https://img.shields.io/badge/pyramid-1.4.9-green.svg\n :target: http://travis-ci.org/pyexcel/pyramid-excel\n\n\nInstallation\n================================================================================\nYou can install it via pip:\n\n.. code-block:: bash\n\n $ pip install pyramid-excel\n\n\nor clone it and install it:\n\n.. code-block:: bash\n\n $ git clone https://github.com/pyexcel/pyramid-excel.git\n $ cd pyramid-excel\n $ python setup.py install\n\nSetup\n======\nOnce the pyramid_excel is installed, you must use the config.include mechanism to include\nit into your Pyramid project's configuration::\n\n config = Configurator(.....)\n config.include('pyramid_excel')\n\nAlternately, you may activate the extension by changing your application's .ini file by\nadding it to the pyramid.includes list::\n\n pyramid.includes = pyramid_excel\n\n\n\nDevelopment guide\n================================================================================\n\nDevelopment steps for code changes\n\n#. git clone https://github.com/pyexcel/pyramid-excel.git\n#. cd pyramid-excel\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.5 - 20.07.2017\n--------------------------------------------------------------------------------\n\nUpdated\n********************************************************************************\n\n#. adapt pyexcel-webio 0.1.2 which brings iget_records, iget_array,\n isave_to_database and isave_book_to_database.\n\n0.0.4 - 29.06.2017\n--------------------------------------------------------------------------------\n\nAdded\n********************************************************************************\n\n#. `issue 3 `_, Support\n unicode code as download file name\n\n0.0.3 - 16.03.2016\n--------------------------------------------------------------------------------\n\nUpdated\n++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n\n#. update dependencies on pyramid>=1.4.9, pyexcel-webio>=0.0.6\n#. use moban to separate common texts from package specific info\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/pyexcel/pyramid-excel/archive/0.0.5.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pyexcel/pyramid-excel", "keywords": "API", "license": "New BSD", "maintainer": "", "maintainer_email": "", "name": "pyramid-excel", "package_url": "https://pypi.org/project/pyramid-excel/", "platform": "", "project_url": "https://pypi.org/project/pyramid-excel/", "project_urls": { "Download": "https://github.com/pyexcel/pyramid-excel/archive/0.0.5.tar.gz", "Homepage": "https://github.com/pyexcel/pyramid-excel" }, "release_url": "https://pypi.org/project/pyramid-excel/0.0.5/", "requires_dist": null, "requires_python": "", "summary": "A pyramid extension that provides one application programming interface to read and write data in different excel file formats", "version": "0.0.5" }, "last_serial": 3036172, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "deb8296f0c4fb5b788df978311a98f30", "sha256": "42c2437b3fb2dc47f7ab333d2c728cba94e81865e740d11c1db67a904f5ba723" }, "downloads": -1, "filename": "pyramid-excel-0.0.1.zip", "has_sig": false, "md5_digest": "deb8296f0c4fb5b788df978311a98f30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8379, "upload_time": "2015-07-03T19:24:53", "url": "https://files.pythonhosted.org/packages/38/82/6b840b8be05b5ca3a1625da1ffd5f1ab2eee2dce5ef5a95c8750cbb5a059/pyramid-excel-0.0.1.zip" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a7c4525f20af4330a3e187205c875deb", "sha256": "a093bfc09c475b76df2381ea089a38778e89ae2e9dab9b06430d89683930cfc3" }, "downloads": -1, "filename": "pyramid-excel-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a7c4525f20af4330a3e187205c875deb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3964, "upload_time": "2016-01-16T23:58:21", "url": "https://files.pythonhosted.org/packages/bc/01/8c8ccac0c0fc455c6e80b63169daeb6c065d47c1c255354b70e87f057399/pyramid-excel-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "aa75b58afc8e7c918812322977288426", "sha256": "81b30e79f5ea88136d36f611f414d5bcd073dba738385d5a57d106cab268721f" }, "downloads": -1, "filename": "pyramid-excel-0.0.3.zip", "has_sig": false, "md5_digest": "aa75b58afc8e7c918812322977288426", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12160, "upload_time": "2016-03-16T23:31:28", "url": "https://files.pythonhosted.org/packages/28/8d/495342adcc366b2410979fc5d23ae2c5e4551528de3e823da927bcbce145/pyramid-excel-0.0.3.zip" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7dccc883f072dbe7f4ae3e6ce9f5adbf", "sha256": "5336611d75835e7f722b258ce86f3cb4179a5e8f85bc7e079270b01da0e4bc63" }, "downloads": -1, "filename": "pyramid_excel-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7dccc883f072dbe7f4ae3e6ce9f5adbf", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 13947, "upload_time": "2017-06-29T13:30:33", "url": "https://files.pythonhosted.org/packages/b7/b0/eb064bd057382a6dffe61ca4e6df9b6fe84e881d6af69f9b5a130d17a1b3/pyramid_excel-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68bda20536b0f32aaa7c41295a359f18", "sha256": "29b420f4299d0621e5ff42812b6ea4929160fb61f1a96a4e2b915649d01a1052" }, "downloads": -1, "filename": "pyramid-excel-0.0.4.tar.gz", "has_sig": false, "md5_digest": "68bda20536b0f32aaa7c41295a359f18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9623, "upload_time": "2017-06-29T13:30:30", "url": "https://files.pythonhosted.org/packages/1b/44/d0d32c8c8636a86a9b2ecb1d5921b75d50b6b480fadd3a465efd9b810b0c/pyramid-excel-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "9614d3ce05f30eaa6364ddefc761fcf6", "sha256": "66063eb66f0723d963b598cd99a966cc1aa9311d89894ac89c55ce2c3d2f492f" }, "downloads": -1, "filename": "pyramid_excel-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9614d3ce05f30eaa6364ddefc761fcf6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14390, "upload_time": "2017-07-20T07:52:06", "url": "https://files.pythonhosted.org/packages/cb/dd/23a42c19783d144c8d42e428741a20c295a8efa49b5f3d63abe314c64d69/pyramid_excel-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0450425b1f3500e61115daac13633b4", "sha256": "44d9a5c541bc96e4734225891ddf11acb29620b4c83be546abbcf3a2188c28f7" }, "downloads": -1, "filename": "pyramid-excel-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e0450425b1f3500e61115daac13633b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9988, "upload_time": "2017-07-20T07:52:02", "url": "https://files.pythonhosted.org/packages/cd/bf/1b9e5c30cdcf69afe77443d3a09eb8fe6e822d29b7fe2aa6893c8ec9f838/pyramid-excel-0.0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9614d3ce05f30eaa6364ddefc761fcf6", "sha256": "66063eb66f0723d963b598cd99a966cc1aa9311d89894ac89c55ce2c3d2f492f" }, "downloads": -1, "filename": "pyramid_excel-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9614d3ce05f30eaa6364ddefc761fcf6", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14390, "upload_time": "2017-07-20T07:52:06", "url": "https://files.pythonhosted.org/packages/cb/dd/23a42c19783d144c8d42e428741a20c295a8efa49b5f3d63abe314c64d69/pyramid_excel-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e0450425b1f3500e61115daac13633b4", "sha256": "44d9a5c541bc96e4734225891ddf11acb29620b4c83be546abbcf3a2188c28f7" }, "downloads": -1, "filename": "pyramid-excel-0.0.5.tar.gz", "has_sig": false, "md5_digest": "e0450425b1f3500e61115daac13633b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9988, "upload_time": "2017-07-20T07:52:02", "url": "https://files.pythonhosted.org/packages/cd/bf/1b9e5c30cdcf69afe77443d3a09eb8fe6e822d29b7fe2aa6893c8ec9f838/pyramid-excel-0.0.5.tar.gz" } ] }