From c4c3989973ff9f898b11fd53ed0978aad4e0e42c Mon Sep 17 00:00:00 2001 From: wwakabobik Date: Sun, 15 Oct 2023 17:02:32 +0200 Subject: [PATCH] Bump to 0.0.7 --- README.md | 2 +- pyproject.toml | 10 ++++++++++ setup.cfg | 15 ++++++++++++--- src/README.md | 2 +- src/__init__.py | 4 ++-- src/__main__.py | 4 ++-- src/leonardo_api/__init__.py | 4 ++-- 7 files changed, 30 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 5ed49af..b01f29a 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/pyproject.toml b/pyproject.toml index d47a10f..5e101af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,6 +8,10 @@ version = "0.0.6" authors = [ { name="Iliya Vereshchagin", email="i.vereshchagin@gmail.com" }, ] +maintainers = [ + { name="Iliya Vereshchagin", email="i.vereshchagin@gmail.com" }, +] +keywords = ["leonardo", "ai", "image generation", "artificial intelligence", "api", "llm", "leonardo.ai", "stablediffusion"] description = "Leonardo.ai Python API" readme = "README.md" license = { file="LICENSE" } @@ -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 = [ diff --git a/setup.cfg b/setup.cfg index 92a3588..da506bc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,20 +1,29 @@ [metadata] -name = leonardo-api +name = leonardo_api version = attr: leonardo_api.0.0.6 author = Iliya Vereshchagin author_email = i.vereshchagin@gmail.com +maintainer = Iliya Vereshchagin +maintainer_email = i.vereshchagin@gmail.com 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 = diff --git a/src/README.md b/src/README.md index 5ed49af..b01f29a 100644 --- a/src/README.md +++ b/src/README.md @@ -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). diff --git a/src/__init__.py b/src/__init__.py index 239dcef..ebf01a8 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -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 diff --git a/src/__main__.py b/src/__main__.py index 02a33eb..51bae09 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -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 diff --git a/src/leonardo_api/__init__.py b/src/leonardo_api/__init__.py index fb85be0..72df46c 100644 --- a/src/leonardo_api/__init__.py +++ b/src/leonardo_api/__init__.py @@ -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