Skip to main content

SporeStack API and CLI for launching servers with Bitcoin or Monero

Project description

Python 3 library and CLI for SporeStack .onion

Changelog

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 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

  • pip install pipenv pre-commit
  • pre-commit install
  • pipenv install --deploy --dev
  • pipenv run make test (If you don't have make, use almake)
  • pre-commit run --all-files (To format code, or wait for git commit)

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-6.0.3.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

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

sporestack-6.0.3-py2.py3-none-any.whl (12.3 kB view details)

Uploaded Python 2Python 3

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

Hashes for sporestack-6.0.3.tar.gz
Algorithm Hash digest
SHA256 c55d2196c1b6c659525f9d93638a32c5bc535a991b7368704ff100d65fc4b511
MD5 9118e42073494b0109aa0ea44dcdea01
BLAKE2b-256 72978ab6c0f880de9ee31b43e6904d6b5275e57e13cefd2b7933a716bb59d0e2

See more details on using hashes here.

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

Hashes for sporestack-6.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 783748a6e41a521b5ab66f0306412f5c2474b61f25bc71b02a57dba76d9e681a
MD5 c96f611ace75df11ddcc05a72d10583b
BLAKE2b-256 d2daeb46b2f0a5acf05e2f4c9ccaa707f9cf8f4750e44e63f473bdaddf562e6a

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