somnium


Namesomnium JSON
Version 9.9.2 PyPI version JSON
download
home_pagehttps://odium.us
SummaryCreate beautiful artwork using the power of AI.
upload_time2023-09-01 11:44:46
maintainer
docs_urlNone
authorodi
requires_python>=3.5
licenseMIT
keywords ai stablediffusion dream somnium
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
<h1>Somnium</h1>
Create beautiful artwork using the power of AI
<br/><br/><img src="https://static.pepy.tech/personalized-badge/somnium?period=total&amp;units=none&amp;left_color=black&amp;right_color=blue&amp;left_text=Total Downloads" alt="Downloads">
</div>


<h2>Installation:</h2>

```bash
python3 -m pip install somnium
```

<h2>Examples:</h2>

<h3>somnium:</h3>

```python
from somnium import Somnium

# Get Styles (url)
print(Somnium.StylesGraph())

# Get Styles (list)
print(Somnium.Styles())

# Generate Artwork
print(Somnium.Generate('Hunter Schafer', 2009))
```

<h3>somnium.sync:</h3>

```python
import asyncio
from somnium.sync import Somnium

async def my_test():
    # Get Styles (url)
    print(await Somnium.StylesGraph())

    # Get Styles (list)
    print(await Somnium.Styles())

    # Generate Artwork
    print(await Somnium.Generate('Hunter Schafer', 2009))
    
asyncio.run(my_test())
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://odium.us",
    "name": "somnium",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "ai,stablediffusion,dream,somnium",
    "author": "odi",
    "author_email": "ivuxey@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b1/5d/cee0f77eaa523758149eb49beccae25871128cadf608d5fd8f67e7744f7c/somnium-9.9.2.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\r\n<h1>Somnium</h1>\r\nCreate beautiful artwork using the power of AI\r\n<br/><br/><img src=\"https://static.pepy.tech/personalized-badge/somnium?period=total&amp;units=none&amp;left_color=black&amp;right_color=blue&amp;left_text=Total Downloads\" alt=\"Downloads\">\r\n</div>\r\n\r\n\r\n<h2>Installation:</h2>\r\n\r\n```bash\r\npython3 -m pip install somnium\r\n```\r\n\r\n<h2>Examples:</h2>\r\n\r\n<h3>somnium:</h3>\r\n\r\n```python\r\nfrom somnium import Somnium\r\n\r\n# Get Styles (url)\r\nprint(Somnium.StylesGraph())\r\n\r\n# Get Styles (list)\r\nprint(Somnium.Styles())\r\n\r\n# Generate Artwork\r\nprint(Somnium.Generate('Hunter Schafer', 2009))\r\n```\r\n\r\n<h3>somnium.sync:</h3>\r\n\r\n```python\r\nimport asyncio\r\nfrom somnium.sync import Somnium\r\n\r\nasync def my_test():\r\n    # Get Styles (url)\r\n    print(await Somnium.StylesGraph())\r\n\r\n    # Get Styles (list)\r\n    print(await Somnium.Styles())\r\n\r\n    # Generate Artwork\r\n    print(await Somnium.Generate('Hunter Schafer', 2009))\r\n    \r\nasyncio.run(my_test())\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Create beautiful artwork using the power of AI.",
    "version": "9.9.2",
    "project_urls": {
        "Bug Tracker": "https://t.me/feelded",
        "Homepage": "https://odium.us"
    },
    "split_keywords": [
        "ai",
        "stablediffusion",
        "dream",
        "somnium"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99a96a866a3d907d10f62bbac3d2b10a95821cfa0241bf03826682af47bb34f6",
                "md5": "37425db0cc7076238917cf34af3dbb68",
                "sha256": "1b620a1972152eeb3f224d2473098d106f09b114f4ed5569f0a672db0a5e976e"
            },
            "downloads": -1,
            "filename": "somnium-9.9.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "37425db0cc7076238917cf34af3dbb68",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.5",
            "size": 6594,
            "upload_time": "2023-09-01T11:44:44",
            "upload_time_iso_8601": "2023-09-01T11:44:44.478653Z",
            "url": "https://files.pythonhosted.org/packages/99/a9/6a866a3d907d10f62bbac3d2b10a95821cfa0241bf03826682af47bb34f6/somnium-9.9.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b15dcee0f77eaa523758149eb49beccae25871128cadf608d5fd8f67e7744f7c",
                "md5": "0422f0de159118d7ca92388c44268d7b",
                "sha256": "489cb694b39b25d2d91bd4f0a06830ddf67afe69ffc7a07654caa39630b9207f"
            },
            "downloads": -1,
            "filename": "somnium-9.9.2.tar.gz",
            "has_sig": false,
            "md5_digest": "0422f0de159118d7ca92388c44268d7b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 4989,
            "upload_time": "2023-09-01T11:44:46",
            "upload_time_iso_8601": "2023-09-01T11:44:46.314795Z",
            "url": "https://files.pythonhosted.org/packages/b1/5d/cee0f77eaa523758149eb49beccae25871128cadf608d5fd8f67e7744f7c/somnium-9.9.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-01 11:44:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "somnium"
}
        
odi
Elapsed time: 0.11088s