<commit_before># stravalib

**UPDATE**

The new codebase supports only [version 3 API](http://strava.github.io/api/) of the Strava API (since v1 and v2 are no longer available).

**IMPORTANT**
This is currently under active development.  It is only partially implemented and still very broken.  
This documentation is also obviously very basic/incomplete.  It will get better.

The stravalib project aims to provide a simple API for interacting with Strava v3 web services, in particular
abstracting the v3 REST API around a rich and easy-to-use object model.

## Dependencies
 
* Python 2.6+.  (This is intended to work with Python 3, but is being developed on Python 2.7)
* Setuptools/distributeb for installing dependencies
* Other python libraries (installed automatically when  using pip/easy_install): requests, pytz, units, python-dateutil

## Installation

The package is avialable on PyPI to be installed using easy_install or pip:
   
   shell$ pip install stravalib
   
Of course, by itself this package doesn't do much; it's a library.  So it is more likely that you will 
list this package as a dependency in your own `install_requires` directive in `setup.py`.  Or you can 
download it and explore Strava content in your favorite python REPL.

## Basic Usage

Please take a look at the source (in particular the stravalib.client.Client class, if you'd like to play around with the 
API.  Most of the Strava API is implemented at this point; however, certain features such as streams are still on the
to-do list.
<commit_msg>Updating README<commit_after># stravalib

**UPDATE**

The new codebase supports only [version 3 API](http://strava.github.io/api/) of the Strava API (since v1 and v2 are no longer available).

**IMPORTANT**
This is currently under active development.  Parts have been tested, but some aspects may be broken.

The stravalib project aims to provide a simple API for interacting with Strava v3 web services, in particular
abstracting the v3 REST API around a rich and easy-to-use object model.

See the [online documentation](http://pythonhosted.org/stravalib/) for more comprehensive documentation.

## Dependencies
 
* Python 2.6+.  (This is intended to work with Python 3 using 2to3, but is being developed on Python 2.7)
* Setuptools/distribute for installing dependencies
* Other python libraries (installed automatically when  using pip/easy_install): requests, pytz, units, python-dateutil

## Installation

The package is avialable on PyPI to be installed using easy_install or pip:
   
   shell$ pip install stravalib
   
Of course, by itself this package doesn't do much; it's a library.  So it is more likely that you will 
list this package as a dependency in your own `install_requires` directive in `setup.py`.  Or you can 
download it and explore Strava content in your favorite python REPL.

## Basic Usage

Please take a look at the source (in particular the stravalib.client.Client class, if you'd like to play around with the 
API.  Most of the Strava API is implemented at this point; however, certain features such as streams are still on the
to-do list.

{'fraction_non_alphanumeric': 0.05689488910318226, 'fraction_numerical': 0.007071681131468981, 'mean_word_length': 4.265651438240271, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5668703', 'n_tokens_mistral': 857, 'n_tokens_neox': 830, 'n_words': 449}