sporestack


Namesporestack JSON
Version 11.0.1 PyPI version JSON
download
home_page
SummarySporeStack API library and CLI for launching servers with Monero or Bitcoin
upload_time2024-02-29 04:31:49
maintainer
docs_urlNone
author
requires_python~=3.8
license
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.8-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.)

## Usage Examples

* 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 token create --dollars 20 --currency xmr`
* `sporestack token list`
* `sporestack token info`
* `sporestack server launch --hostname SomeHostname --operating-system debian-12 --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 --hostname SomeHostname`
* `sporestack server stop --machine-id ss_m_...  # Or use --machine-id to be more pedantic.`
* `sporestack server start --hostname SomeHostname`
* `sporestack server autorenew-enable --hostname SomeHostname`
* `sporestack server autorenew-disable --hostname SomeHostname`
* `sporestack server list`
* `sporestack server delete --hostname SomeHostname`

## 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": "",
    "name": "sporestack",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.8",
    "maintainer_email": "",
    "keywords": "bitcoin,monero,vps,server",
    "author": "",
    "author_email": "SporeStack <support@sporestack.com>",
    "download_url": "https://files.pythonhosted.org/packages/53/57/a340b4873d2e64cf803c6afef103f5220bb5e7b473e29315d91fb250726f/sporestack-11.0.1.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.8-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## Usage Examples\n\n* 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/).\n* `sporestack token create --dollars 20 --currency xmr`\n* `sporestack token list`\n* `sporestack token info`\n* `sporestack server launch --hostname SomeHostname --operating-system debian-12 --days 1  # Will use ~/.ssh/id_rsa.pub as your SSH key, by default`\n(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`.)\n* `sporestack server stop --hostname SomeHostname`\n* `sporestack server stop --machine-id ss_m_...  # Or use --machine-id to be more pedantic.`\n* `sporestack server start --hostname SomeHostname`\n* `sporestack server autorenew-enable --hostname SomeHostname`\n* `sporestack server autorenew-disable --hostname SomeHostname`\n* `sporestack server list`\n* `sporestack server delete --hostname SomeHostname`\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": "",
    "summary": "SporeStack API library and CLI for launching servers with Monero or Bitcoin",
    "version": "11.0.1",
    "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": "",
            "digests": {
                "blake2b_256": "10d899cc9a6fb4587b791b5f72fce3541421b35326ca25342cf6ee5893b376bf",
                "md5": "4735535a2d2ec283120241d4f6b5953e",
                "sha256": "1e39380f0b4ede1da553267ae234945fd085fad142fd6eecbd300dc49028005a"
            },
            "downloads": -1,
            "filename": "sporestack-11.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4735535a2d2ec283120241d4f6b5953e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.8",
            "size": 20969,
            "upload_time": "2024-02-29T04:31:47",
            "upload_time_iso_8601": "2024-02-29T04:31:47.351156Z",
            "url": "https://files.pythonhosted.org/packages/10/d8/99cc9a6fb4587b791b5f72fce3541421b35326ca25342cf6ee5893b376bf/sporestack-11.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5357a340b4873d2e64cf803c6afef103f5220bb5e7b473e29315d91fb250726f",
                "md5": "1907b3d1f3d8f58c7803a4c4efdefd21",
                "sha256": "87e70f07396e6690245e13efedb4ccea9357c14b183da04d9d3f75d091a49581"
            },
            "downloads": -1,
            "filename": "sporestack-11.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "1907b3d1f3d8f58c7803a4c4efdefd21",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.8",
            "size": 46241,
            "upload_time": "2024-02-29T04:31:49",
            "upload_time_iso_8601": "2024-02-29T04:31:49.610326Z",
            "url": "https://files.pythonhosted.org/packages/53/57/a340b4873d2e64cf803c6afef103f5220bb5e7b473e29315d91fb250726f/sporestack-11.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-29 04:31:49",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sporestack"
}
        
Elapsed time: 0.19551s