pyclimb
A library to easily convert climbing route grades between different grading systems.
In rock climbing, mountaineering, and other climbing disciplines, climbers give a grade to a climbing route or boulder problem, intended to describe concisely the difficulty and danger of climbing it. Different types of climbing (such as sport climbing, bouldering or ice climbing) each have their own grading systems, and many nationalities developed their own, distinctive grading systems.
Install
The recommended installation is via pip:
pip install pyclimb
Usage
import pyclimb
pyclimb.convert(grade='6a+', grade_system='French', to='YDS')
// '5.10b'
pyclimb.convert(grade='9c', grade_system='French', to='YDS')
// '5.15d'
pyclimb.convert(grade='5.12a', grade_system='YDS', to='French')
// '7a+'
Note
This is a package under active development. Currently, only the following conversions are being supported:
- [sport climbing] conversion between French grading system and the YDS (Yosemite Decimal System).
Other conversions and different types of climbing will be included soon. These changes may drastically change the user-facing API, so do consult the semantic versioning of this package before upgrading to a newer version.
How to contribute
If you wish to contribute, this is a great place to start!
License
Distributed under the MIT License.
Metadata
Release files for pyclimb 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyclimb-0.2.0.tar.gz | 4.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyclimb-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.6 kB
Release files / pyclimb-0.2.0.tar.gz
| Download URL | pyclimb-0.2.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3ea076b06842c4522181264834242c8c1db635ba9adeb7fc923474572472c7f
|
|
BLAKE2b-256 checksum How to use checksums |
d9bc420817c88872c77ba35c903b95d2b219181be2228ca4631457bb6de51db8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.12 Linux/5.11.0-1027-azure
|
Release files / pyclimb-0.2.0-py3-none-any.whl
| Download URL | pyclimb-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
503efbfff39f56e36061cfa4dfb9fa136e509b89e64837fd9fa0d882c662a241
|
|
BLAKE2b-256 checksum How to use checksums |
e89bfea52ebe60cd22e1ddea6a3ba0e80fd7bedd2e075bad0c3ed8943150bfaa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.12 CPython/3.8.12 Linux/5.11.0-1027-azure
|
Security for pyclimb 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.