{ "info": { "author": "Izhar Firdaus", "author_email": "izhar@kagesenshi.org", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": ".. contents::\n\nIntroduction\n============\n\nSupport for executing python zip files was added in Python2.6_, and in\nPython3.6, emphasis was added through the zipapp_ module.\n\nThis module contains a buildout recipe and a command line utility to help \npackage Python applications into a zipapp, complete with its setup.py \ndependencies. \n\nOne of the use-case for this module is for building complex Hadoop MapReduce \njob in Python that relies in many dependencies. The zipapp can be distributed\neasily to Hadoop nodes for execution, or packaged as a script for Hive's\n``TRANSFORM`` function\n\n.. _Python2.6: https://docs.python.org/2/whatsnew/2.6.html?highlight=__main__.py#other-language-changes\n\n.. _zipapp: https://docs.python.org/dev/library/zipapp.html\n\nCommand Line Tool\n==================\n\nInstallation\n-------------\n\n::\n\n pip install koslab.recipe.zipapp\n\nUsage\n------\n\nThe following example packages Spotify's Luigi_ daemon as a zipapp.\n\n::\n\n # Creates luigi zipapp as luigi.egg\n zipapp build luigi -m luigi.cmdline:luigid -o luigi.egg\n\n # Run luigid\n python luigi.egg\n\n.. _Luigi: http://luigi.readthedocs.org/en/stable/\n\n\nBuildout Recipe\n================\n\nConfiguration\n--------------\n\nThis recipe depends on ``collective.recipe.omelette`` from Plone.\n\nbuildout.cfg::\n\n [buildout]\n parts = \n omelette\n zipapp\n\n [omelette]\n recipe = collective.recipe.omelette\n eggs = \n # Eggs to be included into the zipapp\n MyApp\n\n [zipapp]\n recipe = koslab.recipe.zipapp\n omelette-part = omelette\n main-function = MyApp.main:main\n output-file = MyApp.pyz\n\nOutput file will be created everytime buildout is run\n\nContributors\n============\n\nNote: place names and roles of the people who contribute to this package\n in this file, one to a line, like so:\n\n- Joe Schmoe, Original Author\n- Bob Slob, contributed monkey patches\n- Jane Main, wrote flibberty module\n\nChangelog\n=========\n\n1.0 (2015-08-04)\n----------------\n\n- Package created using templer [izhar]\n- Initial functioning recipe [izhar]", "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/koslab/koslab.recipe.zipapp/", "keywords": "buildout zipapp", "license": "gpl", "maintainer": null, "maintainer_email": null, "name": "koslab.recipe.zipapp", "package_url": "https://pypi.org/project/koslab.recipe.zipapp/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/koslab.recipe.zipapp/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/koslab/koslab.recipe.zipapp/" }, "release_url": "https://pypi.org/project/koslab.recipe.zipapp/1.0/", "requires_dist": null, "requires_python": null, "summary": "Python ZipApp Packager", "version": "1.0" }, "last_serial": 1662969, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "6f672547f8552d9848ad736ba6f2e934", "sha256": "358464145b94fd7fd01445d909507c21aa1ef4b7781e1c1be5e814a64357ab70" }, "downloads": -1, "filename": "koslab.recipe.zipapp-1.0.zip", "has_sig": false, "md5_digest": "6f672547f8552d9848ad736ba6f2e934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20969, "upload_time": "2015-08-04T02:47:26", "url": "https://files.pythonhosted.org/packages/bb/d1/2826bdfa844d619df9eadf4929f113242d7f89a9c6976e20b832a9c8dbbe/koslab.recipe.zipapp-1.0.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6f672547f8552d9848ad736ba6f2e934", "sha256": "358464145b94fd7fd01445d909507c21aa1ef4b7781e1c1be5e814a64357ab70" }, "downloads": -1, "filename": "koslab.recipe.zipapp-1.0.zip", "has_sig": false, "md5_digest": "6f672547f8552d9848ad736ba6f2e934", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20969, "upload_time": "2015-08-04T02:47:26", "url": "https://files.pythonhosted.org/packages/bb/d1/2826bdfa844d619df9eadf4929f113242d7f89a9c6976e20b832a9c8dbbe/koslab.recipe.zipapp-1.0.zip" } ] }