Somnium
Create beautiful artwork using the power of AIInstallation:
python3 -m pip install somnium
Examples:
somnium:
from somnium import Somnium
# Get Styles (url)
print(Somnium.StylesGraph())
# Get Styles (list)
print(Somnium.Styles())
# Generate Artwork
print(Somnium.Generate('A beautiful sunset', 2009))
# Edit an image
print(Somnium.Generate('Cyberpunk style', 2009, "/home/odium/image.png"))
somnium.sync:
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('A beautiful sunset', 2009))
# Edit an image
print(await Somnium.Generate('Cyberpunk style', 2009, "/home/odium/image.png"))
asyncio.run(my_test())
Metadata
Release files for somnium 9.9.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| somnium-9.9.7.tar.gz | 6.6 kB | Without provenance | Details for somnium-9.9.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| somnium-9.9.7-py3-none-any.whl | Python 3 | none | any | Details for somnium-9.9.7-py3-none-any.whl |
Total release size: 15.0 kB
Release files / somnium-9.9.7.tar.gz
| Download URL | somnium-9.9.7.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f064576992fdf1cedeb2f333feff57355c1c9e928e5ab2681c7a9878caa2f32
|
|
BLAKE2b-256 checksum How to use checksums |
45c5c102e7a4d80856ed28523382fbfe3b7cd3e4ed6f9dc871e248621d61a695
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0rc1
|
Release files / somnium-9.9.7-py3-none-any.whl
| Download URL | somnium-9.9.7-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ba33b23185fc7372a0c0968f03c208a178be16c9ff8d08d2046c9a33c61c1c6
|
|
BLAKE2b-256 checksum How to use checksums |
b874382b73ed15b7a6c5d97d42476466a0bea75f054426d38415bdcdc112f363
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0rc1
|
Security for somnium 9.9.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.