# py-jelastic
[![CI](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/ci.yml/badge.svg)](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/ci.yml) [![Documentation](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/pages/pages-build-deployment/badge.svg?branch=gh-pages)](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/pages/pages-build-deployment) [![Upload Python Package](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/publish.yml/badge.svg)](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/publish.yml)
Python API client library for [Jelastic](https://jelastic.com/).
> **Note:** This library is only tested with Jelastic version v8.4.1.
## Installation
You can clone the repo and run `python setup.py install`.
## Quick Start
To begin, import the Jelastic client and instantiate the API.
```python
from jelastic import Jelastic
jelastic = Jelastic(
'https://app.xapp.cloudmydc.com',
token='d6f4e314a5b5fefd164995169f28ae32d987704f'
)
```
The library follows the convention from the Jelastic API documentation. For example, to get the list of accounts, you would do the following:
```python
from jelastic import Jelastic
jelastic = Jelastic(
'https://app.xapp.cloudmydc.com',
token='d6f4e314a5b5fefd164995169f28ae32d987704f'
)
accounts = jelastic.billing.Account.GetAccounts()
```
The result is a JSON dictionary returned from the Jelastic API.
You can read more about this library at [Read the Docs](https://onemind-services-llc.github.io/py-jelastic).
Raw data
{
"_id": null,
"home_page": "https://github.com/Onemind-Services-LLC/py-jelastic",
"name": "py-jelastic",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "jelastic,api,client",
"author": "Abhimanyu Saharan",
"author_email": "asaharan@onemindservices.com",
"download_url": "https://files.pythonhosted.org/packages/c6/19/500c49af6c54f8f44f0dd55a889a5cda5430d9dc22bf96d94a89ae6ccaeb/py-jelastic-0.1.6.tar.gz",
"platform": null,
"description": "# py-jelastic\n\n[![CI](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/ci.yml/badge.svg)](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/ci.yml) [![Documentation](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/pages/pages-build-deployment/badge.svg?branch=gh-pages)](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/pages/pages-build-deployment) [![Upload Python Package](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/publish.yml/badge.svg)](https://github.com/Onemind-Services-LLC/py-jelastic/actions/workflows/publish.yml)\n\nPython API client library for [Jelastic](https://jelastic.com/).\n\n> **Note:** This library is only tested with Jelastic version v8.4.1.\n\n## Installation\n\nYou can clone the repo and run `python setup.py install`.\n\n## Quick Start\n\nTo begin, import the Jelastic client and instantiate the API.\n\n```python\nfrom jelastic import Jelastic\n\njelastic = Jelastic(\n 'https://app.xapp.cloudmydc.com',\n token='d6f4e314a5b5fefd164995169f28ae32d987704f'\n)\n```\n\nThe library follows the convention from the Jelastic API documentation. For example, to get the list of accounts, you would do the following:\n\n```python\nfrom jelastic import Jelastic\n\njelastic = Jelastic(\n 'https://app.xapp.cloudmydc.com',\n token='d6f4e314a5b5fefd164995169f28ae32d987704f'\n)\n\naccounts = jelastic.billing.Account.GetAccounts()\n```\n\nThe result is a JSON dictionary returned from the Jelastic API.\n\nYou can read more about this library at [Read the Docs](https://onemind-services-llc.github.io/py-jelastic).\n",
"bugtrack_url": null,
"license": "Apache2",
"summary": "Jelastic API client library",
"version": "0.1.6",
"project_urls": {
"Homepage": "https://github.com/Onemind-Services-LLC/py-jelastic"
},
"split_keywords": [
"jelastic",
"api",
"client"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c2997ab07a72169761eb5269ac60e5076e712ab1098ba6a1e6e8c7b40dedff7b",
"md5": "577c03d585757569802b2bbe5ab194dc",
"sha256": "3cd2f3d9997c3d327c821fc5592f61b83eb4e57840ef2885cb8b4436ec6fdc26"
},
"downloads": -1,
"filename": "py_jelastic-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "577c03d585757569802b2bbe5ab194dc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 95237,
"upload_time": "2024-02-01T07:34:15",
"upload_time_iso_8601": "2024-02-01T07:34:15.145342Z",
"url": "https://files.pythonhosted.org/packages/c2/99/7ab07a72169761eb5269ac60e5076e712ab1098ba6a1e6e8c7b40dedff7b/py_jelastic-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c619500c49af6c54f8f44f0dd55a889a5cda5430d9dc22bf96d94a89ae6ccaeb",
"md5": "6f159387fc8bb9130348a089c3a781dd",
"sha256": "c0243c8c2c5b281663c52e46c1ef822840955f4078c16adb74c94c74814fb602"
},
"downloads": -1,
"filename": "py-jelastic-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "6f159387fc8bb9130348a089c3a781dd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 83936,
"upload_time": "2024-02-01T07:34:16",
"upload_time_iso_8601": "2024-02-01T07:34:16.929931Z",
"url": "https://files.pythonhosted.org/packages/c6/19/500c49af6c54f8f44f0dd55a889a5cda5430d9dc22bf96d94a89ae6ccaeb/py-jelastic-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-01 07:34:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Onemind-Services-LLC",
"github_project": "py-jelastic",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "py-jelastic"
}