SporeStack API and CLI for launching servers with Bitcoin or Monero
Project description
Python 3 library and CLI for SporeStack .onion
Requirements
- Python 3.7-3.10 (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
pip install pipenv pre-commitpre-commit installpipenv install --deploy --devpipenv run make test(If you don't havemake, usealmake)pre-commit run --all-files(To format code, or wait forgit commit)
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-6.0.3.tar.gz
(27.0 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-6.0.3.tar.gz.
File metadata
- Download URL: sporestack-6.0.3.tar.gz
- Upload date:
- Size: 27.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c55d2196c1b6c659525f9d93638a32c5bc535a991b7368704ff100d65fc4b511
|
|
| MD5 |
9118e42073494b0109aa0ea44dcdea01
|
|
| BLAKE2b-256 |
72978ab6c0f880de9ee31b43e6904d6b5275e57e13cefd2b7933a716bb59d0e2
|
File details
Details for the file sporestack-6.0.3-py2.py3-none-any.whl.
File metadata
- Download URL: sporestack-6.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
783748a6e41a521b5ab66f0306412f5c2474b61f25bc71b02a57dba76d9e681a
|
|
| MD5 |
c96f611ace75df11ddcc05a72d10583b
|
|
| BLAKE2b-256 |
d2daeb46b2f0a5acf05e2f4c9ccaa707f9cf8f4750e44e63f473bdaddf562e6a
|