Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pylas

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pylas

Las/Laz reading and writing in python

  • 0.4.3
  • PyPI
  • Socket score

Maintainers
1

pylas

Another way of reading LAS/LAZ in Python.

.. image:: https://readthedocs.org/projects/pylas/badge/?version=latest :target: https://pylas.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status

.. image:: https://travis-ci.org/tmontaigu/pylas.svg?branch=master

Example

.. code:: python

import pylas

# Directly read and write las 
las = pylas.read('filename.las')
las = pylas.convert(las, point_format_id=2)
las.write('converted.las')

# Open data to inspect header and then read
with pylas.open('filename.las') as f:
    if f.header.point_count < 10 ** 8:
        las = f.read()
print(las.vlrs)

Some rough documentation is available on ReadTheDocs_ .

.. _ReadTheDocs: http://pylas.readthedocs.io/en/latest/index.html

Dependencies & Requirements

Python 3 Only.

lazperf_ is an optional, but recommended dependency that allows pylas to read and write compressed LAZ files.

.. _lazperf: https://github.com/hobu/laz-perf

Installation

::

pip install pylas

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc