Metadata-Version: 2.4
Name: gmdkit
Version: 0.1.4
Summary: A toolkit for handling Geometry Dash level data.
Author: HDanke
License: MIT
Keywords: geometry-dash,gmd,levels,parser,editor
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: zstandard
Requires-Dist: websocket-client
Dynamic: license-file

TODO README

THIS LIBRARY IS NOT FULLY TESTED, DO NOT EDIT LEVELS WITHOUT BACKUPS.

Basic usage:
```python

# import level
from gmdkit.models.level import Level
# import object property mappings
from gmdkit.mappings import prop_id
# import object functions
import gmdkit.functions.object as obj_func

# open file
level = Level.from_file("example.gmd")

# get inner level properties
start = level.start

# get level objects
obj_list = level.objects

# filter by condition
after_origin = obj_list.where(lambda obj: obj.get(prop_id.x, 0) > 0)

# apply functions, kwargs are filtered for each called function
# ex: obj_func.fix_lighter has replacement as a key argument
after_origin.apply(obj_func.clean_duplicate_groups, obj_func.fix_lighter, replacement=0)
```
