{ "info": { "author": "S\u00e9verin Lemaignan", "author_email": "severin@guakamole.org", "bugtrack_url": null, "classifiers": [], "description": "PyAssimp: Python bindings for libassimp\n=======================================\n\nA simple Python wrapper for Assimp using ``ctypes`` to access the\nlibrary. Requires Python >= 2.6.\n\nPython 3 support is mostly here, but not well tested.\n\nNote that pyassimp is not complete. Many ASSIMP features are missing.\n\nUSAGE\n-----\n\nComplete example: 3D viewer\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n``pyassimp`` comes with a simple 3D viewer that shows how to load and\ndisplay a 3D model using a shader-based OpenGL pipeline.\n\n.. figure:: 3d_viewer_screenshot.png\n :alt: Screenshot\n\n Screenshot\n\nTo use it, from within ``/port/PyAssimp``:\n\n::\n\n $ cd scripts\n $ python ./3D-viewer \n\nYou can use this code as starting point in your applications.\n\nWriting your own code\n~~~~~~~~~~~~~~~~~~~~~\n\nTo get started with ``pyassimp``, examine the simpler ``sample.py``\nscript in ``scripts/``, which illustrates the basic usage. All Assimp\ndata structures are wrapped using ``ctypes``. All the data+length fields\nin Assimp's data structures (such as ``aiMesh::mNumVertices``,\n``aiMesh::mVertices``) are replaced by simple python lists, so you can\ncall ``len()`` on them to get their respective size and access members\nusing ``[]``.\n\nFor example, to load a file named ``hello.3ds`` and print the first\nvertex of the first mesh, you would do (proper error handling\nsubstituted by assertions ...):\n\n.. code:: python\n\n\n from pyassimp import *\n scene = load('hello.3ds')\n\n assert len(scene.meshes)\n mesh = scene.meshes[0]\n\n assert len(mesh.vertices)\n print(mesh.vertices[0])\n\n # don't forget this one, or you will leak!\n release(scene)\n\nAnother example to list the 'top nodes' in a scene:\n\n.. code:: python\n\n\n from pyassimp import *\n scene = load('hello.3ds')\n\n for c in scene.rootnode.children:\n print(str(c))\n\n release(scene)\n\nINSTALL\n-------\n\nInstall ``pyassimp`` by running:\n\n::\n\n $ python setup.py install\n\nPyAssimp requires a assimp dynamic library (``DLL`` on windows, ``.so``\non linux, ``.dynlib`` on macOS) in order to work. The default search\ndirectories are:\n\n- the current directory\n- on linux additionally: ``/usr/lib``, ``/usr/local/lib``,\n ``/usr/lib/x86_64-linux-gnu``\n\nTo build that library, refer to the Assimp master ``INSTALL``\ninstructions. To look in more places, edit ``./pyassimp/helper.py``.\nThere's an ``additional_dirs`` list waiting for your entries.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/assimp/assimp", "keywords": "", "license": "ISC", "maintainer": "", "maintainer_email": "", "name": "pyassimp", "package_url": "https://pypi.org/project/pyassimp/", "platform": "", "project_url": "https://pypi.org/project/pyassimp/", "project_urls": { "Homepage": "https://github.com/assimp/assimp" }, "release_url": "https://pypi.org/project/pyassimp/4.1.4/", "requires_dist": null, "requires_python": "", "summary": "Python bindings for the Open Asset Import Library (ASSIMP)", "version": "4.1.4" }, "last_serial": 4761687, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ead9684f30b2f6cbf59a3ebd974e4b02", "sha256": "86787206cdbfbc7eddb77e5b13cad7fd2558e91d83ace3ac35765cd1b91f92ca" }, "downloads": -1, "filename": "pyassimp-0.1.tar.gz", "has_sig": false, "md5_digest": "ead9684f30b2f6cbf59a3ebd974e4b02", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31647, "upload_time": "2016-01-04T17:39:26", "url": "https://files.pythonhosted.org/packages/ce/58/f61a2ced89a1c59487c4474911aec99b35fd09b865c18cd362ebd26a7506/pyassimp-0.1.tar.gz" } ], "3.3": [ { "comment_text": "", "digests": { "md5": "f00db8478f3b2a976df0697c34fa5327", "sha256": "626b4db1d11adb84e4b4d27f2fd9f0ea7ddcd6a328ab5b2a989c072a6fde0c4b" }, "downloads": -1, "filename": "pyassimp-3.3.tar.gz", "has_sig": false, "md5_digest": "f00db8478f3b2a976df0697c34fa5327", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 94555, "upload_time": "2016-12-16T11:04:00", "url": "https://files.pythonhosted.org/packages/11/0e/451c857f1d711f023a558c40e51c28e288f6644e613dc97c7eb992864e0b/pyassimp-3.3.tar.gz" } ], "4.1.1": [ { "comment_text": "", "digests": { "md5": "034c457dcb679b62286d8e421dda00d2", "sha256": "36e7f3df2495962008512982efc4fb69690f46709283df475a88317bf4d24604" }, "downloads": -1, "filename": "pyassimp-4.1.1.tar.gz", "has_sig": false, "md5_digest": "034c457dcb679b62286d8e421dda00d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 96580, "upload_time": "2018-05-28T22:46:59", "url": "https://files.pythonhosted.org/packages/b4/5d/3837d8c9f56f9b7ce7c32dee158335ad15255ed0ba11fdc61587f3dd69c6/pyassimp-4.1.1.tar.gz" } ], "4.1.2": [ { "comment_text": "", "digests": { "md5": "92e371bd58d1fbc99d9fa3751d85b655", "sha256": "a7370c8aea36e038824f8545f00379f074e422f4e6836400c713a70ad63c042b" }, "downloads": -1, "filename": "pyassimp-4.1.2.tar.gz", "has_sig": false, "md5_digest": "92e371bd58d1fbc99d9fa3751d85b655", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 96606, "upload_time": "2018-05-28T22:51:47", "url": "https://files.pythonhosted.org/packages/58/1a/85a6f9a8dabd19a4ca8ad4b688d45bcc151e53ae5a91f95c01c4313b2cdb/pyassimp-4.1.2.tar.gz" } ], "4.1.3": [ { "comment_text": "", "digests": { "md5": "98566dcbd23c55fe9dbdad6434778bc9", "sha256": "28553d428800daf00dedb6bfce43c7d4f62c6dc553d53e9f405694e21482db3b" }, "downloads": -1, "filename": "pyassimp-4.1.3.tar.gz", "has_sig": false, "md5_digest": "98566dcbd23c55fe9dbdad6434778bc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 106169, "upload_time": "2018-05-29T09:48:50", "url": "https://files.pythonhosted.org/packages/b7/9f/d327c8fce7471a5295bde4adbfb94953584ff3b36b3c46ba586e27d2be8b/pyassimp-4.1.3.tar.gz" } ], "4.1.4": [ { "comment_text": "", "digests": { "md5": "682f1583e7d8e130fe70bf754721dcb5", "sha256": "266bd4be170d46065b8c2ad0f5396dad10938a6bbf9a566c4e4d56456e33aa6a" }, "downloads": -1, "filename": "pyassimp-4.1.4.tar.gz", "has_sig": false, "md5_digest": "682f1583e7d8e130fe70bf754721dcb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 98275, "upload_time": "2019-01-30T22:41:56", "url": "https://files.pythonhosted.org/packages/60/49/95560c2e694fa5bcbe885bdd4656948d083d67ee2adb0378e7d15637df4f/pyassimp-4.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "682f1583e7d8e130fe70bf754721dcb5", "sha256": "266bd4be170d46065b8c2ad0f5396dad10938a6bbf9a566c4e4d56456e33aa6a" }, "downloads": -1, "filename": "pyassimp-4.1.4.tar.gz", "has_sig": false, "md5_digest": "682f1583e7d8e130fe70bf754721dcb5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 98275, "upload_time": "2019-01-30T22:41:56", "url": "https://files.pythonhosted.org/packages/60/49/95560c2e694fa5bcbe885bdd4656948d083d67ee2adb0378e7d15637df4f/pyassimp-4.1.4.tar.gz" } ] }