pyclimb 0.2.0

Creator: codyrutscher

Last updated:

Add to Cart

Description:

pyclimb 0.2.0

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.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.