solar-api


Namesolar-api JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://www.tonic.ai/
SummaryWrappers around the Solar API
upload_time2023-10-17 21:35:12
maintainer
docs_urlNone
authorAdam Kamor
requires_python>=3.7,<4.0
licenseMIT
keywords tonic.ai tonic solar
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Overview
This library contains useful wrappers around the Solar API

## Usage

Instantiate the API wrapper using the following code:

```
from solar_api.api import SolarApi

# Do not include trailing backslash in TONIC_URL
api = SolarApi(SOLAR_URL, API_KEY)
```

Once instantiated, the following endpoints are available for consumption. Note that available endpoints and response types are limited. Available fields may be severely limited compared to the current Tonic API.

## Build and package

Update the version in pyproject.toml.  Ensure you are in the python_sdk/ folder in the repo root for the following instructions.

Update build and twine

```
python -m pip install --upgrade build
python -m pip install --upgrade twine
```

Clean out dist folder

```
rm dist/ -rf
```

Now build

```
python -m build
```

And ship

```
python -m twine upload .\dist\*
```

The username is __token__ and the pw is your token including the 'pypi-'

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.tonic.ai/",
    "name": "solar-api",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "tonic.ai,tonic,solar",
    "author": "Adam Kamor",
    "author_email": "adam@tonic.ai",
    "download_url": "https://files.pythonhosted.org/packages/8c/1c/05a50b4f520bd6a11efbc146f32fa685d1a9569123502cb37362514cc208/solar_api-1.1.0.tar.gz",
    "platform": null,
    "description": "# Overview\nThis library contains useful wrappers around the Solar API\n\n## Usage\n\nInstantiate the API wrapper using the following code:\n\n```\nfrom solar_api.api import SolarApi\n\n# Do not include trailing backslash in TONIC_URL\napi = SolarApi(SOLAR_URL, API_KEY)\n```\n\nOnce instantiated, the following endpoints are available for consumption. Note that available endpoints and response types are limited. Available fields may be severely limited compared to the current Tonic API.\n\n## Build and package\n\nUpdate the version in pyproject.toml.  Ensure you are in the python_sdk/ folder in the repo root for the following instructions.\n\nUpdate build and twine\n\n```\npython -m pip install --upgrade build\npython -m pip install --upgrade twine\n```\n\nClean out dist folder\n\n```\nrm dist/ -rf\n```\n\nNow build\n\n```\npython -m build\n```\n\nAnd ship\n\n```\npython -m twine upload .\\dist\\*\n```\n\nThe username is __token__ and the pw is your token including the 'pypi-'\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Wrappers around the Solar API",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://www.tonic.ai/"
    },
    "split_keywords": [
        "tonic.ai",
        "tonic",
        "solar"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f5aa4dd65ab4dbe4073f7c80c63a5704a8fa3040485e09bfb2e5ade83f8bc1f1",
                "md5": "f2e8307ee0fc62d81c547441db7b8513",
                "sha256": "5095e760d6366ba7932cee6abbf04861a7196e9b143dabe771585bbfe4d5a9e4"
            },
            "downloads": -1,
            "filename": "solar_api-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f2e8307ee0fc62d81c547441db7b8513",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 11607,
            "upload_time": "2023-10-17T21:35:11",
            "upload_time_iso_8601": "2023-10-17T21:35:11.555163Z",
            "url": "https://files.pythonhosted.org/packages/f5/aa/4dd65ab4dbe4073f7c80c63a5704a8fa3040485e09bfb2e5ade83f8bc1f1/solar_api-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8c1c05a50b4f520bd6a11efbc146f32fa685d1a9569123502cb37362514cc208",
                "md5": "8e28b04204f212c2877e8004b438e6fe",
                "sha256": "4a5a300143f152e78e45666b49eb888af36a33c0e7127dad18ca8a84d35f64f2"
            },
            "downloads": -1,
            "filename": "solar_api-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8e28b04204f212c2877e8004b438e6fe",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 8339,
            "upload_time": "2023-10-17T21:35:12",
            "upload_time_iso_8601": "2023-10-17T21:35:12.770357Z",
            "url": "https://files.pythonhosted.org/packages/8c/1c/05a50b4f520bd6a11efbc146f32fa685d1a9569123502cb37362514cc208/solar_api-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-17 21:35:12",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "solar-api"
}
        
Elapsed time: 0.61916s