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.2.tar.gz (8.4 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.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: geomodelingz-0.0.2.tar.gz
  • Upload date:
  • Size: 8.4 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.2.tar.gz
Algorithm Hash digest
SHA256 ac6b92fea2ceaff51eae2e15fdeed7999dec21f083125c2b1f17f8a8271d8e50
MD5 7310655771d042ac669bdbd919b81746
BLAKE2b-256 7b5089ed512e265e5e45c2a5de28ba4f99373654816079982aa2c5a4aa59c975

See more details on using hashes here.

File details

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

File metadata

  • Download URL: geomodelingz-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 21ac0717aea0f2577d9f059dc37977bc5e9c7d5a88b7ad02dcaba180321e613b
MD5 9cd9e7760f063642ba0409a22dca43a2
BLAKE2b-256 6224087e6d345cccf0031f0112f78a915ea9e66d5286bc0d3a68499db6aac633

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