Metadata-Version: 2.0
Name: starmadepy
Version: 0.1.4
Summary: An API for reading and manipulating Starmade game data
Home-page: https://github.com/DerekRies/starmadepy
Author: Derek Ries
Author-email: iamderekries@gmail.com
License: MIT
Keywords: starmade,game,data,template,blueprint
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7

# Starmadepy v0.1

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 **Template** file type.

[Docs](http://starmadepy.readthedocs.org/en/latest/)


## Example

Maybe you created a really nice component that utilizes blocks, wedges, corners, heptas, 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.

    from starmadepy import starmade

    template = starmade.Template.fromSMTPL('sometemplatefile.smtpl')
    template.replace({'color': 'grey'}, {'color': 'orange'})


## Installation

It is recommended that you use virtualenv or the virtualenvwrapper.

    pip install starmadepy


## Contributing
coming soon




