Library to parse and edit spine animations from command line
Project description
spine-json-lib
This library was created to parse, edit and optimize spine animations from command line.
Installing
Install and update using pip
:
pip install -U spine-json-lib
- Free software: MIT license
Features
from spine_json_lib import SpineAnimationEditor animation_editor = SpineAnimationEditor.from_json_file( json_path='path/to/animation.json' ) # images_references will keep references updated to images used in animation # even after removing an animations or skins print("{}".format(animation_editor.images_references)) # here we decided to remove "anim1" and "anim2" animation_editor.erase_animations( animations_to_erase=["anim1", "anim2"] ) # here we remove skin1 and all the images only used on this skin animation_editor.erase_skins( skins_to_erase=["skin1"] ) # making animation looks twice bigger that it is right now animation_editor.scale_animation(scaleX=2.0, scaleY=2.0)
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage
project template.
Cookiecutter: https://github.com/audreyr/cookiecutter
audreyr/cookiecutter-pypackage
: https://github.com/audreyr/cookiecutter-pypackage
Contributing
For guidance on how to make a contribution to spine-json-lib, see the contributing guidelines
.
contributing guidelines: https://github.com/socialpoint-labs/spine-json-lib/blob/master/CONTRIBUTING.rst
Links
- License:
MIT <https://github.com/socialpoint-labs/spine-json-lib/blob/master/LICENSE>
- Releases: https://pypi.org/project/spine-json-lib/
- Code: https://github.com/socialpoint-labs/spine-json-lib
- Issue tracker: https://github.com/socialpoint-labs/spine-json-lib/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size spine_json_lib-0.2.5-py2.py3-none-any.whl (39.4 kB) | File type Wheel | Python version py2.py3 | Upload date | Hashes View |
Filename, size spine_json_lib-0.2.5.tar.gz (33.2 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for spine_json_lib-0.2.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be59fce13d671bfc68ef1df41f1980c6ac6ee62db89c4eace2c7cdd5f67a2d69 |
|
MD5 | 97940e551a7d87374cd2994565728d54 |
|
BLAKE2-256 | 6b77c780debfaa4509d7d510e48d3daa125af1b5cce4c58d1cf6818b15d9d85d |