{ "info": { "author": "Jason R. Coombs", "author_email": "jaraco@jaraco.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3" ], "description": ".. image:: https://img.shields.io/pypi/v/openpack.svg\n :target: https://pypi.org/project/openpack\n\n.. image:: https://img.shields.io/pypi/pyversions/openpack.svg\n\n.. image:: https://img.shields.io/travis/yougov/openpack/master.svg\n :target: http://travis-ci.org/yougov/openpack\n\n.. image:: https://readthedocs.org/projects/openpack/badge/?version=latest\n :target: http://openpack.readthedocs.io/en/latest/?badge=latest\n\nStatus\n------\n\n``openpack`` provides base functionality for working with the `Open\nOffice XML (OOXML) `_\nformat in Python.\n\nIntroduction\n------------\n\nOpenpack is a base library for OpenXML documents. It's used by the `paradocx\n`_ and `Xlsxcessive\n`_.\n\nUtilities\n---------\n\nOpenpack includes two utilities for working with OpenXML documents from the\ncommand-line, `part-edit` and `zip-listdir`.\n\nThese commands are additionally exposed as modules and may be invoked\nusing ``python -m``, e.g. ``python -m openpack.part-edit``.\n\nzip-listdir\n~~~~~~~~~~~\n\n`zip-listdir` isn't specific to OpenXML, and will work on any zip file.\nHowever, since OpenXML documents are themselves zip files, it's useful to have\nwhen working with OpenXML::\n\n > zip-listdir ..\\paradocx\\data.docx\n [Content_Types].xml\n d _rels\n d word\n\n`zip-listdir` lists the files and directories and can be used to list\nsub-directories as well::\n\n > zip-listdir ..\\paradocx\\data.docx/word\n d _rels\n document.xml\n\npart-edit\n~~~~~~~~~\n\nWhile `zip-listdir` enables inspecting the structure of the zip content of\nan OpenXML document, `part-edit` facilitates editing the various parts of\nthose documents using the client's text editor. For example, to edit the\n`word/document.xml` as found in data.docx from the previous example, simply\ninvoke part-edit::\n\n > part-edit ..\\paradocx\\data.docx/word/document.xml\n\nThe program will attempt to use the default text editor to edit the file. If\nthe default editor is not sufficient, the user may specify an editor by\nsetting either XML_EDITOR or EDITOR environment variables.\n\n`part-edit` will parse the zip file, locate the content within the zip file,\nextract that content to a temporary file, and then open that content in an\neditor. After the editor is closed, if the file was changed, the zip file\nwill be updated with the new content.\n\nThe user may pass the optional `--reformat-xml`, in which case the XML will\nbe pretty-formatted for easier human readability.\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/yougov/openpack", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "openpack", "package_url": "https://pypi.org/project/openpack/", "platform": "", "project_url": "https://pypi.org/project/openpack/", "project_urls": { "Homepage": "https://github.com/yougov/openpack" }, "release_url": "https://pypi.org/project/openpack/2.1.1/", "requires_dist": [ "lxml", "six", "jaraco.collections (>=1.3.2)", "sphinx; extra == 'docs'", "jaraco.packaging (>=3.2); extra == 'docs'", "rst.linker (>=1.9); extra == 'docs'", "pytest (>=2.8); extra == 'testing'", "pytest-sugar; extra == 'testing'", "collective.checkdocs; extra == 'testing'" ], "requires_python": ">=2.7", "summary": "openpack", "version": "2.1.1" }, "last_serial": 3326731, "releases": { "0.4.1": [ { "comment_text": "", "digests": { "md5": "4dbbcc012fd234119ee19618f9c6e3e4", "sha256": "6ec1ac056be3959b102187738df521a08ae92e37514ef80817dd61f4080d9268" }, "downloads": -1, "filename": "openpack-0.4.1.zip", "has_sig": false, "md5_digest": "4dbbcc012fd234119ee19618f9c6e3e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90039, "upload_time": "2010-08-02T16:05:07", "url": "https://files.pythonhosted.org/packages/99/15/109998ad1eb01a86055a0e9892c797d947a4a0e0e7a5202673e3cba6f89f/openpack-0.4.1.zip" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "1d90ef27b1f2c94ac7ced480d4947688", "sha256": "cf9448d69bab2acf5919b8282b1abaf86851e76247a5473002600ae96b4735aa" }, "downloads": -1, "filename": "openpack-1.0.zip", "has_sig": false, "md5_digest": "1d90ef27b1f2c94ac7ced480d4947688", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 227106, "upload_time": "2011-09-23T20:39:17", "url": "https://files.pythonhosted.org/packages/d0/2a/03053a96c23603ed0b4c4797aeb136814e902f20e437f0fa7871c1f90975/openpack-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "f6ed04a77fdee83979656f177712ac42", "sha256": "c9a5d4f280e3cdb7f386d8c642f9c7316acca14cfc5603be15d79177fb1baa35" }, "downloads": -1, "filename": "openpack-1.1.zip", "has_sig": false, "md5_digest": "f6ed04a77fdee83979656f177712ac42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94470, "upload_time": "2014-02-11T23:18:56", "url": "https://files.pythonhosted.org/packages/b2/68/10005c28672167b048666cfde33fbf12ca85bdf0ffcc782e25c617d5456d/openpack-1.1.zip" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "d603ca82350827ad35e74d1afc7d8308", "sha256": "f29f60cf87ab1ecaada33825c6faa3d8544a9ec0cb11c50bbf02a2c284907278" }, "downloads": -1, "filename": "openpack-1.1.1.zip", "has_sig": false, "md5_digest": "d603ca82350827ad35e74d1afc7d8308", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94655, "upload_time": "2014-02-22T02:11:03", "url": "https://files.pythonhosted.org/packages/1e/8a/37a0a4d1cd808091adca0de0e1fd33cdf390c790aa84d56c9d1313e496c9/openpack-1.1.1.zip" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "a72f38ca96da826d5be54430ef67db86", "sha256": "e05563ea019a6ae12e84861622cd363082b092df9c2eda0e5626167e17fcd6ee" }, "downloads": -1, "filename": "openpack-1.1.2.zip", "has_sig": false, "md5_digest": "a72f38ca96da826d5be54430ef67db86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94755, "upload_time": "2014-02-27T20:34:21", "url": "https://files.pythonhosted.org/packages/a0/10/34202e9ac8c48e5e201835d08ed206e33f427bc641853a646b80a1a4b264/openpack-1.1.2.zip" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "275021c583d31e14325ebcca9dad1e5d", "sha256": "ae496e23c12b0553a2be98ba1e9f5369ebb49fdf1153ba8c3ff042e5c3860bee" }, "downloads": -1, "filename": "openpack-1.1.3.tar.gz", "has_sig": false, "md5_digest": "275021c583d31e14325ebcca9dad1e5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 88652, "upload_time": "2016-02-18T19:33:24", "url": "https://files.pythonhosted.org/packages/5a/19/31e0f2e639ce8e7c0ce891fcf517addacba1ba5bc4e213ab22efbc53cf0e/openpack-1.1.3.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "cc2e57a452ac887b4d8dd7d5618f19b7", "sha256": "e0cf19cd9a3e58635a6e80a6c517b8e71e22a05a5ca8106200484a111cddb47b" }, "downloads": -1, "filename": "openpack-2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cc2e57a452ac887b4d8dd7d5618f19b7", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 15878, "upload_time": "2016-07-19T09:03:14", "url": "https://files.pythonhosted.org/packages/dc/ec/1d3b453ae375db20cb947ad86f3ae88acbe7503bf9407a60f031d057aa45/openpack-2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c48ac55173f22ce9cb8c315bfe3b8463", "sha256": "f599c19f6ec56538d46378b5a0a53103d5b6fd335f5a8bad82095d39b44e7bb8" }, "downloads": -1, "filename": "openpack-2.0.tar.gz", "has_sig": false, "md5_digest": "c48ac55173f22ce9cb8c315bfe3b8463", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 91692, "upload_time": "2016-07-19T09:03:12", "url": "https://files.pythonhosted.org/packages/80/ee/73a88adfd2bc68af3709b58e67e43332edae5a86511b0470cf3e60a840cf/openpack-2.0.tar.gz" } ], "2.1": [ { "comment_text": "", "digests": { "md5": "3ac67726338942a78e049ee96ea0384f", "sha256": "e443668974df941613d5a63f8561c4aa5da323d7ac1192ede56051982b8500de" }, "downloads": -1, "filename": "openpack-2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3ac67726338942a78e049ee96ea0384f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 16768, "upload_time": "2017-11-12T18:03:52", "url": "https://files.pythonhosted.org/packages/94/ee/94e3f0cae517bb4720f7ee1f6712551b0324464ab970b4abb5983fef68b0/openpack-2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "642d80d52007098df247c893202f50d8", "sha256": "733da2ca04d3f815eb8da1bcef729b6cf000e601869f707baf144dada3edf2ae" }, "downloads": -1, "filename": "openpack-2.1.tar.gz", "has_sig": false, "md5_digest": "642d80d52007098df247c893202f50d8", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 91644, "upload_time": "2017-11-12T18:03:53", "url": "https://files.pythonhosted.org/packages/c9/ad/c590cdc162254108bca0ba142e00a88ba00688608547afbcc75d58990a00/openpack-2.1.tar.gz" } ], "2.1.1": [ { "comment_text": "", "digests": { "md5": "92e0f4f3739f72f5041b9208bab295fc", "sha256": "571a34b3a5bfdbbab9b5ca758608e16bcc56d85085b21a0eb3d0da78aa428970" }, "downloads": -1, "filename": "openpack-2.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "92e0f4f3739f72f5041b9208bab295fc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 16809, "upload_time": "2017-11-12T18:15:21", "url": "https://files.pythonhosted.org/packages/9a/9e/5518112b3208668bdba550fdc761f9b99097546f5b392d00315701426c3b/openpack-2.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b2fc058837d3e12eb35c7864ebde3c59", "sha256": "c1f3abc966a9a9fa4a1cebf0b125b3c85cccecb30b477b69481a20b4f128d6ee" }, "downloads": -1, "filename": "openpack-2.1.1.tar.gz", "has_sig": false, "md5_digest": "b2fc058837d3e12eb35c7864ebde3c59", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 91677, "upload_time": "2017-11-12T18:15:22", "url": "https://files.pythonhosted.org/packages/ce/99/f9c442966d4d512e3c2f395b0809bbe6f9dfc5e6704e23db63fc66764300/openpack-2.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "92e0f4f3739f72f5041b9208bab295fc", "sha256": "571a34b3a5bfdbbab9b5ca758608e16bcc56d85085b21a0eb3d0da78aa428970" }, "downloads": -1, "filename": "openpack-2.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "92e0f4f3739f72f5041b9208bab295fc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=2.7", "size": 16809, "upload_time": "2017-11-12T18:15:21", "url": "https://files.pythonhosted.org/packages/9a/9e/5518112b3208668bdba550fdc761f9b99097546f5b392d00315701426c3b/openpack-2.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b2fc058837d3e12eb35c7864ebde3c59", "sha256": "c1f3abc966a9a9fa4a1cebf0b125b3c85cccecb30b477b69481a20b4f128d6ee" }, "downloads": -1, "filename": "openpack-2.1.1.tar.gz", "has_sig": false, "md5_digest": "b2fc058837d3e12eb35c7864ebde3c59", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 91677, "upload_time": "2017-11-12T18:15:22", "url": "https://files.pythonhosted.org/packages/ce/99/f9c442966d4d512e3c2f395b0809bbe6f9dfc5e6704e23db63fc66764300/openpack-2.1.1.tar.gz" } ] }