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-10.1.1.tar.gz
(36.5 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.1.tar.gz.
File metadata
- Download URL: sporestack-10.1.1.tar.gz
- Upload date:
- Size: 36.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7a6f9a3129fc4d2f16327bf6e794e265402359b0787cf1a03ce5cf57a73c485
|
|
| MD5 |
affaf6257e05fdb4a59879fc510903a1
|
|
| BLAKE2b-256 |
6dec668fd665a34fdb80b74bdb33bab8128f0600f5c972b77ffc4ce713cc37ed
|
File details
Details for the file sporestack-10.1.1-py3-none-any.whl.
File metadata
- Download URL: sporestack-10.1.1-py3-none-any.whl
- Upload date:
- Size: 16.2 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 |
c9ef3c1ab933115984a6b89b3eea0787bee8dbd830ec5a2def981b48703d633b
|
|
| MD5 |
92a9fdd9c1fc41cc94253104c874398f
|
|
| BLAKE2b-256 |
1fb07daffcaee93b3eb13dd6945ee9b68a63d444657396a8fd52f9749d50d875
|