<commit_before># Elma Python Library

Elma Python Library is a python library for manipulating Elastomania files.
Currently, it supports simple level manipulation.

## Documentation

[Documentation is available at elma-python-library.readthedocs.org](https://elma-python-library.readthedocs.org).

# Usage

# Creating a simple level
```
from elma.models import Level
from elma.models import Obj
from elma.models import Picture
from elma.models import Polygon


level = Level()
self.name = 'My first level'
level.polygons = [
    Polygon([Point(-10, -10),
             Point(10, -10),
             Point(10, 10),
             Point(-10, 10)]),
]
level.objects = [<commit_msg>Fix heading typo in README.md<commit_after># Elma Python Library

Elma Python Library is a python library for manipulating Elastomania files.
Currently, it supports simple level manipulation.

## Documentation

[Documentation is available at elma-python-library.readthedocs.org](https://elma-python-library.readthedocs.org).

# Usage

## Creating a simple level
```
from elma.models import Level
from elma.models import Obj
from elma.models import Picture
from elma.models import Polygon


level = Level()
self.name = 'My first level'
level.polygons = [
    Polygon([Point(-10, -10),
             Point(10, -10),
             Point(10, 10),
             Point(-10, 10)]),
]
level.objects = [
{'fraction_non_alphanumeric': 0.10695970695970695, 'fraction_numerical': 0.023443223443223443, 'mean_word_length': 3.5231788079470197, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1475866', 'n_tokens_mistral': 447, 'n_tokens_neox': 407, 'n_words': 132}