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
- Host: GitHub
- URL: https://github.com/mschaeffner/sporestack-python
- Owner: mschaeffner
- License: unlicense
- Created: 2017-01-28T00:26:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-26T17:14:28.000Z (over 9 years ago)
- Last Synced: 2025-01-09T01:47:51.684Z (over 1 year ago)
- Language: Python
- Homepage: https://sporestack.com/
- Size: 31.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Python library for http://sporestack.com/
# Installation
* `pip install sporestack`
# In action
[](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)