From 45e1ef5fe7242647715dee005d614c05e50af3f0 Mon Sep 17 00:00:00 2001 From: wwakabobik Date: Tue, 29 Aug 2023 21:54:42 +0200 Subject: [PATCH 1/2] 0.0.2 --- README.md | 4 ---- pyproject.toml | 2 +- setup.cfg | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8ed729d..04af423 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ -# Leonardo_api - -pypi package can be found [here](https://pypi.org/project/leonardo_api/). - ## This is Leonardo.ai API. 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 71e6bf0..339b3f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "leonardo_api" -version = "0.0.1" +version = "0.0.2" authors = [ { name="Iliya Vereshchagin", email="i.vereshchagin@gmail.com" }, ] diff --git a/setup.cfg b/setup.cfg index 6685aae..9e6f9b5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = leonardo_api -version = attr: leonardo_api.0.0.1 +version = attr: leonardo_api.0.0.2 author = Iliya Vereshchagin author_email = i.vereshchagin@gmail.com url = https://github.com/wwakabobik/leonardo_api From 8ba854523fd1dbb3381375719ca9295fb74fc412 Mon Sep 17 00:00:00 2001 From: wwakabobik Date: Tue, 29 Aug 2023 21:58:24 +0200 Subject: [PATCH 2/2] 0.0.2 --- README.md | 8 +++++++- src/README.md | 12 +++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 04af423..ec88c57 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,13 @@ This package contains Python API for [Leonardo.ai](https://leonardo.ai/) based on official [API documentation](https://docs.leonardo.ai/reference). -This python API provides access to Leonardo API using synchronous methods (based on requests library) as well as asynchronous (aiohttp). You can choose one of them - `Leonardo` or `LeonardoAsync`. +To install the package, please use package from [pypi](https://pypi.org/project/leonardo-api/): + +```bash + pip install leonardo-api +``` + +This Python API provides access to Leonardo API using synchronous methods (based on requests library) as well as asynchronous (aiohttp). You can choose one of them - `Leonardo` or `LeonardoAsync`. To start, you must have paid subscription and create an API access token from you [settings page](https://app.leonardo.ai/settings)->User API. Then, init manager class with using your access_token: diff --git a/src/README.md b/src/README.md index 8ed729d..ec88c57 100644 --- a/src/README.md +++ b/src/README.md @@ -1,12 +1,14 @@ -# Leonardo_api - -pypi package can be found [here](https://pypi.org/project/leonardo_api/). - ## This is Leonardo.ai API. This package contains Python API for [Leonardo.ai](https://leonardo.ai/) based on official [API documentation](https://docs.leonardo.ai/reference). -This python API provides access to Leonardo API using synchronous methods (based on requests library) as well as asynchronous (aiohttp). You can choose one of them - `Leonardo` or `LeonardoAsync`. +To install the package, please use package from [pypi](https://pypi.org/project/leonardo-api/): + +```bash + pip install leonardo-api +``` + +This Python API provides access to Leonardo API using synchronous methods (based on requests library) as well as asynchronous (aiohttp). You can choose one of them - `Leonardo` or `LeonardoAsync`. To start, you must have paid subscription and create an API access token from you [settings page](https://app.leonardo.ai/settings)->User API. Then, init manager class with using your access_token: