{ "info": { "author": "Vincent Delecroix, Burcin Erocal", "author_email": "sage-devel@googlegroups.com", "bugtrack_url": null, "classifiers": [], "description": "pypolymake\n==========\n\nWhat is it?\n-----------\n\nThe Python module pypolymake provides wrappers for\n`Polymake `_.\nIt needs a recent enough version of polymake (tested with polymake\n3.5). It is compatible with both Python 2 and Python 3. When used inside\n`SageMath `_ you have access to\nspecial converters from pypolymake objects to SageMath objects.\n\nThe language has been kept as close as possible as the original perl\ninterface of Polymake. The following polymake construction::\n\n polytope> $c = cube(5);\n polytope> print $c->F_VECTOR;\n 32 80 80 40 10\n polytope> $g = $c->GRAPH;\n polytope> print $g->DIAMETER;\n 5\n\nis translated in Python as::\n\n >>> from polymake import *\n >>> c = cube(5)\n >>> print(c.F_VECTOR)\n (32, 80, 80, 40, 10)\n >>> g = c.GRAPH\n >>> print(g.DIAMETER)\n 5\n\nAs pypolymake is under development, many things are not working! Do not hesitate\nto make a bug report on the `development page `_.\n\nInstallation and source code\n----------------------------\n\nThe pypolymake package is available on PyPI, see\nhttps://pypi.org/project/pypolymake/. To install\nit within your system Python, just run the following\ncommand::\n\n $ pip install pypolymake [--user] [--upgrade]\n\nTo install polymake and pypolymake inside SageMath run::\n\n $ sage -i polymake\n $ sage -pip install pypolymake [--user] [--upgrade]\n\nIf polymake headers or libraries are installed in a non standard location you\nmay need to set the environment variables CFLAGS, CXXFLAGS, LDFLAGS. For example,\non OS X, you need to update LDFLAGS as::\n\n $ export LDFLAGS=\"-L/System/Library/Perl/5.18/darwin-thread-multi-2level/CORE/ $LDFLAGS\"\n\nFor SageMath users\n------------------\n\nIf pypolymake is used inside SageMath then conversion from and to SageMath objects\nare available. Most polymake objects have a `.sage()` method and you can use\n`polymake.polymake` as a generic convertor. For example::\n\n sage: import polymake\n sage: p = polymake.polymake(polytopes.dodecahedron())\n sage: p\n Polytope>\n sage: p.VERTICES\n 1 3-1r5 3-1r5 3-1r5\n 1 -1+1r5 -4+2r5 0\n ...\n 1 -3+1r5 -3+1r5 -3+1r5\n 1 1-1r5 4-2r5 0\n sage: print(p.VERTICES.sage())\n [ 1 -sqrt5 + 3 -sqrt5 + 3 -sqrt5 + 3]\n [ 1 sqrt5 - 1 2*sqrt5 - 4 0]\n ...\n [ 1 sqrt5 - 3 sqrt5 - 3 sqrt5 - 3]\n [ 1 -sqrt5 + 1 -2*sqrt5 + 4 0]\n\nWarning: the cohabitation between sage and polymake is not perfect. If you do\nuse polymake in sage *always* import sage first and then polymake. More precisely,\nif you launch a simple python console and do 'import polymake' followed by\n'import sage.all' it is most likely to end up with a (not yet identified)\nSEGFAULT.\n\nLicense\n-------\n\nThe library pypolymake is distributed under the terms of the GNU General Public\nLicense (GPL) as published by the Free Software Foundation; either version 3 of\nthe License, or (at your option) any later version (see http://www.gnu.org/licenses/)\n\nAuthors\n-------\n\nThis project has been started by Burcin Erocal in 2011 and continued\nby Vincent Delecroix since 2016.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "GNU General Public License, version 3 or later", "maintainer": "", "maintainer_email": "", "name": "pypolymake", "package_url": "https://pypi.org/project/pypolymake/", "platform": "", "project_url": "https://pypi.org/project/pypolymake/", "project_urls": null, "release_url": "https://pypi.org/project/pypolymake/0.1b7/", "requires_dist": null, "requires_python": "", "summary": "Python wrapper for polymake", "version": "0.1b7" }, "last_serial": 5739769, "releases": { "0.1.beta1": [], "0.1.beta2": [ { "comment_text": "", "digests": { "md5": "4155239a3b19ecf088b823066954b2d0", "sha256": "ac4541177dcc137b0d789aa3709b880d8ecda41447b4deb4de205795dc02e72e" }, "downloads": -1, "filename": "pypolymake-0.1.beta2.tar.gz", "has_sig": false, "md5_digest": "4155239a3b19ecf088b823066954b2d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12444, "upload_time": "2016-07-07T16:53:56", "url": "https://files.pythonhosted.org/packages/52/7e/c3d4f8e694e0055998fb354c3c2a348f3fa6bd32105d1e15d6f1012fe132/pypolymake-0.1.beta2.tar.gz" } ], "0.1.beta3": [ { "comment_text": "", "digests": { "md5": "4c77d390b14ce48550a4ba4741738fb7", "sha256": "208452f88d72114d8b0b45325ce1886f442628b89fc2bf68af8a2938cd099062" }, "downloads": -1, "filename": "pypolymake-0.1.beta3.tar.gz", "has_sig": false, "md5_digest": "4c77d390b14ce48550a4ba4741738fb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12838, "upload_time": "2016-07-24T00:55:29", "url": "https://files.pythonhosted.org/packages/a5/7c/d6db967ad57240695bd1517cf35b94573e99ac69042808f47168e7aed58f/pypolymake-0.1.beta3.tar.gz" } ], "0.1b4": [ { "comment_text": "", "digests": { "md5": "399906b8bd80db499c57ea39a4d3327b", "sha256": "a4ac1434ace1478811e48fe1aa424081f0777d8abb7b91887d81817e1d6dc87f" }, "downloads": -1, "filename": "pypolymake-0.1b4.tar.gz", "has_sig": false, "md5_digest": "399906b8bd80db499c57ea39a4d3327b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15309, "upload_time": "2016-07-26T03:01:06", "url": "https://files.pythonhosted.org/packages/33/25/11274f903c77716abe596f8c575d740c5b728649e1d42fc127b69723a331/pypolymake-0.1b4.tar.gz" } ], "0.1b5": [ { "comment_text": "", "digests": { "md5": "c1bd22ef3bb87f7fa2729847c3860c16", "sha256": "05c08b32383bf3a3893423c5f28ec2010cf47cb0107d949ebf680952cae838ad" }, "downloads": -1, "filename": "pypolymake-0.1b5.tar.gz", "has_sig": false, "md5_digest": "c1bd22ef3bb87f7fa2729847c3860c16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 233183, "upload_time": "2016-08-04T22:38:31", "url": "https://files.pythonhosted.org/packages/55/ed/df9ef181a247b436b7972c89884be00ff34fe3de1190497091ee1451bfa5/pypolymake-0.1b5.tar.gz" } ], "0.1b6": [ { "comment_text": "", "digests": { "md5": "9d16dad309bb7604e2fb9e95ac7635fa", "sha256": "9b46191f12d69dc46ea040154b7001aee237bc17e054df18d86f37b175a00eda" }, "downloads": -1, "filename": "pypolymake-0.1b6.tar.gz", "has_sig": false, "md5_digest": "9d16dad309bb7604e2fb9e95ac7635fa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 115899, "upload_time": "2019-08-27T22:30:00", "url": "https://files.pythonhosted.org/packages/8f/09/df41e8bdb58e6e94b7864935fecabb0d56236af7d9c150e353c0f3dbd745/pypolymake-0.1b6.tar.gz" } ], "0.1b7": [ { "comment_text": "", "digests": { "md5": "8b25cd2fff986fcd57253af598f26a50", "sha256": "68e33a4afbf3b6aed49134f480df1f3fa9ef0507a002e8d4dc3fce6f9eec0f3b" }, "downloads": -1, "filename": "pypolymake-0.1b7.tar.gz", "has_sig": false, "md5_digest": "8b25cd2fff986fcd57253af598f26a50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 115756, "upload_time": "2019-08-27T22:45:19", "url": "https://files.pythonhosted.org/packages/0e/d8/ea0989a21a5a8dd0d97f01a379348c3b3b389aabec91124186b94ec69a12/pypolymake-0.1b7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8b25cd2fff986fcd57253af598f26a50", "sha256": "68e33a4afbf3b6aed49134f480df1f3fa9ef0507a002e8d4dc3fce6f9eec0f3b" }, "downloads": -1, "filename": "pypolymake-0.1b7.tar.gz", "has_sig": false, "md5_digest": "8b25cd2fff986fcd57253af598f26a50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 115756, "upload_time": "2019-08-27T22:45:19", "url": "https://files.pythonhosted.org/packages/0e/d8/ea0989a21a5a8dd0d97f01a379348c3b3b389aabec91124186b94ec69a12/pypolymake-0.1b7.tar.gz" } ] }