vedro-cloud


Namevedro-cloud JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/vedro-universe/vedro-cloud
SummaryVedro Cloud plugin
upload_time2024-06-20 14:44:12
maintainerNone
docs_urlNone
authorNikita Tsvetkov
requires_python>=3.8
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements vedro httpx rtry
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Vedro Cloud

[![Codecov](https://img.shields.io/codecov/c/github/vedro-universe/vedro-cloud/main.svg?style=flat-square)](https://codecov.io/gh/vedro-universe/vedro-cloud)
[![PyPI](https://img.shields.io/pypi/v/vedro-cloud.svg?style=flat-square)](https://pypi.python.org/pypi/vedro-cloud/)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/vedro-cloud?style=flat-square)](https://pypi.python.org/pypi/vedro-cloud/)
[![Python Version](https://img.shields.io/pypi/pyversions/vedro-cloud.svg?style=flat-square)](https://pypi.python.org/pypi/vedro-cloud/)

## Installation

### 1. Install package

```shell
$ pip3 install vedro-cloud
```

### 2. Enable plugin

```python
# ./vedro.cfg.py
import vedro
import vedro_cloud
import vedro.plugins.slicer as slicer

class Config(vedro.Config):

    class Plugins(vedro.Config.Plugins):

        class VedroCloud(vedro_cloud.VedroCloud):
            enabled = True
            api_url = "http://localhost:8080"  # Vedro Cloud API
            project_id = "test"

        class Slicer(slicer.Slicer):
            enabled = False
```

### 3. Run Server

Use `docker-compose.yml` from [vedro-universe/vedro-cloud-api](https://github.com/vedro-universe/vedro-cloud-api)

```shell
$ docker-compose up -d
===== Running on http://localhost:8080 =====
```

## Usage

```shell
$ vedro run --order-duration
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/vedro-universe/vedro-cloud",
    "name": "vedro-cloud",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Nikita Tsvetkov",
    "author_email": "tsv1@fastmail.com",
    "download_url": "https://files.pythonhosted.org/packages/48/69/4dfef270fabf3a4aef9800ebb89b22dbb12e9d326b75f89d09714d5b9f34/vedro_cloud-0.3.2.tar.gz",
    "platform": null,
    "description": "# Vedro Cloud\n\n[![Codecov](https://img.shields.io/codecov/c/github/vedro-universe/vedro-cloud/main.svg?style=flat-square)](https://codecov.io/gh/vedro-universe/vedro-cloud)\n[![PyPI](https://img.shields.io/pypi/v/vedro-cloud.svg?style=flat-square)](https://pypi.python.org/pypi/vedro-cloud/)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/vedro-cloud?style=flat-square)](https://pypi.python.org/pypi/vedro-cloud/)\n[![Python Version](https://img.shields.io/pypi/pyversions/vedro-cloud.svg?style=flat-square)](https://pypi.python.org/pypi/vedro-cloud/)\n\n## Installation\n\n### 1. Install package\n\n```shell\n$ pip3 install vedro-cloud\n```\n\n### 2. Enable plugin\n\n```python\n# ./vedro.cfg.py\nimport vedro\nimport vedro_cloud\nimport vedro.plugins.slicer as slicer\n\nclass Config(vedro.Config):\n\n    class Plugins(vedro.Config.Plugins):\n\n        class VedroCloud(vedro_cloud.VedroCloud):\n            enabled = True\n            api_url = \"http://localhost:8080\"  # Vedro Cloud API\n            project_id = \"test\"\n\n        class Slicer(slicer.Slicer):\n            enabled = False\n```\n\n### 3. Run Server\n\nUse `docker-compose.yml` from [vedro-universe/vedro-cloud-api](https://github.com/vedro-universe/vedro-cloud-api)\n\n```shell\n$ docker-compose up -d\n===== Running on http://localhost:8080 =====\n```\n\n## Usage\n\n```shell\n$ vedro run --order-duration\n```\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Vedro Cloud plugin",
    "version": "0.3.2",
    "project_urls": {
        "Homepage": "https://github.com/vedro-universe/vedro-cloud"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a81920d70e7f1c95752e1c136d98d13f9f96b9b0d0b6710cc726f2348fb4faa0",
                "md5": "745af09ca418804dc8d2ff078cef6bf3",
                "sha256": "bce19d50c1f49e4d2025c4005d60d42efa56f9f77d27d4970ce1ce02d111a3d8"
            },
            "downloads": -1,
            "filename": "vedro_cloud-0.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "745af09ca418804dc8d2ff078cef6bf3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 10162,
            "upload_time": "2024-06-20T14:44:11",
            "upload_time_iso_8601": "2024-06-20T14:44:11.601145Z",
            "url": "https://files.pythonhosted.org/packages/a8/19/20d70e7f1c95752e1c136d98d13f9f96b9b0d0b6710cc726f2348fb4faa0/vedro_cloud-0.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "48694dfef270fabf3a4aef9800ebb89b22dbb12e9d326b75f89d09714d5b9f34",
                "md5": "7affce9c8b93fc4fabd192ae4140ddec",
                "sha256": "2d0815fbd74c96698074678f33e58000b526a3741d4cfa479f7d9b16edde452b"
            },
            "downloads": -1,
            "filename": "vedro_cloud-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7affce9c8b93fc4fabd192ae4140ddec",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 9762,
            "upload_time": "2024-06-20T14:44:12",
            "upload_time_iso_8601": "2024-06-20T14:44:12.643027Z",
            "url": "https://files.pythonhosted.org/packages/48/69/4dfef270fabf3a4aef9800ebb89b22dbb12e9d326b75f89d09714d5b9f34/vedro_cloud-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-20 14:44:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "vedro-universe",
    "github_project": "vedro-cloud",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "vedro",
            "specs": [
                [
                    ">=",
                    "1.8.3"
                ],
                [
                    "<",
                    "2.0"
                ]
            ]
        },
        {
            "name": "httpx",
            "specs": [
                [
                    "<",
                    "1.0"
                ],
                [
                    ">=",
                    "0.23"
                ]
            ]
        },
        {
            "name": "rtry",
            "specs": [
                [
                    "<",
                    "2.0"
                ],
                [
                    ">=",
                    "1.4"
                ]
            ]
        }
    ],
    "lcname": "vedro-cloud"
}
        
Elapsed time: 0.28808s