Skip to content

Commit

Permalink
Bump to 0.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
wwakabobik committed Oct 15, 2023
1 parent 2634c63 commit c4c3989
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## This is Leonardo.ai API.

[![PyPI version](https://badge.fury.io/py/leonardo-api.svg)](https://badge.fury.io/py/leonardo-api)
[![PyPI version](https://badge.fury.io/py/leonardo-api.svg)](https://badge.fury.io/py/leonardo-api) [![Linters](https://github.com/wwakabobik/leonardo_api/actions/workflows/master-linters.yml/badge.svg?branch=master)](https://github.com/wwakabobik/leonardo_api/actions/workflows/master-linters.yml)

This package contains Python API for [Leonardo.ai](https://leonardo.ai/) based on official [API documentation](https://docs.leonardo.ai/reference).

Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ version = "0.0.6"
authors = [
{ name="Iliya Vereshchagin", email="[email protected]" },
]
maintainers = [
{ name="Iliya Vereshchagin", email="[email protected]" },
]
keywords = ["leonardo", "ai", "image generation", "artificial intelligence", "api", "llm", "leonardo.ai", "stablediffusion"]
description = "Leonardo.ai Python API"
readme = "README.md"
license = { file="LICENSE" }
Expand All @@ -31,6 +35,12 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Visualization",
]

install_requires = [
Expand Down
15 changes: 12 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,20 +1,29 @@
[metadata]
name = leonardo-api
name = leonardo_api
version = attr: leonardo_api.0.0.6
author = Iliya Vereshchagin
author_email = [email protected]
maintainer = Iliya Vereshchagin
maintainer_email = [email protected]
url = https://github.com/wwakabobik/leonardo_api
description = Leonardo.ai Python API
long_description = file: README.md
long_description_content_type = text/markdown
keywords = leonardo, leonardo.ai, image generation, stablediffusion, api
keywords = leonardo, leonardo.ai, image generation, stablediffusion, api, llm, ai, artificial intelligence
license = MIT License
python_requires = >=3.9
classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Operating System :: OS Independent
Intended Audience :: Developers
Intended Audience :: Information Technology
Topic :: Software Development :: Libraries :: Python Modules
Topic :: Scientific/Engineering :: Artificial Intelligence
Topic :: Scientific/Engineering :: Image Processing
Topic :: Scientific/Engineering :: Visualization

[options]
install_requires =
Expand Down
2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## This is Leonardo.ai API.

[![PyPI version](https://badge.fury.io/py/leonardo-api.svg)](https://badge.fury.io/py/leonardo-api)
[![PyPI version](https://badge.fury.io/py/leonardo-api.svg)](https://badge.fury.io/py/leonardo-api) [![Linters](https://github.com/wwakabobik/leonardo_api/actions/workflows/master-linters.yml/badge.svg?branch=master)](https://github.com/wwakabobik/leonardo_api/actions/workflows/master-linters.yml)

This package contains Python API for [Leonardo.ai](https://leonardo.ai/) based on official [API documentation](https://docs.leonardo.ai/reference).

Expand Down
4 changes: 2 additions & 2 deletions src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Copyright (c) 2023. All rights reserved.
Created: 29.08.2023
Last Modified: 29.09.2023
Last Modified: 15.10.2023
Description:
This file contains module init
"""
from .leonardo_api.leonardo_async import Leonardo as LeonardoAsync
from .leonardo_api.leonardo_sync import Leonardo as Leonardo
from .leonardo_api.leonardo_sync import Leonardo
from .leonardo_api.models import platform_models, custom_models, nsfw_models
from .leonardo_api.logger_config import setup_logger
4 changes: 2 additions & 2 deletions src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Copyright (c) 2023. All rights reserved.
Created: 29.08.2023
Last Modified: 29.09.2023
Last Modified: 15.10.2023
Description:
This file contains module main init
"""
from .leonardo_api.leonardo_async import Leonardo as LeonardoAsync # pylint: disable=unused-import
from .leonardo_api.leonardo_sync import Leonardo as Leonardo # pylint: disable=unused-import
from .leonardo_api.leonardo_sync import Leonardo # pylint: disable=unused-import
from .leonardo_api.models import platform_models, custom_models, nsfw_models # pylint: disable=unused-import
from .leonardo_api.logger_config import setup_logger # pylint: disable=unused-import
4 changes: 2 additions & 2 deletions src/leonardo_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
Copyright (c) 2023. All rights reserved.
Created: 29.08.2023
Last Modified: 29.09.2023
Last Modified: 15.10.2023
Description:
This file contains module init
"""
from .leonardo_async import Leonardo as LeonardoAsync
from .leonardo_sync import Leonardo as Leonardo
from .leonardo_sync import Leonardo
from .models import platform_models, custom_models, nsfw_models
from .logger_config import setup_logger

0 comments on commit c4c3989

Please sign in to comment.