<commit_before># pyxp
Python library for construct arithmetic expression (including function calls),
which can be serialized to/deserialized from json.

# Cases
* *DUST 514* of *CCP*, on PlayStation, used for formula updating.

## Installation

    easy_install pyxp
    
or

    pip install pyxp

## Example

### Construct Expression, Serialization/Deserialization.
```python

from pyxp import val, from_json, context

# Expression variables could be assign to python variables to use later,<commit_msg>Correct format.<commit_after># pyxp
Python library for construct arithmetic expression (including function calls),
which can be serialized to/deserialized from json.

## Cases
* Console game *DUST 514* by *CCP*, on PlayStation, used for formula updating.

## Installation

    easy_install pyxp
    
or

    pip install pyxp

## Example

### Construct Expression, Serialization/Deserialization.
```python

from pyxp import val, from_json, context

# Expression variables could be assign to python variables to use later,
{'fraction_non_alphanumeric': 0.0703125, 'fraction_numerical': 0.005859375, 'mean_word_length': 4.601092896174864, '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': '3643571', 'n_tokens_mistral': 287, 'n_tokens_neox': 263, 'n_words': 118}