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.28.2

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.28.2
File Size Uploaded
cumo-0.28.2.tar.gz 1.2 MB Details

Built distribution (wheel)

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

Total release size: 2.3 MB

Release files / cumo-0.28.2.tar.gz

Download URL cumo-0.28.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
0eede64236a843bc4231f78f891c35d7aeabc6073b1a6f158294ecc27d16031c
BLAKE2b-256 checksum
How to use checksums
aeb86f6749b7ab09cd018c4733aa46965470cbcbbd082681844eee4626e973df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.5.1 CPython/3.8.10 Linux/5.15.90.1-microsoft-standard-WSL2

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

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

Release history Release notifications | RSS feed

0.34.1

2 release files

0.33.7

2 release files

0.33.6

2 release files

0.33.5

2 release files

0.33.4

2 release files

0.33.3

2 release files

0.33.2

2 release files

0.33.1

2 release files

0.33.0

2 release files

0.32.0

2 release files

0.31.0

2 release files

0.30.0

2 release files

This release

0.28.2 This release

2 release files

0.28.1

2 release files

0.28.0

2 release files

0.27.1

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.22.0

2 release files

0.20.0

2 release files

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