<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&units=none&left_color=black&right_color=blue&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://t.me/execal",
"name": "somnium",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": null,
"keywords": "ai, stablediffusion, dream, somnium",
"author": "odi",
"author_email": "ivuxey@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/61/75/1ff3e96eea9da3d11bbec1829739e81d68e371ae45da1dd64db56b6f951f/somnium-9.9.4.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&units=none&left_color=black&right_color=blue&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.4",
"project_urls": {
"Bug Tracker": "https://t.me/feelded",
"Homepage": "https://t.me/execal",
"Source": "https://github.com/vauth"
},
"split_keywords": [
"ai",
" stablediffusion",
" dream",
" somnium"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "258b7fc11df3f787f0326bedccdd8764470aa9af7518536aee06dfbbf961d56a",
"md5": "b9f3d45b8544bde96c5ddcf2461f24bd",
"sha256": "32cabebb95b0c5131b32da10baa5efbf24b3cabdc61337cd12c8d86f425823cf"
},
"downloads": -1,
"filename": "somnium-9.9.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b9f3d45b8544bde96c5ddcf2461f24bd",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.5",
"size": 7240,
"upload_time": "2024-11-07T11:41:22",
"upload_time_iso_8601": "2024-11-07T11:41:22.313588Z",
"url": "https://files.pythonhosted.org/packages/25/8b/7fc11df3f787f0326bedccdd8764470aa9af7518536aee06dfbbf961d56a/somnium-9.9.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "61751ff3e96eea9da3d11bbec1829739e81d68e371ae45da1dd64db56b6f951f",
"md5": "de4439d0a11a0d305fdeeccf77acb1e6",
"sha256": "d42096e133cb6f1bef40a26f45e76127e6133e9a88d3a307df51ccf817dc4291"
},
"downloads": -1,
"filename": "somnium-9.9.4.tar.gz",
"has_sig": false,
"md5_digest": "de4439d0a11a0d305fdeeccf77acb1e6",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 5792,
"upload_time": "2024-11-07T11:41:24",
"upload_time_iso_8601": "2024-11-07T11:41:24.169213Z",
"url": "https://files.pythonhosted.org/packages/61/75/1ff3e96eea9da3d11bbec1829739e81d68e371ae45da1dd64db56b6f951f/somnium-9.9.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-07 11:41:24",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "somnium"
}