Skip to main content

cumo

ビルド

yarn、protoc、poetryが必要です(.devcontainer/Dockerfile参照)。 以下のようにするとlib/distにtar.gzとwhlファイルが生成されます。 クライアントのHTML等はライブラリに埋め込まれています。

$ ./build.sh

インストール

$ pip install pointcloud-viewer

ドキュメント

sphinxでドキュメントの生成が可能です。

$ cd lib
$ poetry install
$ poetry run sphinx-apidoc --append-syspath -F -o ./docs .

使用例

lib/cumo/__main__.pyは3面図を撮る例です。

$ poetry run python -m cumo pcl_logo.pcd
open: http://127.0.0.1:8082
setup...
resize window and press custom control button "start"
saved: screenshot_x.png
saved: screenshot_y.png
saved: screenshot_z.png

REPLでの使用も可能です。

$ poetry run python
Python 3.8.7 (default, Apr  9 2022, 21:34:33)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from cumo import PointCloudViewer
>>> viewer = PointCloudViewer()
>>> viewer.start()
>>> # open localhost:8082 on your browser
>>> with open(filename, "rb") as f:
>>>     b = f.read()
>>>     viewer.send_pointcloud_pcd(b)

Metadata

Release files for cumo 0.33.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cumo 0.33.0
File Size Uploaded Provenance Actions
cumo-0.33.0.tar.gz 1.2 MB Without provenance Details for cumo-0.33.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cumo 0.33.0
File Interpreter ABI Platform Actions
cumo-0.33.0-py3-none-any.whl Python 3 none any Details for cumo-0.33.0-py3-none-any.whl

Total release size: 2.4 MB

Release files / cumo-0.33.0.tar.gz

Download URL cumo-0.33.0.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
75b4ecf8f5283754643b7f1dced72612c0fab3621e39f7b6615f8f1c80e44fed
BLAKE2b-256 checksum
How to use checksums
f4541a90c6ded607e34974eeb77d5a49ed017e51ce5e7a684eefcb778f8bbfbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.8.10 Linux/5.15.146.1-microsoft-standard-WSL2

Release files / cumo-0.33.0-py3-none-any.whl

Download URL cumo-0.33.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c26879b28b641830eb55f217fe5e516cdbb1bee8d012c29ab7ab7e205ebbbf53
BLAKE2b-256 checksum
How to use checksums
aa3b35b05d8affff8fa1014071d2bce64e7b00bf422eb11b0847e39faadfce26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.8.10 Linux/5.15.146.1-microsoft-standard-WSL2

Security for cumo 0.33.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page