Skip to main content

SporeStack API and CLI for launching servers with Monero or Bitcoin

Project description

Python 3 library and CLI for SporeStack .onion

Changelog

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 pipx is installed.
  • pipx run sporestack
  • Make sure you're on the latest stable version comparing sporestack version with git tags in this repository, or releases on PyPI.

Usage

  • sporestack token create --dollars 20 --currency xmr # Can use btc as well.
  • sporestack token list
  • sporestack token balance
  • sporestack 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 --region to have a non-random region. This will use the "primary" token by default, which is the default when you run sporestack token create.)
  • sporestack server stop SomeHostname
  • sporestack server start SomeHostname
  • sporestack server list
  • sporestack 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 --dev
  • pipenv run make test (If you don't have make, use almake)
  • pipenv run make format to format files and apply ruff fixes.

Licence

Unlicense/Public domain

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sporestack-9.1.1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

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

Hashes for sporestack-9.1.1.tar.gz
Algorithm Hash digest
SHA256 cafa96ed40f851b1447ed94cecd5143c8973377baa48934aaf74a454db4998c9
MD5 f30bc107a30ec9b73df7412699f7ce6d
BLAKE2b-256 21f99b0ff2e713a3a8b95808e6e224ebf52106bfb08321b7b4deb0554aab831b

See more details on using hashes here.

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

Hashes for sporestack-9.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b6602833cbf21acad4d3202244d11e59c2a1ecb52d2c61462b999acea98c2000
MD5 f853d7ed32dd01a5664ec0688c5360c8
BLAKE2b-256 e9e2243331a4f59b5dad656e2665c2b344ee9db883cb9176815348fdb58be5d3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page