An open API service indexing awesome lists of open source software.

https://github.com/mschaeffner/sporestack-python

Python library and CLI application 'nodemeup' for SporeStack
https://github.com/mschaeffner/sporestack-python

Last synced: 30 days ago
JSON representation

Python library and CLI application 'nodemeup' for SporeStack

Awesome Lists containing this project

README

          

Python library for http://sporestack.com/

# Installation

* `pip install sporestack`

# In action

[![asciicast](https://asciinema.org/a/98672.png)](https://asciinema.org/a/98672)

# Usage

Use the helper application:

```
$ sporestack spawn
```

Spawn a tor relay for 28 days:

```
$ sporestack spawn --launch tor_relay
```

View available options (osid, dcid, flavor) as a dict.

```
def node_options():
"""
Returns a dict of options for osid, dcid, and flavor.
"""
```

Spawn a node.

```
def node(days,
unique,
sshkey=None,
cloudinit=None,
startupscript=None,
osid=None,
dcid=None,
flavor=None):
"""
Returns a node

Returns:
node.payment_status
node.end_of_life
node.ip6
node.ip4
"""
```

# Example SporeStack files

https://github.com/sporestack/node-profiles

# Deprecation notice

`nodemeup` has been replaced by `sporestack spawn`.

# Licence

[Unlicense/Public domain](LICENSE.txt)