sporestack


Namesporestack JSON
Version 14.4.0 PyPI version JSON
download
home_pageNone
SummarySporeStack API library and CLI for launching servers with Monero or Bitcoin
upload_time2025-07-29 05:14:40
maintainerNone
docs_urlNone
authorNone
requires_python~=3.9
licenseNone
keywords bitcoin monero vps server
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python 3 library and CLI for [SporeStack](https://sporestack.com) ([SporeStack Tor Hidden Service](http://spore64i5sofqlfz5gq2ju4msgzojjwifls7rok2cti624zyq3fcelad.onion))

[Changelog](CHANGELOG.md)

## Requirements

* Python 3.9-3.11 (and likely newer)

## Running without installing

* Make sure [pipx](https://pipx.pypya.io) is installed.
* `pipx run 'sporestack[cli]'`

## Installation with pipx

* Make sure [pipx](https://pipx.pypya.io) is installed.
* `pipx install 'sporestack[cli]'`

## Traditional installation

* Recommended: Create and activate a virtual environment, first.
* `pip install sporestack` (Run `pip install 'sporestack[cli]'` if you wish to use the command line `sporestack` functionality and not just the Python library.)

## Getting started

Recommended: Make sure you're on the latest stable version comparing `sporestack version` with git tags in this repository, or releases on [PyPI](https://pypi.org/project/sporestack/).

* `sporestack aup`

First, read the Acceptable Use Policy.

* `sporestack token create --dollars 250 --currency xmr`

Create a new token. Fund it with $250, and pay with Monero.

This command will suggest that you create an SSH key for the token. That command should look something like this...

* `ssh-keygen -C "" -t ed25519 -f ~/.sporestack/sshkey/primary/id_ed25519'`

We recommend creating an SSH key for your token. If you don't want do this, you can pass `--ssh-key-file` when you launch a server. Otherwise, `~/.ssh/id_rsa.pub` will be the default.

This SSH key should be backed up and kept secret, just like your token!

## Usage examples

* `sporestack token list`

List the tokens that you have saved locally.

* `sporestack token info`

View information about the token, including how many days left your token can sustain your autorenewal servers for.

* `sporestack token messages`

View messages on the token.

* `sporestack token invoices`

View invoices on the token.

* `sporestack server operating-systems`

View available operating systems.

* `sporestack server flavors`

View available "flavors" (plans, or server sizes.)

* `sporestack server regions`

View available regions. Note that all three of these commands accept a `--provider` option, in case you're only interested in viewing a particular provider's servers.

* `sporestack server launch --hostname SomeHostname --operating-system freebsd-14 --autorenew --provider vultr --flavor vc2-1c-1gb --region ord`

Launch a FreeBSD 14 server on Vultr, in Chicago, Illinois, USA. This will use your `primary` token, unless you pass `--token` for something else. This server will automatically renew from your token's balance.

If you find the server off, check your token's balance with `sporestack token info`. If servers aren't able to automatically renew, they are powered off as a way to signal that payment is needed, else the server will be deleted. We don't have any way to email you if this is the case, given the nature of our service!

Make sure you match up your chosen provider with the flavor, operating system, and region options!

* `sporestack server stop --hostname SomeHostname`

Shutdown the server by hostname.

* `sporestack server stop --machine-id ss_m_...  # Or use --machine-id to be more pedantic.`

Shutdown the server by its machine ID, if it doesn't have a hostname, or if you want to be more pedantic.

* `sporestack server start --hostname SomeHostname`

Turn the server back on.

* `sporestack server autorenew-enable --hostname SomeHostname`

Enable autorenew on the server.

* `sporestack server autorenew-disable --hostname SomeHostname`

Disable autorenew on the server.

* `sporestack server list`

List your servers.

* `sporestack server info --hostname SomeHostname`

Get more detailed information on your server than the list view.

* `sporestack server delete --hostname SomeHostname`

Delete the server.

* `sporestack server launch --hostname SomeHostname --operating-system debian-12 --days 1 --provider digitalocean --flavor vps-1vcpu-1gb --region auto`

Launch a server on DigitalOcean, in a random region. This is for a one day fixed lifetime, after which it will be deleted if not renewed.

## Notes

* If you want to communicate with the SporeStack API using Tor, set this environment variable: `SPORESTACK_USE_TOR_ENDPOINT=1`. Verify which endpoint is in use with `sporestack api-endpoint`.

## Developing

* `pipenv install --deploy --dev`
* `pipenv run make test`
* `pipenv run make format` to format files and apply ruff fixes.

## Licence

[Unlicense/Public domain](LICENSE.txt)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "sporestack",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.9",
    "maintainer_email": null,
    "keywords": "bitcoin, monero, vps, server",
    "author": null,
    "author_email": "SporeStack <support@sporestack.com>",
    "download_url": "https://files.pythonhosted.org/packages/7b/45/749e0d2c269b68af3c94339a9dc04cd1d5201809b9002a498dfa5299c5cd/sporestack-14.4.0.tar.gz",
    "platform": null,
    "description": "# Python 3 library and CLI for [SporeStack](https://sporestack.com) ([SporeStack Tor Hidden Service](http://spore64i5sofqlfz5gq2ju4msgzojjwifls7rok2cti624zyq3fcelad.onion))\n\n[Changelog](CHANGELOG.md)\n\n## Requirements\n\n* Python 3.9-3.11 (and likely newer)\n\n## Running without installing\n\n* Make sure [pipx](https://pipx.pypya.io) is installed.\n* `pipx run 'sporestack[cli]'`\n\n## Installation with pipx\n\n* Make sure [pipx](https://pipx.pypya.io) is installed.\n* `pipx install 'sporestack[cli]'`\n\n## Traditional installation\n\n* Recommended: Create and activate a virtual environment, first.\n* `pip install sporestack` (Run `pip install 'sporestack[cli]'` if you wish to use the command line `sporestack` functionality and not just the Python library.)\n\n## Getting started\n\nRecommended: Make sure you're on the latest stable version comparing `sporestack version` with git tags in this repository, or releases on [PyPI](https://pypi.org/project/sporestack/).\n\n* `sporestack aup`\n\nFirst, read the Acceptable Use Policy.\n\n* `sporestack token create --dollars 250 --currency xmr`\n\nCreate a new token. Fund it with $250, and pay with Monero.\n\nThis command will suggest that you create an SSH key for the token. That command should look something like this...\n\n* `ssh-keygen -C \"\" -t ed25519 -f ~/.sporestack/sshkey/primary/id_ed25519'`\n\nWe recommend creating an SSH key for your token. If you don't want do this, you can pass `--ssh-key-file` when you launch a server. Otherwise, `~/.ssh/id_rsa.pub` will be the default.\n\nThis SSH key should be backed up and kept secret, just like your token!\n\n## Usage examples\n\n* `sporestack token list`\n\nList the tokens that you have saved locally.\n\n* `sporestack token info`\n\nView information about the token, including how many days left your token can sustain your autorenewal servers for.\n\n* `sporestack token messages`\n\nView messages on the token.\n\n* `sporestack token invoices`\n\nView invoices on the token.\n\n* `sporestack server operating-systems`\n\nView available operating systems.\n\n* `sporestack server flavors`\n\nView available \"flavors\" (plans, or server sizes.)\n\n* `sporestack server regions`\n\nView available regions. Note that all three of these commands accept a `--provider` option, in case you're only interested in viewing a particular provider's servers.\n\n* `sporestack server launch --hostname SomeHostname --operating-system freebsd-14 --autorenew --provider vultr --flavor vc2-1c-1gb --region ord`\n\nLaunch a FreeBSD 14 server on Vultr, in Chicago, Illinois, USA. This will use your `primary` token, unless you pass `--token` for something else. This server will automatically renew from your token's balance.\n\nIf you find the server off, check your token's balance with `sporestack token info`. If servers aren't able to automatically renew, they are powered off as a way to signal that payment is needed, else the server will be deleted. We don't have any way to email you if this is the case, given the nature of our service!\n\nMake sure you match up your chosen provider with the flavor, operating system, and region options!\n\n* `sporestack server stop --hostname SomeHostname`\n\nShutdown the server by hostname.\n\n* `sporestack server stop --machine-id ss_m_...  # Or use --machine-id to be more pedantic.`\n\nShutdown the server by its machine ID, if it doesn't have a hostname, or if you want to be more pedantic.\n\n* `sporestack server start --hostname SomeHostname`\n\nTurn the server back on.\n\n* `sporestack server autorenew-enable --hostname SomeHostname`\n\nEnable autorenew on the server.\n\n* `sporestack server autorenew-disable --hostname SomeHostname`\n\nDisable autorenew on the server.\n\n* `sporestack server list`\n\nList your servers.\n\n* `sporestack server info --hostname SomeHostname`\n\nGet more detailed information on your server than the list view.\n\n* `sporestack server delete --hostname SomeHostname`\n\nDelete the server.\n\n* `sporestack server launch --hostname SomeHostname --operating-system debian-12 --days 1 --provider digitalocean --flavor vps-1vcpu-1gb --region auto`\n\nLaunch a server on DigitalOcean, in a random region. This is for a one day fixed lifetime, after which it will be deleted if not renewed.\n\n## Notes\n\n* If you want to communicate with the SporeStack API using Tor, set this environment variable: `SPORESTACK_USE_TOR_ENDPOINT=1`. Verify which endpoint is in use with `sporestack api-endpoint`.\n\n## Developing\n\n* `pipenv install --deploy --dev`\n* `pipenv run make test`\n* `pipenv run make format` to format files and apply ruff fixes.\n\n## Licence\n\n[Unlicense/Public domain](LICENSE.txt)\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "SporeStack API library and CLI for launching servers with Monero or Bitcoin",
    "version": "14.4.0",
    "project_urls": {
        "Changelog": "https://git.sporestack.com/SporeStack/sporestack-python/src/branch/master/CHANGELOG.md",
        "Homepage": "https://sporestack.com",
        "Source": "https://git.sporestack.com/SporeStack/sporestack-python"
    },
    "split_keywords": [
        "bitcoin",
        " monero",
        " vps",
        " server"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "db2d7b57310f538b37e12eb8283a0cc415a530c3ada4c58f00af7cb3397f8722",
                "md5": "ca17b488d301b8a07393e93ae6cdc239",
                "sha256": "f71da08848ac795ab289f304e6961ab15b51b5eccff920ced273c4b9184790c8"
            },
            "downloads": -1,
            "filename": "sporestack-14.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ca17b488d301b8a07393e93ae6cdc239",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.9",
            "size": 22697,
            "upload_time": "2025-07-29T05:14:39",
            "upload_time_iso_8601": "2025-07-29T05:14:39.261524Z",
            "url": "https://files.pythonhosted.org/packages/db/2d/7b57310f538b37e12eb8283a0cc415a530c3ada4c58f00af7cb3397f8722/sporestack-14.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "7b45749e0d2c269b68af3c94339a9dc04cd1d5201809b9002a498dfa5299c5cd",
                "md5": "27663afddf7e070e36504c6186257196",
                "sha256": "dae099b09a58590632f6748a59d348abaae0f69ed61d987543f8c186a8c98826"
            },
            "downloads": -1,
            "filename": "sporestack-14.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "27663afddf7e070e36504c6186257196",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.9",
            "size": 54655,
            "upload_time": "2025-07-29T05:14:40",
            "upload_time_iso_8601": "2025-07-29T05:14:40.673428Z",
            "url": "https://files.pythonhosted.org/packages/7b/45/749e0d2c269b68af3c94339a9dc04cd1d5201809b9002a498dfa5299c5cd/sporestack-14.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-29 05:14:40",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sporestack"
}
        
Elapsed time: 0.55778s