Instruments used in school-project
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, and 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 index system forwardization, normalization, calculation of critic weight, calculation of rsr score, and calculation of topsis score.
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 codes, 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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c5addc1dd6c6635020841a5e1647cb980c8f1e8ef0ca446904ef20ad738d020 |
|
MD5 | 572bfcbe66d769651c240391e804314b |
|
BLAKE2b-256 | a7015b05c0ac33bbd1a46b6bb06460b44c4fdc8dc301c1caaa96032c93ff678f |