<commit_before>GistAPI.py
==========

This is a Python wrapper for GitHub's Gist API.

http://develop.github.com/p/gist.html

Example Usage
-------------
	from gistapi import *  

	>> gist = Gist('d4507e882a07ac6f9f92')

	>> gist.description   

	'Example Gist for gist.py'

	>> gist.created_at   

	'2010/05/16 10:51:15 -0700'

	>> gist.public   

	False

	>> gist.filenames     

	['exampleEmptyFile', 'exampleFile']

	>> gist.files    

	{'exampleFile': 'Example file content.', 'exampleEmptyFile': ''}  

	>> Gists.fetch_by_user('kennethreitz')[-1].description    

	'My .bashrc configuration'

Installation
------------

	pip install gistapi
	
Or, if you must: 

	easy_install gistapi
	

Roadmap
-------

* Implement Gist API methods as they are introduced
	- Token based Authentication
	- Listing your private Gists
	- Create a new Gist
	- Fork a Gist
	- Delete a Gist
	- Edit a Gist<commit_msg>documentation update<commit_after>GistAPI.py
==========

This is a Python wrapper for GitHub's Gist API.

http://develop.github.com/p/gist.html

Example Usage
-------------
   from gistapi import *  
   gist = Gist('d4507e882a07ac6f9f92')
   gist.description   # 'Example Gist for gist.py'
   gist.created_at    # '2010/05/16 10:51:15 -0700'
   gist.public        # False
   gist.filenames     # ['exampleEmptyFile', 'exampleFile']
	gist.files         # {'exampleFile': 'Example file content.', 'exampleEmptyFile': ''}  

   Gists.fetch_by_user('kennethreitz')[-1].description    # 'My .bashrc configuration'

Installation
------------

	pip install gistapi
	
Or, if you must: 

	easy_install gistapi
	

Roadmap
-------

* Implement Gist API methods as they are introduced
	- Token based Authentication
	- Listing your private Gists
	- Create a new Gist
	- Fork a Gist
	- Delete a Gist
	- Edit a Gist
{'fraction_non_alphanumeric': 0.14325374791782344, 'fraction_numerical': 0.03553581343697946, 'mean_word_length': 2.80168776371308, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 17, 'https://': 0, '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': '3036528', 'n_tokens_mistral': 694, 'n_tokens_neox': 618, 'n_words': 162}