SporeStack API and CLI for launching servers with Monero or Bitcoin
Project description
Python 3 library and CLI for SporeStack .onion
Requirements
- Python 3.7-3.11 (or maybe newer)
Installation
pip install sporestack- Recommended: Create a virtual environment, first, and use it inside there.
- Something else to consider: Installing rich (
pip install rich) in the same virtual environment will make--help-style output prettier.
Running without installing
- Make sure
pipxis installed. pipx run sporestack- Make sure you're on the latest stable version comparing
sporestack versionwith git tags in this repository, or releases on PyPI.
Usage
sporestack token create --dollars 20 --currency xmr # Can use btc as well.sporestack token listsporestack token balancesporestack server launch SomeHostname --operating-system debian-11 --days 1 # Will use ~/.ssh/id_rsa.pub as your SSH key, by default(You may also want to consider passing--regionto have a non-random region. This will use the "primary" token by default, which is the default when you runsporestack token create.)sporestack server stop SomeHostnamesporestack server start SomeHostnamesporestack server listsporestack server remove SomeHostname # If expired
Notes
- If you want to communicate with SporeStack APIs using Tor, set this environment variable:
SPORESTACK_USE_TOR_ENDPOINT=1
Developing
pipenv install --deploy --devpipenv run make test(If you don't havemake, usealmake)pipenv run make formatto format files and apply ruff fixes.
Licence
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.
Source Distribution
sporestack-10.1.2.tar.gz
(37.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sporestack-10.1.2.tar.gz.
File metadata
- Download URL: sporestack-10.1.2.tar.gz
- Upload date:
- Size: 37.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c9c80a177c0f52bddf7bff85fed829defc514c48ae6e3168d849f414d114c2f1
|
|
| MD5 |
37548ee8f3550b6fda8e614234c6dd0e
|
|
| BLAKE2b-256 |
5c755e942a6d6bfaa5aa1e685077de69bf0b2c3b061f5a3c230f2c0ab8e3b2eb
|
File details
Details for the file sporestack-10.1.2-py3-none-any.whl.
File metadata
- Download URL: sporestack-10.1.2-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08d7968f2685eee09a70e0b6fcf0946634f1d9b4381be5a9a7df57bc69508b61
|
|
| MD5 |
a84db9fa94fb0fe6e33c1937ff0fd420
|
|
| BLAKE2b-256 |
87a0864aa4574c4298b1d06ce58e1136f2ca6a8987373fc45ff58221aca5f63f
|