{"id":18461800,"url":"https://github.com/dancergraham/e57-python","last_synced_at":"2025-04-08T07:32:07.430Z","repository":{"id":171414327,"uuid":"647899959","full_name":"dancergraham/e57-python","owner":"dancergraham","description":"e57 file reading","archived":false,"fork":false,"pushed_at":"2024-12-19T18:26:40.000Z","size":414,"stargazers_count":9,"open_issues_count":10,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-21T03:06:15.582Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/dancergraham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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}},"created_at":"2023-05-31T19:10:11.000Z","updated_at":"2024-12-19T17:21:11.000Z","dependencies_parsed_at":"2024-01-14T22:01:10.822Z","dependency_job_id":"cd6f4154-a2d2-4b0c-aab9-dd07862b5d89","html_url":"https://github.com/dancergraham/e57-python","commit_stats":null,"previous_names":["dancergraham/e57-python"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancergraham%2Fe57-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancergraham%2Fe57-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancergraham%2Fe57-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dancergraham%2Fe57-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dancergraham","download_url":"https://codeload.github.com/dancergraham/e57-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247796258,"owners_count":20997537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-06T08:36:42.618Z","updated_at":"2025-04-08T07:32:07.009Z","avatar_url":"https://github.com/dancergraham.png","language":"Python","readme":"[![PyPI](https://img.shields.io/pypi/v/e57.svg)](https://pypi.org/project/e57)\n![GitHub](https://img.shields.io/github/actions/workflow/status/dancergraham/e57-python/CI.yml?branch=main)\n![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https://raw.githubusercontent.com/dancergraham/e57-python/main/pyproject.toml)\n\n# E57 Python Library\n\nE57 is a compact, non-proprietary point cloud format that's defined by the ASTM E2807 standard. This format is widely adopted by 3D design applications.\n\nThis python library wraps the [rust e57 library](https://github.com/cry-inc/e57) to provide file reading\n\n- [x] Proof of concept xml reading\n- [x] Read e57 point coordinates to numpy array - see `read_points` method.\n- [x] Read color field to numpy array.\n- [x] Read intensity to numpy array.\n- [ ] Read other fields to numpy array.\n- [ ] Write to e57 (format ?)\n\n## Getting Started\n\n`pip install e57`\n\n```python\n\u003e\u003e\u003e import e57\n\u003e\u003e\u003e pc = e57.read_points(r\"pointcloud.e57\")\n\u003e\u003e\u003e pc.points\narray([[-23.25304444, -28.17607415, -13.44830654],\n       [-23.28290139, -28.02118905, -13.44237764],\n       [-23.26799723, -27.9039115 , -13.43430738],\n       ...,\n       [ 23.2458152 ,  25.4866642 ,  12.45043932],\n       [ 23.22830673,  25.58055374,  12.49285875],\n       [ 23.25270363,  25.45909652,  12.54284554]])\n\u003e\u003e\u003e pc.color\narray(([0.3019608 , 0.3529412 , 0.23137255],\n       [0.21176471, 0.26666668, 0.12941177],\n       [0.21960784, 0.27058825, 0.13333334],\n       ...,\n       [0.5803922 , 0.58431375, 0.49019608],\n       [0.41568628, 0.43529412, 0.33333334],\n       [0.21568628, 0.25882354, 0.1254902 ]], dtype=float32)\n```\n\nWe need a tutorial - could you write one based on our tests?\n\n## Contributing\n\nAll contributions welcome - feature requests, bug reports, documentation, sample files, tests, rust code, python code, sharing the project online / via social media, ...\n\n## Testing\n\n`python -m pytest`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdancergraham%2Fe57-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdancergraham%2Fe57-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdancergraham%2Fe57-python/lists"}