(2.0.0) woohoo, first major version bump!
bunch of stuff this update, including a full documentation site (still a WIP) there is now a cache created whenever an instance of `FloweryAPI` is instantiated, so you don't have to query the api and iterate through the api response to retrieve a single voice anymore! function names have also been changed with this update, hence the major version bump. `get_tts()`, `get_voices()`, and `get_voice()` have been renamed to `fetch_tts()`, `fetch_voices()`, and `fetch_voice()` respectively. `get_voices()` still exists, but with different functionality (that method retrieves voices from the internal cache instead of querying the flowery api) !BREAKING
This commit is contained in:
parent
81dea4c8a2
commit
cb87400278
17 changed files with 1489 additions and 36 deletions
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "pyflowery"
|
||||
version = "1.0.6"
|
||||
version = "2.0.0"
|
||||
description = "A Python API wrapper for the Flowery API"
|
||||
authors = ["cswimr <seaswimmerthefsh@gmail.com>"]
|
||||
readme = "README.md"
|
||||
|
@ -15,10 +15,24 @@ classifiers = [
|
|||
python = "^3.11"
|
||||
aiohttp = "^3.9.5"
|
||||
|
||||
[tool.poetry.group.dev]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
pylint = "^3.2.7"
|
||||
ruff = "^0.6.5"
|
||||
|
||||
[tool.poetry.group.docs]
|
||||
optional = true
|
||||
|
||||
[tool.poetry.group.docs.dependencies]
|
||||
mkdocs = "1.6.1"
|
||||
mkdocstrings = {extras = ["python"], version = "0.26.1"}
|
||||
mkdocs-git-authors-plugin = "0.9.0"
|
||||
mkdocs-git-revision-date-localized-plugin = "1.2.9"
|
||||
mkdocs-material = {extras = ["imaging"], version = "9.5.35"}
|
||||
mkdocs-redirects = "1.2.1"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue