<commit_before># Ubivar python bindings 
[![PyPI version](https://badge.fury.io/py/ubivar.svg)](https://badge.fury.io/py/ubivar)
[![Build Status](https://travis-ci.org/ubivar/ubivar-python.png?branch=master)](https://travis-ci.org/ubivar/ubivar-python)


 
The Ubivar Python library provides convenient access to the Ubivar API from
applications written in the Python language. It includes a pre-defined set of
classes for API resources. 

## Documentation

See the [Ubivar API docs](https://www.ubivar.com/docs/python).


## Installation

You don't need this source code unless you want to modify the package. If you just
want to use the package, just run:

```python
pip install --upgrade ubivar 
```

or

```python
easy_install --upgrade ubivar 
```

Install from source with:

```python
python setup.py install
```

### Requirements

* Python Python 3.6+ (PyPy supported)

## Usage

The library needs to be configured with your API key which is available in [My
Ubivar](https://my.ubivar.com). Set `ubivar.api_key` to its value or for apps
that need to use multiple keys during the lifetime of a process, set a key
per-request. 

```python
import ubivar 

ubivar.api_key = "<KEY>

# Create event 
ubivar.Event.create(parameters = {
    "id"                          : "123"           # a unique id 
  , "email"                       : "<EMAIL>"
  , "names"                       : "<NAME>"
  , "account_creation_time"       : "2017-05-17 21:50:00"
  , "account_id"                  : "10000"
  , "account_n_fulfilled"         : "1"
  , "account_total_since_created" : "49.40"
  , "account_total_cur"           : "EUR"
  , "invoice_time"                : "2017-05-17 21:55:00"
  , "invoice_address_country"     : "France"
  , "invoice_address_place"       : "75008 Paris"
  , "invoice_address_street1"     : "1 Av. des Champs-Élysées"
  , "invoice_name"                : "<NAME>"
  , "invoice_phone1"              : "0123456789"
  , "invoice_phone2"              : None 
  , "transport_date"              : "2017-05-18 08:00:00"
  , "transport_type"              : "Delivery"
  , "transport_mode"              : "TNT"
  , "transport_weight"            : "9.000"
  , "transport_unit"              : "kg"
  , "transport_cur"               : "EUR"
  , "delivery_address_country"    : "France"
  , "delivery_address_place"      : "75008 Paris"
  , "delivery_address_street1"    : "1 Av. des Champs-Élysées"
  , "delivery_name"               : "<NAME>"
  , "delivery_phone1"             : "0123450689"
  , "customer_ip_address"         : "1.2.3.4"
  , "pmeth_origin"                : "FRA"
  , "pmeth_validity"              : "0121"
  , "pmeth_brand"                 : "MC"
  , "pmeth_bin"                   : "510000"
  , "pmeth_3ds"                   : "-1"
  , "cart_products"               : [ "Product ref #12345" ]
  , "cart_details"                : [{
      "name"                      : "Product ref #12345"
    , "pu"                        : "10.00"
    , "n"                         : "1"
    , "amount"                    : "10.00"
    , "cur"                       : "EUR" 
    }]
  , "cart_n"                      : "15000"
  , "order_payment_accepted"      : "2017-05-17 22:00:00"
  , "amount_pmeth"                : "ABC Payment Service Provider"
  , "amount_discounts"            :  "0.00"
  , "amount_products"             : "20.00"
  , "amount_transport"            : "10.00"
  , "amount_total"                : "30.00"
  , "amount_cur"                  : "EUR"
})

# Retrieve, Update, Delete, or List Events 
ubivar.Event.retrieve("123")
ubivar.Event.update("123", parameters={"extra_is_verified": "true", "extra_is_graylisted": "false"}})
ubivar.Event.delete("123")
ubivar.Event.list()

# Create, Retrieve, Update, Delete or List Whitelists
ubivar.FilterWhitelist.create(description="Test", feature="email_domain", is_active="true", value="gmail.com")
ubivar.FilterWhitelist.retrieve("0")
ubivar.FilterWhitelist.update("0", description="Test", feature="email_domain", is_active="true", value="yahoo.com")
ubivar.FilterWhitelist.delete("123")
ubivar.FilterWhitelist.list()

# Specify a different API key for each request
ubivar.Event.list(api_key="<KEY>
```
## Resources, actions, and arguments 
The following matrix list the resources (rows), the CRUD actions (columns) and
the arguments (cells). The cell links point to the API documentation at
[https://ubivar.com/docs/python](https://ubivar.com/docs/python) or to the
functional tests on github. 

|               | Resource                | C | R | U | D | L     | Functional tests |
|--------------:| ----------------------- |:-:|:-:|:-:|:-:|:-----:|:-----------|
| **Settings**  | Auth, Credentials       |   |   |   |   |       | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_credentials.py) | 
| **Data**      | Event                  | [`{}`](https://ubivar.com/docs/python#create_event)| [`123`](https://ubivar.com/docs/python#retrieve_event) | [`123, {}`](https://ubivar.com/docs/python#update_event) | [`123`](https://ubivar.com/docs/python#delete_event) | [`{}`](https://ubivar.com/docs/python#list_events) | [Events](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_events.py) | 
|               | EventNotification      |  | [`123`](https://ubivar.com/docs/python#retrieve_eventnotification) |  |  | [`{}`](https://ubivar.com/docs/python#list_eventnotifications) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_notifications.py)| 
|               | EventLastId             |  | [`123`](https://ubivar.com/docs/python#retrieve_eventlastid) |  |  | [`{}`](https://ubivar.com/docs/python#list_eventlastids) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_last_id.py)| 
|               | EventLabel             |  | [`123`](https://ubivar.com/docs/python#retrieve_eventlabel) | [`123, {}`](https://ubivar.com/docs/python#update_eventlabel) | [`123`](https://ubivar.com/docs/python#delete_eventlabel) | [`{}`](https://ubivar.com/docs/python#list_eventlabels) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_labels.py) | 
|               | EventQueue             |  | [`123`](https://ubivar.com/docs/python#retrieve_eventqueue) | [`123, {}`](https://ubivar.com/docs/python#update_eventqueue) | [`123`](https://ubivar.com/docs/python#delete_eventqueue) | [`{}`](https://ubivar.com/docs/python#list_eventqueues) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_queues.py)| 
|               | EventReview            |  | [`123`](https://ubivar.com/docs/python#retrieve_eventreview) | [`123, {}`](https://ubivar.com/docs/python#update_eventreview) | [`123`](https://ubivar.com/docs/python#delete_eventreview) | [`{}`](https://ubivar.com/docs/python#list_eventreviews) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_reviews.py)| 
| **Filters** | FilterWhitelist        | [`{}`](https://ubivar.com/docs/python#create_filterwhitelist)| [`123`](https://ubivar.com/docs/python#retrieve_filterwhitelist) | [`123, {}`](https://ubivar.com/docs/python#update_filterwhitelist) | [`123`](https://ubivar.com/docs/python#delete_filterwhitelist) | [`{}`](https://ubivar.com/docs/python#list_filterwhitelists) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_whitelist.py)| 
|               | FilterBlacklist        |   | [`123`](https://ubivar.com/docs/python#retrieve_filterblacklist) | [`123, {}`](https://ubivar.com/docs/python#update_filterblacklist) |  | [`{}`](https://ubivar.com/docs/python#list_filterblacklists) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_blacklist.py) | 
|               | FilterRulesCustom      | [`{}`](https://ubivar.com/docs/python#create_filterrulescustom)| [`123`](https://ubivar.com/docs/python#retrieve_filterrulescustom) | [`123, {}`](https://ubivar.com/docs/python#update_filterrulescustom) | [`123`](https://ubivar.com/docs/python#delete_filterrulescustom) | [`{}`](https://ubivar.com/docs/python#list_filterrulescustoms) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_rules_custom.py)| 
|               | FilterRulesBase         |   | [`123`](https://ubivar.com/docs/python#retrieve_filterrulesbase) | [`123, {}`](https://ubivar.com/docs/python#update_filterrulesbase) |  | [`{}`](https://ubivar.com/docs/python#list_filterrulesbases) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_rules_base.py)| 
|               | FilterRulesAI           |   | [`123`](https://ubivar.com/docs/python#retrieve_filterrulesai) | [`123, {}`](https://ubivar.com/docs/python#update_filterrulesai) |  | [`{}`](https://ubivar.com/docs/python#list_filterrulesais) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_rules_ai.py)| 
|               | FilterScoringsDedicated |   | [`123`](https://ubivar.com/docs/python#retrieve_filterscoringsdedicated) | [`123, {}`](https://ubivar.com/docs/python#update_filterscoringsdedicated) |  | [`{}`](https://ubivar.com/docs/python#list_filterscoringsdedicated) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_scorings_dedicated.py)| 
| **Notifications** | NotifierEmail      | [`{}`](https://ubivar.com/docs/python#create_notifieremails)| [`123`](https://ubivar.com/docs/python#retrieve_notifieremails) | [`123, {}`](https://ubivar.com/docs/python#update_notifieremails) | [`123`](https://ubivar.com/docs/python#delete_notifieremails) | [`{}`](https://ubivar.com/docs/python#list_notifieremails) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_email.py)| 
|               | NotifierSms             | [`{}`](https://ubivar.com/docs/python#create_notifiersms)| [`123`](https://ubivar.com/docs/python#retrieve_notifiersms) | [`123, {}`](https://ubivar.com/docs/python#update_notifiersms) | [`123`](https://ubivar.com/docs/python#delete_notifiersms) | [`{}`](https://ubivar.com/docs/python#list_notifiersms) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_sms.py)| 
|               | NotifierWebhook         | [`{}`](https://ubivar.com/docs/python#create_notifierwebhooks)| [`123`](https://ubivar.com/docs/python#retrieve_notifierwebhooks) | [`123, {}`](https://ubivar.com/docs/python#update_notifierwebhooks) | [`123`](https://ubivar.com/docs/python#delete_notifierwebhooks) | [`{}`](https://ubivar.com/docs/python#list_notifierwebhooks) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_webhook.py)| 
|               | NotifierECommerce       |   | [`123`](https://ubivar.com/docs/python#retrieve_notifierecommerce) | [`123, {}`](https://ubivar.com/docs/python#update_notifierecommerce) |  |  | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_ecommerce.py)| 
|               | NotifierSlack           | [`{}`](https://ubivar.com/docs/python#create_notifierslack)| [`123`](https://ubivar.com/docs/python#retrieve_notifierslack) | [`123, {}`](https://ubivar.com/docs/python#update_notifierslack) | [`123`](https://ubivar.com/docs/python#delete_notifierslack) | [`{}`](https://ubivar.com/docs/python#list_notifierslacks) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_slack.py)| 

<commit_msg>edit text<commit_after># Ubivar python bindings 
[![PyPI version](https://badge.fury.io/py/ubivar.svg)](https://badge.fury.io/py/ubivar)
[![Build Status](https://travis-ci.org/ubivar/ubivar-python.png?branch=master)](https://travis-ci.org/ubivar/ubivar-python)


 
The Ubivar Python library provides convenient access to the Ubivar API from
applications written in the Python language. It includes a pre-defined set of
classes for API resources. 

## Documentation

See the [Ubivar API docs](https://www.ubivar.com/docs/python).


## Installation

You don't need this source code unless you want to modify the package. If you just
want to use the package, just run:

```python
pip install --upgrade ubivar 
```

or

```python
easy_install --upgrade ubivar 
```

Install from source with:

```python
python setup.py install
```

### Requirements

* Python Python 3.6+ (PyPy supported)

## Usage

The library needs to be configured with your API key which is available in [My
Ubivar](https://my.ubivar.com). Set `ubivar.api_key` to its value or for apps
that need to use multiple keys during the lifetime of a process, set a key
per-request. 

```python
import ubivar 

ubivar.api_key = "<KEY>

# Create event 
ubivar.Event.create(parameters = {
    "id"                          : "123"           # a unique id 
  , "email"                       : "<EMAIL>"
  , "names"                       : "<NAME>"
  , "account_creation_time"       : "2017-05-17 21:50:00"
  , "account_id"                  : "10000"
  , "account_n_fulfilled"         : "1"
  , "account_total_since_created" : "49.40"
  , "account_total_cur"           : "EUR"
  , "invoice_time"                : "2017-05-17 21:55:00"
  , "invoice_address_country"     : "France"
  , "invoice_address_place"       : "75008 Paris"
  , "invoice_address_street1"     : "1 Av. des Champs-Élysées"
  , "invoice_name"                : "<NAME>"
  , "invoice_phone1"              : "0123456789"
  , "invoice_phone2"              : None 
  , "transport_date"              : "2017-05-18 08:00:00"
  , "transport_type"              : "Delivery"
  , "transport_mode"              : "TNT"
  , "transport_weight"            : "9.000"
  , "transport_unit"              : "kg"
  , "transport_cur"               : "EUR"
  , "delivery_address_country"    : "France"
  , "delivery_address_place"      : "75008 Paris"
  , "delivery_address_street1"    : "1 Av. des Champs-Élysées"
  , "delivery_name"               : "<NAME>"
  , "delivery_phone1"             : "0123450689"
  , "customer_ip_address"         : "1.2.3.4"
  , "pmeth_origin"                : "FRA"
  , "pmeth_validity"              : "0121"
  , "pmeth_brand"                 : "MC"
  , "pmeth_bin"                   : "510000"
  , "pmeth_3ds"                   : "-1"
  , "cart_products"               : [ "Product ref #12345" ]
  , "cart_details"                : [{
      "name"                      : "Product ref #12345"
    , "pu"                        : "10.00"
    , "n"                         : "1"
    , "amount"                    : "10.00"
    , "cur"                       : "EUR" 
    }]
  , "cart_n"                      : "15000"
  , "order_payment_accepted"      : "2017-05-17 22:00:00"
  , "amount_pmeth"                : "ABC Payment Service Provider"
  , "amount_discounts"            :  "0.00"
  , "amount_products"             : "20.00"
  , "amount_transport"            : "10.00"
  , "amount_total"                : "30.00"
  , "amount_cur"                  : "EUR"
})

# Retrieve, Update, Delete, or List Events 
ubivar.Event.retrieve("123")
ubivar.Event.update("123", parameters={"extra_is_verified": "true", "extra_is_graylisted": "false"}})
ubivar.Event.delete("123")
ubivar.Event.list()

# Create, Retrieve, Update, Delete or List Whitelists
ubivar.FilterWhitelist.create(description="Test", feature="email_domain", is_active="true", value="gmail.com")
ubivar.FilterWhitelist.retrieve("0")
ubivar.FilterWhitelist.update("0", description="Test", feature="email_domain", is_active="true", value="yahoo.com")
ubivar.FilterWhitelist.delete("123")
ubivar.FilterWhitelist.list()

# Specify a different API key for each request
ubivar.Event.list(api_key="9spB-ChM6J8NwMEEG ... WsJShd6lVQH7f6xz=")
```
## Resources, actions, and arguments 
The following matrix list the resources (rows), the CRUD actions (columns) and
the arguments (cells). The cell links point to the API documentation at
[https://ubivar.com/docs/python](https://ubivar.com/docs/python) or to the
functional tests on github. 

|               | Resource                | C | R | U | D | L     | Functional tests |
|--------------:| ----------------------- |:-:|:-:|:-:|:-:|:-----:|:-----------|
| **Settings**  | Auth, Credentials       |   |   |   |   |       | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_credentials.py) | 
| **Data**      | Event                  | [`{}`](https://ubivar.com/docs/python#create_event)| [`123`](https://ubivar.com/docs/python#retrieve_event) | [`123, {}`](https://ubivar.com/docs/python#update_event) | [`123`](https://ubivar.com/docs/python#delete_event) | [`{}`](https://ubivar.com/docs/python#list_events) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_events.py) | 
|               | EventNotification      |  | [`123`](https://ubivar.com/docs/python#retrieve_eventnotification) |  |  | [`{}`](https://ubivar.com/docs/python#list_eventnotifications) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_notifications.py)| 
|               | EventLastId             |  | [`123`](https://ubivar.com/docs/python#retrieve_eventlastid) |  |  | [`{}`](https://ubivar.com/docs/python#list_eventlastids) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_last_id.py)| 
|               | EventLabel             |  | [`123`](https://ubivar.com/docs/python#retrieve_eventlabel) | [`123, {}`](https://ubivar.com/docs/python#update_eventlabel) | [`123`](https://ubivar.com/docs/python#delete_eventlabel) | [`{}`](https://ubivar.com/docs/python#list_eventlabels) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_labels.py) | 
|               | EventQueue             |  | [`123`](https://ubivar.com/docs/python#retrieve_eventqueue) | [`123, {}`](https://ubivar.com/docs/python#update_eventqueue) | [`123`](https://ubivar.com/docs/python#delete_eventqueue) | [`{}`](https://ubivar.com/docs/python#list_eventqueues) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_queues.py)| 
|               | EventReview            |  | [`123`](https://ubivar.com/docs/python#retrieve_eventreview) | [`123, {}`](https://ubivar.com/docs/python#update_eventreview) | [`123`](https://ubivar.com/docs/python#delete_eventreview) | [`{}`](https://ubivar.com/docs/python#list_eventreviews) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_event_reviews.py)| 
| **Filters** | FilterWhitelist        | [`{}`](https://ubivar.com/docs/python#create_filterwhitelist)| [`123`](https://ubivar.com/docs/python#retrieve_filterwhitelist) | [`123, {}`](https://ubivar.com/docs/python#update_filterwhitelist) | [`123`](https://ubivar.com/docs/python#delete_filterwhitelist) | [`{}`](https://ubivar.com/docs/python#list_filterwhitelists) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_whitelist.py)| 
|               | FilterBlacklist        |   | [`123`](https://ubivar.com/docs/python#retrieve_filterblacklist) | [`123, {}`](https://ubivar.com/docs/python#update_filterblacklist) |  | [`{}`](https://ubivar.com/docs/python#list_filterblacklists) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_blacklist.py) | 
|               | FilterRulesCustom      | [`{}`](https://ubivar.com/docs/python#create_filterrulescustom)| [`123`](https://ubivar.com/docs/python#retrieve_filterrulescustom) | [`123, {}`](https://ubivar.com/docs/python#update_filterrulescustom) | [`123`](https://ubivar.com/docs/python#delete_filterrulescustom) | [`{}`](https://ubivar.com/docs/python#list_filterrulescustoms) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_rules_custom.py)| 
|               | FilterRulesBase         |   | [`123`](https://ubivar.com/docs/python#retrieve_filterrulesbase) | [`123, {}`](https://ubivar.com/docs/python#update_filterrulesbase) |  | [`{}`](https://ubivar.com/docs/python#list_filterrulesbases) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_rules_base.py)| 
|               | FilterRulesAI           |   | [`123`](https://ubivar.com/docs/python#retrieve_filterrulesai) | [`123, {}`](https://ubivar.com/docs/python#update_filterrulesai) |  | [`{}`](https://ubivar.com/docs/python#list_filterrulesais) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_rules_ai.py)| 
|               | FilterScoringsDedicated |   | [`123`](https://ubivar.com/docs/python#retrieve_filterscoringsdedicated) | [`123, {}`](https://ubivar.com/docs/python#update_filterscoringsdedicated) |  | [`{}`](https://ubivar.com/docs/python#list_filterscoringsdedicated) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_filter_scorings_dedicated.py)| 
| **Notifications** | NotifierEmail      | [`{}`](https://ubivar.com/docs/python#create_notifieremails)| [`123`](https://ubivar.com/docs/python#retrieve_notifieremails) | [`123, {}`](https://ubivar.com/docs/python#update_notifieremails) | [`123`](https://ubivar.com/docs/python#delete_notifieremails) | [`{}`](https://ubivar.com/docs/python#list_notifieremails) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_email.py)| 
|               | NotifierSms             | [`{}`](https://ubivar.com/docs/python#create_notifiersms)| [`123`](https://ubivar.com/docs/python#retrieve_notifiersms) | [`123, {}`](https://ubivar.com/docs/python#update_notifiersms) | [`123`](https://ubivar.com/docs/python#delete_notifiersms) | [`{}`](https://ubivar.com/docs/python#list_notifiersms) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_sms.py)| 
|               | NotifierWebhook         | [`{}`](https://ubivar.com/docs/python#create_notifierwebhooks)| [`123`](https://ubivar.com/docs/python#retrieve_notifierwebhooks) | [`123, {}`](https://ubivar.com/docs/python#update_notifierwebhooks) | [`123`](https://ubivar.com/docs/python#delete_notifierwebhooks) | [`{}`](https://ubivar.com/docs/python#list_notifierwebhooks) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_webhook.py)| 
|               | NotifierECommerce       |   | [`123`](https://ubivar.com/docs/python#retrieve_notifierecommerce) | [`123, {}`](https://ubivar.com/docs/python#update_notifierecommerce) |  |  | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_ecommerce.py)| 
|               | NotifierSlack           | [`{}`](https://ubivar.com/docs/python#create_notifierslack)| [`123`](https://ubivar.com/docs/python#retrieve_notifierslack) | [`123, {}`](https://ubivar.com/docs/python#update_notifierslack) | [`123`](https://ubivar.com/docs/python#delete_notifierslack) | [`{}`](https://ubivar.com/docs/python#list_notifierslacks) | [Tests](https://github.com/ubivar/ubivar-python/blob/master/ubivar/test/resources/test_notifier_slack.py)| 


{'fraction_non_alphanumeric': 0.18377845415184121, 'fraction_numerical': 0.026578642774467354, 'mean_word_length': 3.324805339265851, 'pattern_counts': {'":': 4, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 182, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2029668', 'n_tokens_mistral': 8641, 'n_tokens_neox': 8137, 'n_words': 924}