Skip to main content

Instruments used in school-project

Project description

PyPI CodeQL pdm-managed Total alerts Language grade: Python DOI

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


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.1.0.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

Rh_s_PyTool-0.1.0-py3-none-any.whl (18.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page