{"id":19367764,"url":"https://github.com/ranjian0/assimp_py","last_synced_at":"2026-02-27T03:31:28.938Z","repository":{"id":49542910,"uuid":"265850507","full_name":"ranjian0/assimp_py","owner":"ranjian0","description":"Minimal Python bindings for ASSIMP using C API","archived":false,"fork":false,"pushed_at":"2025-09-04T15:47:03.000Z","size":10485,"stargazers_count":20,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-30T03:04:24.252Z","etag":null,"topics":["assimp","cpython-api","python"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ranjian0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-21T13:05:05.000Z","updated_at":"2025-09-17T02:23:29.000Z","dependencies_parsed_at":"2025-04-25T04:31:51.784Z","dependency_job_id":null,"html_url":"https://github.com/ranjian0/assimp_py","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ranjian0/assimp_py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjian0%2Fassimp_py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjian0%2Fassimp_py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjian0%2Fassimp_py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjian0%2Fassimp_py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ranjian0","download_url":"https://codeload.github.com/ranjian0/assimp_py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ranjian0%2Fassimp_py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assimp","cpython-api","python"],"created_at":"2024-11-10T08:04:37.536Z","updated_at":"2026-02-27T03:31:28.913Z","avatar_url":"https://github.com/ranjian0.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# assimp-py\n[![Build package](https://github.com/ranjian0/assimp_py/actions/workflows/python-package.yml/badge.svg)](https://github.com/ranjian0/assimp_py/actions/workflows/python-package.yml)\n[![Publish assimp-py to PyPI](https://github.com/ranjian0/assimp_py/actions/workflows/python-publish.yml/badge.svg)](https://github.com/ranjian0/assimp_py/actions/workflows/python-publish.yml)\n\nMinimal Python Bindings for ASSIMP Library using C-API\n\n\n# Installation\n\n```\npip install assimp-py\n```\n\nfrom source\n\n```\ngit clone https://github.com/ranjian0/assimp_py.git\ncd assimp_py\npython -m pip install .\n```\n\n\u003e **cmake\u003e=3.18 is required for building from source**\n\n## [Optional] Run tests to make sure everything works fine\n```\npip install pytest\npytest tests\n```\n\n\n# Example Program\n\n```python\nimport assimp_py\n\n# -- loading the scene\nprocess_flags = (\n    assimp_py.Process_Triangulate | assimp_py.Process_CalcTangentSpace\n)\nscene = assimp_py.ImportFile(\"models/planet/planet.obj\", process_flags)\n\n# -- getting data\nfor m in scene.meshes:\n    # -- getting vertex data\n    # vertices are guaranteed to exist\n    verts = m.vertices\n\n    # other components must be checked for None\n    normals = [] or m.normals\n    texcoords = [] or m.texcoords\n    tangents = [] or m.tangents\n    bitangent = [] or m.bitangents\n\n    # -- getting materials\n    # mat is a dict consisting of assimp material properties\n    mat = scene.materials[m.material_index]\n\n    # -- getting color\n    diffuse_color = mat[\"COLOR_DIFFUSE\"]\n\n    # -- getting textures\n    diffuse_tex = mat[\"TEXTURES\"][assimp_py.TextureType_DIFFUSE]\n```\n# Supported Mesh Formats\n\n\u003e AMF 3DS AC ASE ASSBIN B3D BVH COLLADA DXF CSM HMP IRRMESH IRR LWO LWS M3D MD2 MD3 MD5 MDC MDL NFF NDO OFF OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BSP RAW SIB SMD STL TERRAGEN 3D X X3D GLTF 3MF MMD OBJ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjian0%2Fassimp_py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Franjian0%2Fassimp_py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Franjian0%2Fassimp_py/lists"}