openresty-edge-sdk


Nameopenresty-edge-sdk JSON
Version 1.2.74 PyPI version JSON
download
home_pagehttps://www.openresty.com
SummaryOpenResty Edge Python SDK
upload_time2024-12-20 08:58:02
maintainerNone
docs_urlNone
authorOpenResty Inc.
requires_pythonNone
licenseNone
keywords openresty-edge-sdk edge2client python sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # OpenResty Edge SDK


### Introduction

Python SDK of [OpenResty Edge](https://openresty.com/en/edge/), which provides users with the ability to write custom tools to use OpenResty Edge.

### Installation

```
pip install openresty-edge-sdk
```

### Usage
```python

from edge2client import Edge2Client

client = Edge2Client('http://127.0.0.1:8080', 'username', 'password')
client.login()
app_id = client.new_app(domains = ['orig.foo.com'], label = 'origin site for foo.com')

print(app_id)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.openresty.com",
    "name": "openresty-edge-sdk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "openresty-edge-sdk, edge2client, python, sdk",
    "author": "OpenResty Inc.",
    "author_email": "support@openresty.com",
    "download_url": "https://files.pythonhosted.org/packages/ab/8d/68ff6a24160831556719635c6f2211af60bce52614c450c45e1a5a97ed92/openresty_edge_sdk-1.2.74.tar.gz",
    "platform": "Platform Independent",
    "description": "# OpenResty Edge SDK\n\n\n### Introduction\n\nPython SDK of [OpenResty Edge](https://openresty.com/en/edge/), which provides users with the ability to write custom tools to use OpenResty Edge.\n\n### Installation\n\n```\npip install openresty-edge-sdk\n```\n\n### Usage\n```python\n\nfrom edge2client import Edge2Client\n\nclient = Edge2Client('http://127.0.0.1:8080', 'username', 'password')\nclient.login()\napp_id = client.new_app(domains = ['orig.foo.com'], label = 'origin site for foo.com')\n\nprint(app_id)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "OpenResty Edge Python SDK",
    "version": "1.2.74",
    "project_urls": {
        "Homepage": "https://www.openresty.com"
    },
    "split_keywords": [
        "openresty-edge-sdk",
        " edge2client",
        " python",
        " sdk"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "782eb606bf70654223533b2b969253db522698461e9e16a238943707143265b0",
                "md5": "86c25607ef7e74008bd7f1b3c4600955",
                "sha256": "ca2287127866fed50ee95cceee1ec6f9659fe070f4adfc65d791222cd13c9fd7"
            },
            "downloads": -1,
            "filename": "openresty_edge_sdk-1.2.74-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "86c25607ef7e74008bd7f1b3c4600955",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 109229,
            "upload_time": "2024-12-20T08:57:59",
            "upload_time_iso_8601": "2024-12-20T08:57:59.394798Z",
            "url": "https://files.pythonhosted.org/packages/78/2e/b606bf70654223533b2b969253db522698461e9e16a238943707143265b0/openresty_edge_sdk-1.2.74-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab8d68ff6a24160831556719635c6f2211af60bce52614c450c45e1a5a97ed92",
                "md5": "9b2bf82260bdf8b02a0a0946bbed370a",
                "sha256": "572de9fed437651445c99718829a3a401a0c02453f676a1e37da933cf8c8263a"
            },
            "downloads": -1,
            "filename": "openresty_edge_sdk-1.2.74.tar.gz",
            "has_sig": false,
            "md5_digest": "9b2bf82260bdf8b02a0a0946bbed370a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 106190,
            "upload_time": "2024-12-20T08:58:02",
            "upload_time_iso_8601": "2024-12-20T08:58:02.533146Z",
            "url": "https://files.pythonhosted.org/packages/ab/8d/68ff6a24160831556719635c6f2211af60bce52614c450c45e1a5a97ed92/openresty_edge_sdk-1.2.74.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-20 08:58:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "openresty-edge-sdk"
}
        
Elapsed time: 0.38290s