{ "info": { "author": "Ronald Evers", "author_email": "ronald@ch10.nl", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python" ], "description": "magnum-pi\n=========\n\nMeet magnum-pi, the very fast and dead-simple python package index\ngenerator. It generates html index files from a directory of python\npackages which you then serve as static files using your webserver of\nchoice. You can then install packages from your own index, independent\nof PyPI, using standard python tools such as setuptools and pip.\n\nMagnum-pi started out as a fork of basketweaver. Contrary to\nbasketweaver, magnum-pi never extracts anything from a package and\ninstead only inspects filenames. Because of this change magnum-pi runs\ntypically take only a fraction of a second. Besides the speed gains\nthe other major changes are support for Python 3.3 and wheel packages.\n\nThe only code left from basketweaver is the html output loop. Credit\nfor that goes to its authors Christopher Perkins and Chris McDonough.\n\n\n# Installing\n\nGet it from pypi:\n\n pip install magnum-pi\n\n\n# Using\n\nThe basic workflow is\n\n1. upload a new package to your packages directory\n2. run magnum-pi on that directory\n3. serve the packages and generated html files using a web server\n\nSo after you add a new package file, let's say you put it at\n/var/www/magnum-pi, you run magnum-pi like so:\n\n makeindex /var/www/magnum-pi\n\nThis generates the top-level and per-project index.html files needed\nby python installation tools. The index is always generated inside the\npackages directory. It should run very fast. In my case, 0.073 seconds\nfor 385 packages.\n\nNext you should serve the entire packages directory of packages and\nindex files with a web server.\n\n\n# Serve using nginx\n\nAdd a site config like this:\n\n server {\n server_name magnum-pi.dev;\n root /var/www/magnum-pi;\n index index.html;\n autoindex on;\n }\n\n\n# Installing packages from your own index\n\nAfter you setup your own index using the instructions outlined above,\nyou are now ready to install packages from it. For pip you will need a\nversion recent enough that it support the --index-url option.\n\n pip install --use-wheel --download-cache ~/.cache/pip --index-url http://magnum-pi.dev/index \n pip install --use-wheel --download-cache ~/.cache/pip --index-url https://magnum-pi.dev/index --cert ca.crt \n easy_install --index-url http://magnum-pi.dev/index \n\nDon't miss the `/index` at the end of the index url or it won't work!\n\n\n# Changes\n\n## 1.2 (2014-06-12)\n\n- added manifest file to fix installation from pypi (J. Leidel)\n\n## 1.1 (2013-12-15)\n\n- simplify setup.py and use markdown for readme\n\n## 1.0 (2013-12-14)\n\n- fork off of basketweaver\n (https://code.google.com/p/basket-weaver/)\n- deduce project name from filename alone, never extract a package\n- include wheel packages in the index\n- add python33 support\n- add test suite\n- rewrite readme", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ronaldevers/magnum-pi/", "keywords": "python eggs pypi index package gz tar zip whl wheel", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "magnum-pi", "package_url": "https://pypi.org/project/magnum-pi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/magnum-pi/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ronaldevers/magnum-pi/" }, "release_url": "https://pypi.org/project/magnum-pi/1.2/", "requires_dist": null, "requires_python": null, "summary": "Builds a python package index out of a directory of packages", "version": "1.2" }, "last_serial": 1122529, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "47e1f0feb1b12a73a24b4c0415153af6", "sha256": "0eb613654bd7ec8c7c1533b514b9434c753135ff6a857a8aa308639c8c50e13a" }, "downloads": -1, "filename": "magnum_pi-1.0-py2.7.egg", "has_sig": false, "md5_digest": "47e1f0feb1b12a73a24b4c0415153af6", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4113, "upload_time": "2013-12-14T22:52:32", "url": "https://files.pythonhosted.org/packages/3d/a3/ee2fce34d47b8ec90bf2899f9a12d54ceb57f8a75f1c9a5245fc5b85ab2a/magnum_pi-1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "da335642918d19c5b558cd05e1470ff3", "sha256": "0e97ad609879ac7117c33cb78a45770f5208e3f3a60ed39e9ab4f845b52b0689" }, "downloads": -1, "filename": "magnum_pi-1.0-py27-none-any.whl", "has_sig": false, "md5_digest": "da335642918d19c5b558cd05e1470ff3", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6750, "upload_time": "2013-12-14T22:52:30", "url": "https://files.pythonhosted.org/packages/2d/ef/bb9db4a9b7502b85e1789685dbd56ad11c1e1193ee0647c4db8b7ee5b816/magnum_pi-1.0-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "943ef71e2d675606089a1442f617ade2", "sha256": "3bebfa33c44cf36bf7ac95fad1d19da6a2dc1d1ca41e67fe16a95654b650ff7b" }, "downloads": -1, "filename": "magnum-pi-1.0.tar.gz", "has_sig": false, "md5_digest": "943ef71e2d675606089a1442f617ade2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3817, "upload_time": "2013-12-14T22:52:00", "url": "https://files.pythonhosted.org/packages/98/b3/9561826068f75a12bb3e7b1abcfab4d02014b7338294f468189fbec8f0d0/magnum-pi-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "81a85c67a7126b554dfa948dae2892a1", "sha256": "dbe40fa3af909b1dea3b3025be7d39606680ac3b8c1e80b4492db41ea73326ca" }, "downloads": -1, "filename": "magnum_pi-1.1-py2.7.egg", "has_sig": false, "md5_digest": "81a85c67a7126b554dfa948dae2892a1", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7169, "upload_time": "2013-12-15T15:41:46", "url": "https://files.pythonhosted.org/packages/fd/5d/bf65b020fdc4e1f06d5712a6865211c56588c0d01b124c497da548c84154/magnum_pi-1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "85e2de27c5bd4084b69bfd3d64b344f4", "sha256": "03876adea0c0b45b8eb9ca9a115ab46e2ebe7f84a9b44487677843b68843a2c9" }, "downloads": -1, "filename": "magnum_pi-1.1-py27-none-any.whl", "has_sig": false, "md5_digest": "85e2de27c5bd4084b69bfd3d64b344f4", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6813, "upload_time": "2013-12-15T15:41:49", "url": "https://files.pythonhosted.org/packages/84/93/b126c6be2672ab05bc62b098e061168a57e635a33401069470c3e4572236/magnum_pi-1.1-py27-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a66f8b49a054ea194319194adca703ac", "sha256": "ac74f51749bceaad910aaca4a0f90427e68fa9026578f96963ded1dec2793032" }, "downloads": -1, "filename": "magnum-pi-1.1.tar.gz", "has_sig": false, "md5_digest": "a66f8b49a054ea194319194adca703ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3597, "upload_time": "2013-12-15T15:41:44", "url": "https://files.pythonhosted.org/packages/7e/d5/c39049b007735264da155b40acc9293b53edd2ad4f2d5fa368b5b1166b8c/magnum-pi-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "0b540e02c21052906a04f36f02ed0033", "sha256": "288cac50339858c4eebf30bb8422a45ac728f1ec6b31ae749c0990650043db9d" }, "downloads": -1, "filename": "magnum-pi-1.2.tar.gz", "has_sig": false, "md5_digest": "0b540e02c21052906a04f36f02ed0033", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3917, "upload_time": "2014-06-12T08:51:32", "url": "https://files.pythonhosted.org/packages/5d/82/4ed4eea50f0c24c6e4ed0ff7aa8157f27d1543fca3f3faabed06b8df3800/magnum-pi-1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0b540e02c21052906a04f36f02ed0033", "sha256": "288cac50339858c4eebf30bb8422a45ac728f1ec6b31ae749c0990650043db9d" }, "downloads": -1, "filename": "magnum-pi-1.2.tar.gz", "has_sig": false, "md5_digest": "0b540e02c21052906a04f36f02ed0033", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3917, "upload_time": "2014-06-12T08:51:32", "url": "https://files.pythonhosted.org/packages/5d/82/4ed4eea50f0c24c6e4ed0ff7aa8157f27d1543fca3f3faabed06b8df3800/magnum-pi-1.2.tar.gz" } ] }