Skip to main content

SporeStack.com library and client. Launch servers with Monero or Bitcoin.

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 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.0a2.tar.gz (12.3 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.0a2-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file sporestack-6.0.0a2.tar.gz.

File metadata

  • Download URL: sporestack-6.0.0a2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for sporestack-6.0.0a2.tar.gz
Algorithm Hash digest
SHA256 8d31f4baeb81e98e6475e26f36cc4d72065fee468e0a0d0e7fb537462ab20884
MD5 ee6264fcfa970944aab642935b72cab7
BLAKE2b-256 1cd2b55c6d7cd7b637c04159dec15b09e2dbcb6877b73d634703dd4f7988e976

See more details on using hashes here.

File details

Details for the file sporestack-6.0.0a2-py3-none-any.whl.

File metadata

  • Download URL: sporestack-6.0.0a2-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

File hashes

Hashes for sporestack-6.0.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 c0f8a6e6a60b611310da2a148d4b3337e2a719302ae9382eeb3ce89e1be80c7c
MD5 61d4774ebb92d9b738eac7c248b901bf
BLAKE2b-256 af3ae7ea13b5d29ae1aa99019d1c47d0b981dd616743bc878f5793810dbd4db9

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