<commit_before># github-downloads - a gem for managing your downloads, on Github

This is a simple gem that does exactly what it says on the tin: manages your Github project downloads.

    $ gem install github-downloads

It can be used to list the downloads for your project:

    $ github-downloads list -u lukeredpath -r simpleconfig
  
It can also be used to create a new download:

    $ github-downloads create -u lukeredpath -r simpleconfig -f ~/myproject/somefile.zip -d "This is an important file"
  
### Github::Client, a generic Github API client

The gem is built on top of [version 3 of the Github API](http://developer.github.com/v3/); included in the source is a class, Github::Client, a simple wrapper around the Github API that uses RestClient and simplifies communication with the Github API. 

It provides a simple interface to the Github REST API. It handles errors appropriately and returns parsed response data as well as additional metadata such as API rate limits. 

It doesn't aim to be a full-blown Github API library (completely with a local domain model) but a very thin utility ckass that can be used to write other simple scripts and gems, like this one. Feel free to use this in your own project if you are working with the Github API.

### License

This code is provided under the terms of the MIT license.<commit_msg>Note about authentication<commit_after># github-downloads - a gem for managing your downloads, on Github

This is a simple gem that does exactly what it says on the tin: manages your Github project downloads.

    $ gem install github-downloads

It can be used to list the downloads for your project:

    $ github-downloads list -u lukeredpath -r simpleconfig
  
It can also be used to create a new download:

    $ github-downloads create -u lukeredpath -r simpleconfig -f ~/myproject/somefile.zip -d "This is an important file"
  
## Authentication

The gem uses HTTP Basic authentication. You should not specify your password on the command line - the gem will prompt you to enter your password securely when needed. If you are using OSX, the password will be stored in - with your permission - in the OSX Keychain.
  
## Github::Client, a generic Github API client

The gem is built on top of [version 3 of the Github API](http://developer.github.com/v3/); included in the source is a class, Github::Client, a simple wrapper around the Github API that uses RestClient and simplifies communication with the Github API. 

It provides a simple interface to the Github REST API. It handles errors appropriately and returns parsed response data as well as additional metadata such as API rate limits. 

It doesn't aim to be a full-blown Github API library (completely with a local domain model) but a very thin utility ckass that can be used to write other simple scripts and gems, like this one. Feel free to use this in your own project if you are working with the Github API.

## License

This code is provided under the terms of the MIT license.
{'fraction_non_alphanumeric': 0.045681893964654885, 'fraction_numerical': 0.001333777925975325, 'mean_word_length': 3.9019607843137254, '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': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7090397', 'n_tokens_mistral': 791, 'n_tokens_neox': 745, 'n_words': 470}