<commit_before>[Travis-CI][o1] is a hosted continuous integration service for the open source community. It is integrated with GitHub and offers first class support 
for a lot of languages.

**pytravis** provides an API wrapper for python and a set of utilities to get common
information from Tracis-CI.

**Current build status**: [![Build Status](https://travis-ci.org/guillermo-carrasco/pytravis.png?branch=develop)](https://travis-ci.org/guillermo-carrasco/pytravis)

##Usage
Pytravis gets the necessary information from a configuration file located in the
user's home directory. The file should be named ```.pytravisrc```. A minimal configuration
file is installed with pytravis containing the API endpoints:

```
[URI]
base_url: https://api.travis-ci.org/
repos_uri: repos/
repos_by_owner: repos.json?owner_name=
builds_uri: builds/
log_uri: jobs/{job_id}/log.txt?deansi=true
auth_github: auth/github
auth_handshake: auth/handshake
```

###Authentication
By the moment, pytravis allows authentication through a GitHub access token. To get
your GitHut token, access your GitHub account settings, go to the Applications' tab,
and copy the Personal API Access Token.

Once you have it, add an Auth section in the configuration file and paste your token
there:<commit_msg>Show status of master branch<commit_after>[Travis-CI][o1] is a hosted continuous integration service for the open source community. It is integrated with GitHub and offers first class support 
for a lot of languages.

**pytravis** provides an API wrapper for python and a set of utilities to get common
information from Tracis-CI.

**Current build status**: [![Build Status](https://travis-ci.org/guillermo-carrasco/pytravis.png?branch=master)](https://travis-ci.org/guillermo-carrasco/pytravis)

##Usage
Pytravis gets the necessary information from a configuration file located in the
user's home directory. The file should be named ```.pytravisrc```. A minimal configuration
file is installed with pytravis containing the API endpoints:

```
[URI]
base_url: https://api.travis-ci.org/
repos_uri: repos/
repos_by_owner: repos.json?owner_name=
builds_uri: builds/
log_uri: jobs/{job_id}/log.txt?deansi=true
auth_github: auth/github
auth_handshake: auth/handshake
```

###Authentication
By the moment, pytravis allows authentication through a GitHub access token. To get
your GitHut token, access your GitHub account settings, go to the Applications' tab,
and copy the Personal API Access Token.

Once you have it, add an Auth section in the configuration file and paste your token
there:
{'fraction_non_alphanumeric': 0.0859375, 'fraction_numerical': 0.00078125, 'mean_word_length': 5.4185463659147866, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1286170', 'n_tokens_mistral': 751, 'n_tokens_neox': 744, 'n_words': 303}