Skip to main content

Proprietary geoscientific 3D/2D visualization engine, distributed as a Python library.

Project description

Vixar

Proprietary geoscientific 3D/2D visualization engine, distributed as a Python library.

import vixar as vx

viewer = vx.Viewer(width=1200, height=800, theme="dark")
viewer.add_point_cloud("survey.csv", color_by="elevation", cmap="terrain")
viewer.add_boreholes(
    "drillholes.csv",
    id_col="HOLE_ID", x_col="X", y_col="Y", z_col="Z", from_col="FROM",
    color_by="au_ppm", cmap="hot",
)
viewer.show()            # inline Jupyter widget
viewer.serve(port=8050)  # local web server (iframe-embeddable)
viewer.to_html("scene.html")  # standalone HTML

pip install vixar — no Node.js required for end users. The WebGL2 engine ships as a bundled viewer.js static asset.

Development

The JS engine lives in the monorepo at the repo root. Build the bundle before running the Python package from source:

pnpm install
pnpm build:viewer          # -> python/src/vixar/static/viewer.js
cd python && pip install -e ".[dev]"
pytest

This is a Phase 1 build (CSV point clouds + boreholes, colour legend, UTM origin, Jupyter/serve/HTML output). See ../plan_v2.md for the full roadmap.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vixar-1.0.0.tar.gz (763.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vixar-1.0.0-py3-none-any.whl (780.5 kB view details)

Uploaded Python 3

File details

Details for the file vixar-1.0.0.tar.gz.

File metadata

  • Download URL: vixar-1.0.0.tar.gz
  • Upload date:
  • Size: 763.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.13","system":{"name":"Linux","release":"6.17.0-1015-azure"}} HTTPX2/2.3.0

File hashes

Hashes for vixar-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dc72109a9d3f331d9dd624db10fe3af96d2bf1bde947a1dd911d8146b9399c64
MD5 063cb0345c93c7d782369a0d40753f5f
BLAKE2b-256 64d7066a25665c17ed020d7d8525e65642c0a6e66f234d1783e3f50134144b1b

See more details on using hashes here.

File details

Details for the file vixar-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: vixar-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 780.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.17.0 {"ci":true,"cpu":"x86_64","distro":{"id":"noble","libc":{"lib":"glibc","version":"2.39"},"name":"Ubuntu","version":"24.04"},"implementation":{"name":"CPython","version":"3.12.13"},"installer":{"name":"hatch","version":"1.17.0"},"openssl_version":"OpenSSL 3.0.13 30 Jan 2024","python":"3.12.13","system":{"name":"Linux","release":"6.17.0-1015-azure"}} HTTPX2/2.3.0

File hashes

Hashes for vixar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e39034eebe8c1f2bff625393b0f5c51d7f49a11734dd1e09f1c68cdabfdad747
MD5 2ca1060ffae2e4e1cc7ff062850b3445
BLAKE2b-256 74343d7b3a0f6d6840e34bc07b0fc741ac5781917f76521238fb471b7a6a00e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page