一系列Python工具的合集,用于中国省、市、区县三级行政区域的名称查询和补全、行政中心的经纬度查询、球面距离计算,同时也包含了综合指标评价方法的各种构成方法。
Project description
关于Rh-s-PyTool
Rh-s-PyTool是一系列python工具方法的合集,包含了一些有关行政区域名称查询与补全、坐标查询以及综合指标评价方法等方面的内容。
主要功能
目前,Rh-s-PyTool主要包含了两个大的模块:cp_lookup和index_calmeth,二者又分别包含了若干个小模块。前者的功能描述大致描述如下:
-
将区域(省、市、区县)简称补充为全称
-
根据区域名(市、区县)查询其上级行政区域的名称
-
根据地区(省、市、区县)名称获取行政中心的经度和纬度
-
计算两个地区(省、市、区县)行政中心间的球面距离
后者则主要包含以下功能:
-
将非正向指标转换为正向指标
-
使数据指标无量纲化
-
计算指标权重
-
计算评估对象的综合评价分数分数
下载
可以从该项目的GitHub仓库中找到并下载最新的release本地安装,
或者从PyPI获取该模块:
pip3 install Rh-s-PyTool
也可以使用pdm包管理系统(推荐):
pdm add Rh-s-PyTool
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Rh-s-PyTool-0.3.0.tar.gz.
File metadata
- Download URL: Rh-s-PyTool-0.3.0.tar.gz
- Upload date:
- Size: 70.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f9951c8a4ce40ea63892b28406e3a50c4849951dcee4bd959510125aaa365dd
|
|
| MD5 |
cd5f912dc4a9252c8540572e6d6c41ad
|
|
| BLAKE2b-256 |
fca31949c222e021f045f6fb10914d122dd61e66f3839652d6b58fd16e65eae0
|
File details
Details for the file Rh_s_PyTool-0.3.0-py3-none-any.whl.
File metadata
- Download URL: Rh_s_PyTool-0.3.0-py3-none-any.whl
- Upload date:
- Size: 70.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.4.9 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
170a14938ea505b23242e66dc1eb48c13cc64bf596f8c60848e28feb747a6a33
|
|
| MD5 |
30aacdab86dd4264ea7157478492ce34
|
|
| BLAKE2b-256 |
523a5f755171ba836da1c4bd2e0eb4e6d3a50aac9c2360d009e1571665fcb651
|