Skip to main content

Classes to describe rock-climbing

Project description

Climbing

This repo covers a few classes that describe rock-climbing. It was created as an exercise in package development.

Location on PyPi Location on Github

Quickstart

It is available to install using pip, e.g. for python3 use:

python3 -m pip install pgs_climbing

And can then be used by importing into your python files:

from pgs_climbing import Crag, Route, Climber, GRADES_LIST

Contents

The classes are currently:

  • Crag - A class to hold information about each climbing area, the routes it contains and its location.

  • Route - A class to hold information about a particular route - its name, grade, height etc.

  • Climber - A class to hold information about a climber, the routes they have attempted/climbed and when.

The class descriptions can be found in the climbing_package/pgs_climbing directory

Example output

There is a jupyter notebook in examples/ if you want to see it in action

It currently has two basic visual summary methods, one on the crag class summarising the routes at that crag:

Crag_summary

and one on the climber class, showing their progress over time:

Climber_progress

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

pgs_climbing-0.1.2.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file pgs_climbing-0.1.2.tar.gz.

File metadata

  • Download URL: pgs_climbing-0.1.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.16

File hashes

Hashes for pgs_climbing-0.1.2.tar.gz
Algorithm Hash digest
SHA256 418d45e93e1908d0281bb99476bbf9e5d67ebe05989aed43c3995fd127d5d98e
MD5 29714f125b1bfdf24816eafeb9c059b0
BLAKE2b-256 45e3fc76a11a41f963a03e78878247a90c87085a09b380bc4ec35d408ad3338e

See more details on using hashes here.

Supported by

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