chore(project): formatting

This commit is contained in:
2025-11-27 14:28:41 +01:00
parent 97a1becc86
commit 04010815a9

View File

@@ -3,30 +3,21 @@ name = "bibapi"
version = "0.1.0" version = "0.1.0"
description = "Add your description here" description = "Add your description here"
readme = "README.md" readme = "README.md"
authors = [ authors = [{ name = "WorldTeacher", email = "coding_contact@pm.me" }]
{ name = "WorldTeacher", email = "coding_contact@pm.me" }
]
requires-python = ">=3.13" requires-python = ">=3.13"
dependencies = [ dependencies = ["regex>=2025.9.18"]
"regex>=2025.9.18",
]
[project.optional-dependencies] [project.optional-dependencies]
# SRU API feature: for accessing library catalogs via SRU protocol # SRU API feature: for accessing library catalogs via SRU protocol
sru = [ sru = ["requests>=2.32.5"]
"requests>=2.32.5",
]
# Catalogue feature: web scraping local library catalog # Catalogue feature: web scraping local library catalog
catalogue = [ catalogue = ["requests>=2.32.5", "beautifulsoup4>=4.12.0"]
"requests>=2.32.5",
"beautifulsoup4>=4.12.0", webrequest = ["bibapi[catalogue]", "ratelimit>=2.2.0"]
]
# Install all features # Install all features
all = [ all = ["bibapi[sru,catalogue]"]
"bibapi[sru,catalogue]",
]
[build-system] [build-system]
requires = ["uv_build >= 0.9.5, <0.10.0"] requires = ["uv_build >= 0.9.5, <0.10.0"]
@@ -55,6 +46,7 @@ pre_commit_hooks = []
post_commit_hooks = [] post_commit_hooks = []
[dependency-groups] [dependency-groups]
dev = ["pylint>=4.0.3"]
test = [ test = [
"types-pysocks>=1.7.1.20251001", "types-pysocks>=1.7.1.20251001",
"types-regex>=2025.9.18.20250921", "types-regex>=2025.9.18.20250921",