A Python library for manipulating Starmade game data.
## Overview
Starmadepy is a simple python library that makes parsing and manipulating Starmade game data easy. As this project is fairly new, the only file type that is currently supported is the `.smtpl`, or **Starmade Template** file type.
[Docs](http://starmadepy.readthedocs.org/en/latest/)
## Example
Maybe you created a really nice component that utilizes blocks, wedges, corners, pentas, and tetras in a couple different colors and you'd like to generate some copies of this template in different colors.
The following code will open a template file, select all the blocks with the color grey and then replace them with orange.
```python
from starmadepy import starmade
# Loads a template file named sometemplatefile.smtpl
# Replaces all grey colored blocks, with orange equivalents
template = starmade.Template.fromSMTPL('sometemplatefile.smtpl')
template.replace({'color': 'grey'}, {'color': 'orange'})
template.save('outtemplatefile.smtpl')
```

## Installation
It is recommended that you use virtualenv or the virtualenvwrapper.
pip install starmadepy
## Contributing
Fork, clone, `pip install -r requirements.txt` and run the tests with `py.test`
Full guide in the [docs](http://starmadepy.readthedocs.org/en/latest/contributing/)
Metadata
Release files for starmadepy 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| starmadepy-0.1.6-py2-none-any.whl | Python 2 | none | any | Details for starmadepy-0.1.6-py2-none-any.whl |
Release files / starmadepy-0.1.6-py2-none-any.whl
| Download URL | starmadepy-0.1.6-py2-none-any.whl |
|---|---|
| Size | 17.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
1850ec4bf6a4690793574db803ecc608330ea019822637d41f646ef5cbac5598
|
|
BLAKE2b-256 checksum How to use checksums |
e5f8967d07f45c91a2bd946d9a4cdd244a24152f449dc7975bac297073f3392f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for starmadepy 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.