tensordock-python-sdk


Nametensordock-python-sdk JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/yourusername/tensordock-python-sdk
SummaryA Python SDK for TensorDock API
upload_time2024-07-07 06:01:11
maintainerNone
docs_urlNone
authorYour Name
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Unofficial TensorDock Python SDK

This is an unofficial Python SDK for interacting with the TensorDock Marketplace API. It provides a convenient way to manage virtual machines, containers, and billing information programmatically. Please note that this SDK is not officially supported or endorsed by TensorDock.

## Installation

You can install this unofficial TensorDock Python SDK using pip:

```
pip install unofficial-tensordock-python-sdk
```

## Configuration

To use the SDK, you'll need to obtain an API key and token from the TensorDock marketplace. You can get these from your TensorDock dashboard at https://marketplace.tensordock.com/api

## Usage

Here's a quick example of how to use the SDK:

```python
from unofficial_tensordock import TensorDockAPI

# Initialize the API client
api = TensorDockAPI(api_key='your_api_key', api_token='your_api_token')

# List your virtual machines
vms = api.virtual_machines.list_vms()
print(vms)

# Deploy a new virtual machine
new_vm = api.virtual_machines.deploy_vm(
    name="My New VM",
    gpu_count=1,
    gpu_model="rtx3080-pcie-10gb",
    vcpus=4,
    ram=16,
    storage=100,
    operating_system="Ubuntu 20.04 LTS"
)
print(new_vm)
```

## Features

This unofficial SDK aims to provide access to the following TensorDock API endpoints:

- Authorization
- Servers
- Virtual Machines
- Containers
- Billing

For a full list of features and their implementations, please refer to the source code or the inline documentation.

## Documentation

For detailed documentation on each method, please refer to the inline docstrings in the source code. For official API documentation, please visit the [TensorDock API Documentation](https://marketplace.tensordock.com/api).

## Contributing

Contributions to this unofficial TensorDock Python SDK are welcome! Please feel free to submit issues, fork the repository and send pull requests. As this is an unofficial project, community involvement is crucial for its maintenance and improvement.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## Support

For issues related to this unofficial SDK, please open an issue on our [GitHub repository](https://github.com/yourusername/unofficial-tensordock-python-sdk).

For questions about the TensorDock API itself or for official support, please contact TensorDock directly through their official channels.

## Acknowledgements

This project is based on the public API documentation provided by TensorDock. We are grateful for their detailed documentation which makes this unofficial SDK possible.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yourusername/tensordock-python-sdk",
    "name": "tensordock-python-sdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Your Name",
    "author_email": "your.email@example.com",
    "download_url": "https://files.pythonhosted.org/packages/32/da/79d6502160d064e4a503b8643f8c353aef684831a1be6bc2ed587cee3476/tensordock-python-sdk-0.1.0.tar.gz",
    "platform": null,
    "description": "# Unofficial TensorDock Python SDK\n\nThis is an unofficial Python SDK for interacting with the TensorDock Marketplace API. It provides a convenient way to manage virtual machines, containers, and billing information programmatically. Please note that this SDK is not officially supported or endorsed by TensorDock.\n\n## Installation\n\nYou can install this unofficial TensorDock Python SDK using pip:\n\n```\npip install unofficial-tensordock-python-sdk\n```\n\n## Configuration\n\nTo use the SDK, you'll need to obtain an API key and token from the TensorDock marketplace. You can get these from your TensorDock dashboard at https://marketplace.tensordock.com/api\n\n## Usage\n\nHere's a quick example of how to use the SDK:\n\n```python\nfrom unofficial_tensordock import TensorDockAPI\n\n# Initialize the API client\napi = TensorDockAPI(api_key='your_api_key', api_token='your_api_token')\n\n# List your virtual machines\nvms = api.virtual_machines.list_vms()\nprint(vms)\n\n# Deploy a new virtual machine\nnew_vm = api.virtual_machines.deploy_vm(\n    name=\"My New VM\",\n    gpu_count=1,\n    gpu_model=\"rtx3080-pcie-10gb\",\n    vcpus=4,\n    ram=16,\n    storage=100,\n    operating_system=\"Ubuntu 20.04 LTS\"\n)\nprint(new_vm)\n```\n\n## Features\n\nThis unofficial SDK aims to provide access to the following TensorDock API endpoints:\n\n- Authorization\n- Servers\n- Virtual Machines\n- Containers\n- Billing\n\nFor a full list of features and their implementations, please refer to the source code or the inline documentation.\n\n## Documentation\n\nFor detailed documentation on each method, please refer to the inline docstrings in the source code. For official API documentation, please visit the [TensorDock API Documentation](https://marketplace.tensordock.com/api).\n\n## Contributing\n\nContributions to this unofficial TensorDock Python SDK are welcome! Please feel free to submit issues, fork the repository and send pull requests. As this is an unofficial project, community involvement is crucial for its maintenance and improvement.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nFor issues related to this unofficial SDK, please open an issue on our [GitHub repository](https://github.com/yourusername/unofficial-tensordock-python-sdk).\n\nFor questions about the TensorDock API itself or for official support, please contact TensorDock directly through their official channels.\n\n## Acknowledgements\n\nThis project is based on the public API documentation provided by TensorDock. We are grateful for their detailed documentation which makes this unofficial SDK possible.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A Python SDK for TensorDock API",
    "version": "0.1.0",
    "project_urls": {
        "Homepage": "https://github.com/yourusername/tensordock-python-sdk"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f87372f0dee8f9ecfab604477f32735ea521311a9e0f1dc7a361a11248f9758d",
                "md5": "9487eca2e39556ebdf8b08d3ecb5d1b8",
                "sha256": "a177e48f31059375986961eaf4ae674913725c720a2ce00f3def70791a0a8ede"
            },
            "downloads": -1,
            "filename": "tensordock_python_sdk-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9487eca2e39556ebdf8b08d3ecb5d1b8",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5477,
            "upload_time": "2024-07-07T06:01:08",
            "upload_time_iso_8601": "2024-07-07T06:01:08.647898Z",
            "url": "https://files.pythonhosted.org/packages/f8/73/72f0dee8f9ecfab604477f32735ea521311a9e0f1dc7a361a11248f9758d/tensordock_python_sdk-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "32da79d6502160d064e4a503b8643f8c353aef684831a1be6bc2ed587cee3476",
                "md5": "7bbe3466112be02f85a7c3de2a1a8529",
                "sha256": "2a5b221f6c4792414279cc14274b22e3b4fed5ae2fea63d5c5559efb2638e650"
            },
            "downloads": -1,
            "filename": "tensordock-python-sdk-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7bbe3466112be02f85a7c3de2a1a8529",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4897,
            "upload_time": "2024-07-07T06:01:11",
            "upload_time_iso_8601": "2024-07-07T06:01:11.537141Z",
            "url": "https://files.pythonhosted.org/packages/32/da/79d6502160d064e4a503b8643f8c353aef684831a1be6bc2ed587cee3476/tensordock-python-sdk-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-07 06:01:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yourusername",
    "github_project": "tensordock-python-sdk",
    "github_not_found": true,
    "lcname": "tensordock-python-sdk"
}
        
Elapsed time: 0.28030s