{ "info": { "author": "Vincent Pelletier", "author_email": "plr.vincent@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": ".. contents::\n\nUnpack a MIME message into a directory of files.\n\nOverview\n========\n\nMIME messages can be useful as cheap archives: unlike zipfile/tarfile standard\nmodules, email.mime.multipart does not require a full-functional file to\ncreate an archive. MIME messages lack the ability to seek to a given file\nefficiently (much like tar), they have no standard compression (but it can be\nhandled independently anyway), and lack a standard tool to extract them.\n\nInspired from python's `email examples`_ .\n\nUsage\n=====\n\nExtract to directory `$PWD/some` ::\n\n $ demultipart /path/to/some.multipart\n\nAny number of multipart files can be specified, they will be extracted in\nprovided order in their own directories.\n\nTries to prevent escaping extraction directory, but not tested on Windows.\n\nSkips input file if extraction directory already exists.\n\nTODO\n====\n\n- Provide compatibility with standard CLI archive manipulation tools (tar,\n unzip...) so GUI can wrap this command too.\n\n- Maybe add multipart creation support.\n\n.. _email examples: http://docs.python.org/2/library/email-examples.html", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/vpelletier/demultipart", "keywords": null, "license": "GPL 2+", "maintainer": null, "maintainer_email": null, "name": "demultipart", "package_url": "https://pypi.org/project/demultipart/", "platform": "any", "project_url": "https://pypi.org/project/demultipart/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/vpelletier/demultipart" }, "release_url": "https://pypi.org/project/demultipart/0.2/", "requires_dist": null, "requires_python": null, "summary": "Unpack a MIME message into a directory of files.", "version": "0.2" }, "last_serial": 1965387, "releases": { "0.1": [], "0.2": [ { "comment_text": "", "digests": { "md5": "f98f9587a301bd95b1b3e08dd7c23572", "sha256": "873bc0413fce9282a0971003893f403ed64b5f131503e3c0dcacc6c0916220e8" }, "downloads": -1, "filename": "demultipart-0.2.tar.gz", "has_sig": false, "md5_digest": "f98f9587a301bd95b1b3e08dd7c23572", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2666, "upload_time": "2016-02-19T15:06:32", "url": "https://files.pythonhosted.org/packages/de/6e/30a282f3c07ccc654f96f6ed3627861890119d613ba6fcda3cbcf1325c87/demultipart-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f98f9587a301bd95b1b3e08dd7c23572", "sha256": "873bc0413fce9282a0971003893f403ed64b5f131503e3c0dcacc6c0916220e8" }, "downloads": -1, "filename": "demultipart-0.2.tar.gz", "has_sig": false, "md5_digest": "f98f9587a301bd95b1b3e08dd7c23572", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2666, "upload_time": "2016-02-19T15:06:32", "url": "https://files.pythonhosted.org/packages/de/6e/30a282f3c07ccc654f96f6ed3627861890119d613ba6fcda3cbcf1325c87/demultipart-0.2.tar.gz" } ] }