Skip to main content

地理建模工具库

Project description

GeoModelingZ

这是一个地理建模工具库,专为Jupyter Notebook环境优化,提供了丰富的交互式功能。

功能

  • 提供友好的问候语
  • 获取格式化的当前时间
  • Jupyter Notebook交互式组件
  • 数据可视化与图表交互
  • 交互式地理地图(支持GeoJSON数据)
  • 支持点、线、多边形和Multi类型几何数据
  • Markdown内容展示

安装

基本安装

pip install GeoModelingZ

安装Jupyter支持(推荐)

pip install GeoModelingZ[jupyter]

使用方法

基本功能

import GeoModelingZ

# 使用基本函数
print(GeoModelingZ.say_hello("World"))
print(f"当前时间是: {GeoModelingZ.get_current_time_str()}")

# 查看版本号
print(f"库版本: {GeoModelingZ.__version__}")

Jupyter Notebook中的交互功能

import GeoModelingZ

# 显示交互式时间小部件
GeoModelingZ.show_time_widget()

# 创建交互式图表
GeoModelingZ.plot_simple_chart()

# 显示Markdown内容
GeoModelingZ.display_markdown("# 这是一个标题\n这是**加粗**的文本")

# 创建地理数据可视化小部件
GeoModelingZ.create_geo_widget()

# 创建交互式地理地图(支持GeoJSON数据)
GeoModelingZ.create_geo_map(geojson_file="path/to/your/data.geojson")

依赖

  • Python >= 3.6
  • numpy
  • matplotlib
  • ipython
  • folium

可选依赖(用于Jupyter功能)

  • ipywidgets >= 7.0.0
  • jupyterlab_widgets

更新日志

v0.0.2

  • 添加了交互式地理地图功能 (create_geo_map)
  • 支持GeoJSON数据的可视化
  • 支持点、线、多边形和Multi类型几何数据
  • 自动聚焦到数据区域

v0.0.1

  • 初始版本发布
  • 基本功能实现

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

geomodelingz-0.0.3.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

geomodelingz-0.0.3-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file geomodelingz-0.0.3.tar.gz.

File metadata

  • Download URL: geomodelingz-0.0.3.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for geomodelingz-0.0.3.tar.gz
Algorithm Hash digest
SHA256 ea58c42a7c82886be7a6c7e7298964d981eaea80234ee7385f09aa05164eeace
MD5 0a913951ea05c35a7b1353dfe639175f
BLAKE2b-256 2ef928e267d72d228898e75a1e660aaa9a1bd0e7c364c2420e2c391a59207a88

See more details on using hashes here.

File details

Details for the file geomodelingz-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: geomodelingz-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for geomodelingz-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aa3a389146e7df2ef7b42ed342962259855c6a69c7f7602f15c16924271843f5
MD5 eb0f1c9355a792bb54e685380d0d0590
BLAKE2b-256 815369604d40ca33170d067f69b182769392ea7a6f8d8e854583294f996fc54b

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