cswimr
33b63fecc4
added automatic retry handlers for 429 and 5xx error codes, as well as custom exceptions for ratelimiting, client errors, and server errors also added a more advanced user agent string constructor. previously, setting FloweryAPIConfig.user_agent would override the default user_agent. so, if you set user_agent to `foobar`, the user agent string would be `foobar` in requests. now, the user agent string sent by requests would be the following on my development machine: `'User-Agent': 'PyFlowery/1.0.3 PyFloweryTests (Python 3.12.6 (main, Sep 8 2024, 13:18:56) [GCC 14.2.1 20240805])'`
19 lines
425 B
TOML
19 lines
425 B
TOML
[tool.poetry]
|
|
name = "pyflowery"
|
|
version = "1.0.3"
|
|
description = "A Python API wrapper for the Flowery API"
|
|
authors = ["cswimr <seaswimmerthefsh@gmail.com>"]
|
|
license = "GPL 3.0-only"
|
|
readme = "README.md"
|
|
|
|
[tool.poetry.dependencies]
|
|
python = "^3.11"
|
|
aiohttp = "^3.9.5"
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
|
pylint = "^3.2.7"
|
|
ruff = "^0.6.5"
|
|
|
|
[build-system]
|
|
requires = ["poetry-core"]
|
|
build-backend = "poetry.core.masonry.api"
|