<jupyter_start><jupyter_text>A tutorial for the pygis Python packageThis notebook demonstrates the usage of the **pygis** Python package for geospatial analysis.* GitHub repo: https://github.com/giswqs/pygis* Documentation: https://py-gis.readthedocs.io.* PyPI: https://pypi.org/project/pygis/* Binder: https://gishub.org/pygis-cloud* Free software: [MIT license](https://opensource.org/licenses/MIT)This tutorial can be accessed in three ways:* HTML version: https://gishub.org/pygis-html* Viewable Notebook: https://gishub.org/pygis-notebook* Interactive Notebook: https://gishub.org/pygis-cloud**Launch this tutorial as an interactive Jupyter Notebook on the cloud - [MyBinder.org](https://gishub.org/pygis-cloud).**  Table of Content* [Installation](Installation)  InstallationThe **pygis** Python package supports a variety of platforms, including Microsoft Windows, macOS, and Linux operating systems. Note that you will need to have **Python 3.x** installed. Python 2.x is not supported. The **pygis** Python package can be installed using the following command:`pip install pygis`If you have installed **pygis** Python package before and want to upgrade to the latest version, you can use the following command:`pip install pygis -U`If you encounter any installation issues, please [Report Bugs](https://github.com/giswqs/lidar/issues) on the **pygis** GitHub page.  Using pygis<jupyter_code>import pygis<jupyter_output><empty_output><jupyter_text>Downloading files<jupyter_code>url = "https://github.com/giswqs/lidar/raw/master/examples/lidar-dem.zip"
pygis.download_from_url(url, file_name='data.zip', unzip=False)
gfile_url = 'https://drive.google.com/file/d/1c6v-ep5-klb2J32Nuu1rSyqAc8kEtmdh'
pygis.download_from_gdrive(gfile_url, 'dem.zip')<jupyter_output>Google Drive file id: 1c6v-ep5-klb2J32Nuu1rSyqAc8kEtmdh
Downloading 1c6v-ep5-klb2J32Nuu1rSyqAc8kEtmdh into ./dem.zip... Done.
Unzipping...Done.
{'fraction_non_alphanumeric': 0.11715481171548117, 'fraction_numerical': 0.013598326359832637, 'mean_word_length': 5.931159420289855, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '80486', 'license': 'MIT', 'n_tokens_mistral': 670, 'n_tokens_neox': 647, 'n_words': 167, 'path': 'examples/pygis.ipynb', 'repo_name': 'giswqs/pygis', 'size': '1912'}