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.
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-9.1.1.tar.gz
(34.8 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-9.1.1.tar.gz.
File metadata
- Download URL: sporestack-9.1.1.tar.gz
- Upload date:
- Size: 34.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cafa96ed40f851b1447ed94cecd5143c8973377baa48934aaf74a454db4998c9
|
|
| MD5 |
f30bc107a30ec9b73df7412699f7ce6d
|
|
| BLAKE2b-256 |
21f99b0ff2e713a3a8b95808e6e224ebf52106bfb08321b7b4deb0554aab831b
|
File details
Details for the file sporestack-9.1.1-py3-none-any.whl.
File metadata
- Download URL: sporestack-9.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 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 |
b6602833cbf21acad4d3202244d11e59c2a1ecb52d2c61462b999acea98c2000
|
|
| MD5 |
f853d7ed32dd01a5664ec0688c5360c8
|
|
| BLAKE2b-256 |
e9e2243331a4f59b5dad656e2665c2b344ee9db883cb9176815348fdb58be5d3
|