<commit_before>#Josiah patron accounts

This is exploratory code in an attempt to allow [Josiah](http://josiah.brown.edu/) patron account features in another application - easyArticle, VuFind, Blacklight, etc.

## Development

Running tests with py.test and showing ouput: `py.test -s`.

[vcrpy](https://github.com/kevin1024/vcrpy) is used to generate test fixtures.  These are not stored in the repository to protect possible sensitive information.  They can be regenerated following the vcrpy documentation.  Brown Univ developers should contact [@birkin](https://github.com/birkin) to obtain a Brown specific test fixtures.


##Issues and ToDos

 * HTML parsing is currently done with pyquery.  This will be replaced with BeautifulSoup4.
 * Test with various user types (student, grad student, faculty, etc)<commit_msg>adds library link.<commit_after>#Josiah patron accounts

This is exploratory code in an attempt to allow [Josiah](http://josiah.brown.edu/) patron account features in another application - easyArticle, VuFind, Blacklight, etc.

## Development

Running tests with py.test and showing ouput: `py.test -s`.

[vcrpy](https://github.com/kevin1024/vcrpy) is used to generate test fixtures.  These are not stored in the repository to protect possible sensitive information.  They can be regenerated following the vcrpy documentation.  Brown Univ developers should contact [@birkin](https://github.com/birkin) to obtain a Brown specific test fixtures.


##Issues and ToDos

 * HTML parsing is currently done with pyquery.  This will be replaced with [BeautifulSoup4](https://pypi.python.org/pypi/beautifulsoup4).
 * Test with various user types (student, grad student, faculty, etc)
{'fraction_non_alphanumeric': 0.08136792452830188, 'fraction_numerical': 0.006485849056603774, 'mean_word_length': 4.811643835616438, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '5571550', 'n_tokens_mistral': 484, 'n_tokens_neox': 446, 'n_words': 199}