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

Uploaded Source

Built Distribution

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

sporestack-10.1.1-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

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

Hashes for sporestack-10.1.1.tar.gz
Algorithm Hash digest
SHA256 b7a6f9a3129fc4d2f16327bf6e794e265402359b0787cf1a03ce5cf57a73c485
MD5 affaf6257e05fdb4a59879fc510903a1
BLAKE2b-256 6dec668fd665a34fdb80b74bdb33bab8128f0600f5c972b77ffc4ce713cc37ed

See more details on using hashes here.

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

Hashes for sporestack-10.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ef3c1ab933115984a6b89b3eea0787bee8dbd830ec5a2def981b48703d633b
MD5 92a9fdd9c1fc41cc94253104c874398f
BLAKE2b-256 1fb07daffcaee93b3eb13dd6945ee9b68a63d444657396a8fd52f9749d50d875

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