Instruments used in school-project
Project description
Rh-s-PyTool
Rh-s-PyTool是本人在学校课题中写过的python代码整理后得到的合集,包括了一系列使用过的工具和方法。具体内容参见Documentation。
主要功能
主要包含了两个大模块,二者各自又包含了若干小模块。前者cp_lookup的主要功能包括根据省级行政区名称查询该省所有地级行政单位、根据地级行政单位名称反查所属省级行政区名称、根据区域(地级及以上)名称得到行政中心经纬度、计算两地(地级及以上)球面距离。后者index_calmeth的主要功能为指标体系正向化、归一化、计算critic权重、计算rsr得分、计算topsis得分。
下载
可以从release下载压缩包本地安装,
或从PyPI上下载:
pip3 install Rh-s-PyTool
推荐使用pdm包管理系统:
pdm add Rh-s-PyTool
注:由于最后汇总模块的时候使用的是python3.10版本,而本人对python各代版本的差异不甚了解,如果有人想尝试一下这些代码,最好用python3.10以上版本。
文档
Documentation : Notion
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
Rh-s-PyTool-0.0.3.tar.gz
(16.7 kB
view hashes)
Built Distribution
Close
Hashes for Rh_s_PyTool-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a9ce3c48985c1bb564786bc6203ba8cab6dac38b62a7e3dd8748a946812892d |
|
MD5 | b56796e33f5d5431d618893bf67624ad |
|
BLAKE2b-256 | 1f1d2a90b78ec48292a90bee8c538317787f1563b3c67d9387e0d300310fd26c |