<commit_before># eureka-python-client
Clients for accessing Eureka!'s web services APIs

## Example
If you run eureka on your local machine using `mvn tomcat7:run`, you can access the REST APIs from python as follows:
```
from eurekaclinical.eureka import client

with client.connect('username', 'password', verify_cas_cert=False, verify_api_cert=False) as cn:
  print cn.users().me()
  print cn.concepts().get('ICD9:250.00')
  print cn.phenotypes().get('30-day readmission')
```

## Limitations
Only local user accounts can login using this client.<commit_msg>Added python version requirement.<commit_after># eureka-python-client
Clients for accessing Eureka!'s web services APIs

## Requirements
* Requires Python 2.7.10 or higher.

## Example
If you run eureka on your local machine using `mvn tomcat7:run`, you can access the REST APIs from python as follows:
```
from eurekaclinical.eureka import client

with client.connect('username', 'password', verify_cas_cert=False, verify_api_cert=False) as cn:
  print cn.users().me()
  print cn.concepts().get('ICD9:250.00')
  print cn.phenotypes().get('30-day readmission')
```

## Limitations
Only local user accounts can login using this client.

{'fraction_non_alphanumeric': 0.11120401337792642, 'fraction_numerical': 0.01839464882943144, 'mean_word_length': 5.435483870967742, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1480152', 'n_tokens_mistral': 407, 'n_tokens_neox': 373, 'n_words': 126}