apimaticio-calculator-678-sdk


Nameapimaticio-calculator-678-sdk JSON
Version 1.1.1 PyPI version JSON
download
home_page
SummaryThis is demo description
upload_time2023-06-05 04:11:58
maintainer
docs_urlNone
author
requires_python>=3.7
license
keywords demo test
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Getting Started with APIMATIC Calculator

## Introduction

Simple calculator API hosted on APIMATIC

## Install the Package

The package is compatible with Python versions `3 >=3.7, <= 3.11`.
Install the package from PyPi using the following pip command:

```python
pip install apimaticio-calculator-678-sdk==1.1.1
```

You can also view the package at:
https://pypi.python.org/pypi/apimaticio-calculator-678-sdk/1.1.1

## Test the SDK

You can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:

Navigate to the root directory of the SDK and run the following commands

```
pip install -r test-requirements.txt
pytest
```

## Initialize the API Client

**_Note:_** Documentation for the client can be found [here.](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/client.md)

The following parameters are configurable for the API Client:

| Parameter | Type | Description |
|  --- | --- | --- |
| `environment` | Environment | The API environment. <br> **Default: `Environment.PRODUCTION`** |
| `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |
| `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |
| `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |
| `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |
| `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |
| `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |
| `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |
| `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |

The API client can be initialized as follows:

```python
from apimaticcalculator.apimaticcalculator_client import ApimaticcalculatorClient
from apimaticcalculator.configuration import Environment

client = ApimaticcalculatorClient()
```

## List of APIs

* [Simple Calculator](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/controllers/simple-calculator.md)

## Classes Documentation

* [Utility Classes](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/utility-classes.md)
* [HttpResponse](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/http-response.md)
* [HttpRequest](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/http-request.md)


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "apimaticio-calculator-678-sdk",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "demo,test",
    "author": "",
    "author_email": "Mujahid <mujahid.khan@apimatic.io>",
    "download_url": "https://files.pythonhosted.org/packages/3f/98/74a1282599d320005292558b8b85bba5da9f6e3e40893dd77bda802c9aa9/apimaticio-calculator-678-sdk-1.1.1.tar.gz",
    "platform": null,
    "description": "\n# Getting Started with APIMATIC Calculator\n\n## Introduction\n\nSimple calculator API hosted on APIMATIC\n\n## Install the Package\n\nThe package is compatible with Python versions `3 >=3.7, <= 3.11`.\nInstall the package from PyPi using the following pip command:\n\n```python\npip install apimaticio-calculator-678-sdk==1.1.1\n```\n\nYou can also view the package at:\nhttps://pypi.python.org/pypi/apimaticio-calculator-678-sdk/1.1.1\n\n## Test the SDK\n\nYou can test the generated SDK and the server with test cases. `unittest` is used as the testing framework and `pytest` is used as the test runner. You can run the tests as follows:\n\nNavigate to the root directory of the SDK and run the following commands\n\n```\npip install -r test-requirements.txt\npytest\n```\n\n## Initialize the API Client\n\n**_Note:_** Documentation for the client can be found [here.](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/client.md)\n\nThe following parameters are configurable for the API Client:\n\n| Parameter | Type | Description |\n|  --- | --- | --- |\n| `environment` | Environment | The API environment. <br> **Default: `Environment.PRODUCTION`** |\n| `http_client_instance` | `HttpClient` | The Http Client passed from the sdk user for making requests |\n| `override_http_client_configuration` | `bool` | The value which determines to override properties of the passed Http Client from the sdk user |\n| `http_call_back` | `HttpCallBack` | The callback value that is invoked before and after an HTTP call is made to an endpoint |\n| `timeout` | `float` | The value to use for connection timeout. <br> **Default: 60** |\n| `max_retries` | `int` | The number of times to retry an endpoint call if it fails. <br> **Default: 0** |\n| `backoff_factor` | `float` | A backoff factor to apply between attempts after the second try. <br> **Default: 2** |\n| `retry_statuses` | `Array of int` | The http statuses on which retry is to be done. <br> **Default: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524]** |\n| `retry_methods` | `Array of string` | The http methods on which retry is to be done. <br> **Default: ['GET', 'PUT']** |\n\nThe API client can be initialized as follows:\n\n```python\nfrom apimaticcalculator.apimaticcalculator_client import ApimaticcalculatorClient\nfrom apimaticcalculator.configuration import Environment\n\nclient = ApimaticcalculatorClient()\n```\n\n## List of APIs\n\n* [Simple Calculator](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/controllers/simple-calculator.md)\n\n## Classes Documentation\n\n* [Utility Classes](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/utility-classes.md)\n* [HttpResponse](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/http-response.md)\n* [HttpRequest](https://www.github.com/Shield-Jaguar/apimaticio-calculator-678/tree/1.1.1/doc/http-request.md)\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "This is demo description",
    "version": "1.1.1",
    "project_urls": {
        "Documentation": "https://docs.apimatic.io"
    },
    "split_keywords": [
        "demo",
        "test"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "773b476a726cecebb5a7ecb71cdfbacface7ddf6fff922638fc6d3b8881d0ee1",
                "md5": "e8e541c71d5f5c15501a68f93697f602",
                "sha256": "482ba45b6947c30d5659403cd16b31bc04854ed538beab21d14d24aacd2e7baa"
            },
            "downloads": -1,
            "filename": "apimaticio_calculator_678_sdk-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e8e541c71d5f5c15501a68f93697f602",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 14079,
            "upload_time": "2023-06-05T04:11:56",
            "upload_time_iso_8601": "2023-06-05T04:11:56.914311Z",
            "url": "https://files.pythonhosted.org/packages/77/3b/476a726cecebb5a7ecb71cdfbacface7ddf6fff922638fc6d3b8881d0ee1/apimaticio_calculator_678_sdk-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3f9874a1282599d320005292558b8b85bba5da9f6e3e40893dd77bda802c9aa9",
                "md5": "067c6436127037bf017cca309b91c724",
                "sha256": "30a4c639b4d400279df18a78368745fb07742cfae5b0ea1fe98eec36fb9361d9"
            },
            "downloads": -1,
            "filename": "apimaticio-calculator-678-sdk-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "067c6436127037bf017cca309b91c724",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 9525,
            "upload_time": "2023-06-05T04:11:58",
            "upload_time_iso_8601": "2023-06-05T04:11:58.620839Z",
            "url": "https://files.pythonhosted.org/packages/3f/98/74a1282599d320005292558b8b85bba5da9f6e3e40893dd77bda802c9aa9/apimaticio-calculator-678-sdk-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-05 04:11:58",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "apimaticio-calculator-678-sdk"
}
        
Elapsed time: 0.07506s