meteron


Namemeteron JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://meteron.com
SummaryQueuing, storage, metering, rate limiting for AI
upload_time2023-02-08 09:02:20
maintainer
docs_urlNone
authorKarolis Rusenas
requires_python>=3.8
licenseApache License 2.0
keywords deep learning ml ai
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Meteron AI

Installation:

```bash
pip install meteron
```

Usage:

```python
import json

from meteron import Cluster

# Create your cluster that has one or more servers.
# In this example we will use https://lightning.ai/muse
cluster = Cluster(cluster='lightning-muse',
                  servers=[{
                      'url': 'https://ulhcn-01gd3c9epmk5xj2y9a9jrrvgt8.litng-ai-03.litng.ai/api/predict'
                  }])

cluster.initialize()

# Send the request to the cluster
result = cluster.image_gen(data=json.dumps({'prompt': 'spaceships above alien planet'}))

# Do whatever you want with the result
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://meteron.com",
    "name": "meteron",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "deep learning,ML,AI",
    "author": "Karolis Rusenas",
    "author_email": "karolis@rusenas.dev",
    "download_url": "https://files.pythonhosted.org/packages/00/17/88c10e93f790673fc524f5b6d6fb864bcaa57b5031296041f482b422b583/meteron-0.1.4.tar.gz",
    "platform": null,
    "description": "# Meteron AI\n\nInstallation:\n\n```bash\npip install meteron\n```\n\nUsage:\n\n```python\nimport json\n\nfrom meteron import Cluster\n\n# Create your cluster that has one or more servers.\n# In this example we will use https://lightning.ai/muse\ncluster = Cluster(cluster='lightning-muse',\n                  servers=[{\n                      'url': 'https://ulhcn-01gd3c9epmk5xj2y9a9jrrvgt8.litng-ai-03.litng.ai/api/predict'\n                  }])\n\ncluster.initialize()\n\n# Send the request to the cluster\nresult = cluster.image_gen(data=json.dumps({'prompt': 'spaceships above alien planet'}))\n\n# Do whatever you want with the result\n```\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Queuing, storage, metering, rate limiting for AI",
    "version": "0.1.4",
    "split_keywords": [
        "deep learning",
        "ml",
        "ai"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "524fae98a11dd4019cc7b8af5bf1c0ccc9c827d5e430030f1e1fa78b887051b1",
                "md5": "0aeda2787d86768205613399e6f02993",
                "sha256": "fbdb897c5b037e512c923a5e86fe4b9a4f1dcc3d8bc02e05de119110338ab5b3"
            },
            "downloads": -1,
            "filename": "meteron-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0aeda2787d86768205613399e6f02993",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7688,
            "upload_time": "2023-02-08T09:02:19",
            "upload_time_iso_8601": "2023-02-08T09:02:19.754436Z",
            "url": "https://files.pythonhosted.org/packages/52/4f/ae98a11dd4019cc7b8af5bf1c0ccc9c827d5e430030f1e1fa78b887051b1/meteron-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "001788c10e93f790673fc524f5b6d6fb864bcaa57b5031296041f482b422b583",
                "md5": "b7aa4d4790dbde994f3925ff7e58462c",
                "sha256": "67fa9239b068e8ca9b4cce5278f1656ca1f9a23aab5ec81348aeb9d70b6d1088"
            },
            "downloads": -1,
            "filename": "meteron-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "b7aa4d4790dbde994f3925ff7e58462c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7382,
            "upload_time": "2023-02-08T09:02:20",
            "upload_time_iso_8601": "2023-02-08T09:02:20.672141Z",
            "url": "https://files.pythonhosted.org/packages/00/17/88c10e93f790673fc524f5b6d6fb864bcaa57b5031296041f482b422b583/meteron-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-02-08 09:02:20",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "meteron"
}
        
Elapsed time: 0.05101s