Python code instruments that could be used for indicators comprehensive evaluation.
Project description
Rh-s-PyTool
Rh-s-PyTool is a collection of python codes I wrote in my school project, including a series of used tools and methods. See Documentation for details.
Main function
It mainly contains two large modules, each of which contains several small modules.
The main functions of the former cp_lookup include:
- Querying all the prefecture-level administrative units in the province based on the name of the provincial-level administrative region.
- Reverse-checking the name of the provincial-level administrative region based on the name of the prefecture-level administrative unit.
- Obtaining the longitude and latitude of the administrative center based on the name of the region (prefecture-level and above).
- Calculating the spherical distance between two places (ground level and above).
The main functions of the latter index_calmeth are:
- Converting non-positive indicators to positive indicators.
- Making data metrics dimensionless.
- Calculating indicator weights.
- Calculating rsr score of the evaluation objects.
- Calculating topsis score of the evaluation objects.
Installing
You can download the compressed package from release and install it locally,
or get it from PyPI:
pip3 install Rh-s-PyTool
You can also use the pdm package management system ( recommended ):
pdm add Rh-s-PyTool
Note: Since the python3.10 version is used when the module is finally aggregated, if you want to try these code, it is best to use python3.10 or above.
Documentation
Notion : Rh-s-PyTool Module
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
Hashes for Rh_s_PyTool-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bd672d1411cf2929b7b1389a84c213a473c659e98cc54ec3054608f9d6ecef6 |
|
MD5 | b5b476ed39cfcba64db3a86219e6267f |
|
BLAKE2b-256 | 63e10143e24d8f9eb8b8ddbff139fb86f4b81f3f0add59ed4f9c6e4de8a1abf9 |