<commit_before># Library to read IPA files

Compatible with Python 2.7, 3.3, and 3.4.

## Usage

See below.

Note that `IPAFile` is just a subclass of `ZipFile` from the [`zipfile`](https://docs.python.org/2/library/zipfile.html)  module. On the object will be the attribute `app_info` which contains all the information read from `Payload/app_name.app/Info.plist` where `app_name` is the application's name.

```
>>> from ipa import IPAFile
>>> ipa = IPAFile('Chrome 37.2062.52.ipa')
>>> ipa.app_info['CFBundleIdentifier']
'com.google.chrome.ios'
```<commit_msg>Add is_universal() to example code<commit_after># Library to read IPA files

Compatible with Python 2.7, 3.3, and 3.4.

## Usage

See below.

Note that `IPAFile` is just a subclass of `ZipFile` from the [`zipfile`](https://docs.python.org/2/library/zipfile.html)  module. On the object will be the attribute `app_info` which contains all the information read from `Payload/app_name.app/Info.plist` where `app_name` is the application's name.

```
>>> from ipa import IPAFile
>>> ipa = IPAFile('Chrome 37.2062.52.ipa')
>>> ipa.app_info['CFBundleIdentifier']
'com.google.chrome.ios'
>>> ipa.is_universal()
True
```
{'fraction_non_alphanumeric': 0.13957446808510637, 'fraction_numerical': 0.02553191489361702, 'mean_word_length': 4.736585365853658, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 24, 'https://': 2, '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': '3535305', 'n_tokens_mistral': 429, 'n_tokens_neox': 392, 'n_words': 126}