Skip to main content

A library to convert scores using many arithmetics

Project description

GPA

A library used to calculate your GPA. Now the GPA algorithm varies slightly from school to school, and calculating your GPA score one by one when applying to schools is a complicated and time-consuming process. This library is used to implement some common GPA calculation methods, which is convenient for you to calculate your GPA.

一个用来计算你GPA的库。现在各个学校的GPA算法略有不同,在申请学校时逐个计算你的GPA分数是很复杂且耗费时间的过程。这个库用来实现一些常见的GPA计算方法,方便你计算你的GPA。

How to install

pip install gpalib

How to use

import gpalib
a = ['A', 'B', 'A', 'A']
r = gpalib.convert_to_4(a, 'rank')
print(r)
[4, 3, 4, 4]
import gpalib
a = [99, 87, 89, 83, 96]
r = gpalib.convert_to_4(a, 'hundred', 'Beida_4')
print(r)
[4, 3.7, 3.7, 3.3, 4]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

gpalib-0.1.5-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file gpalib-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: gpalib-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

File hashes

Hashes for gpalib-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2ae4d246fc84bde3716314c56c580255be7406fec79b1af068b7d8a73a926d64
MD5 f24d6c94f92d11ef7b509edbb6078382
BLAKE2b-256 2a65b938873d0c1c25c61d3c668388b510ead1578f9bbd3c8e5a18ea4fa222b1

See more details on using hashes here.

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