diff --git a/README.md b/README.md index 8ed729d..ec88c57 100644 --- a/README.md +++ b/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: 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 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: