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.
  • 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


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

Uploaded Source

Built Distribution

Rh_s_PyTool-0.1.1-py3-none-any.whl (18.3 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