Add issue templates and CI workflows; remove obsolete files

- Created bug report and feature request templates for better issue tracking.
- Added a build workflow for automated package management and release.
- Removed outdated CodeQL analysis and Python publish workflows.
- Updated project metadata in pyproject.toml and README.md.
- Refactored torrent handling and site interaction modules.
This commit is contained in:
2025-05-23 16:42:27 +02:00
parent 38df01c21f
commit 8ddea25e5b
18 changed files with 349 additions and 249 deletions

View File

@@ -1,23 +1,18 @@
[tool.poetry]
name = "nyaapy"
version = "0.7"
description = "Unofficial Python wrapper for NyaaPantsu API and Nyaa.si"
authors = ["Juanjo Salvador <juanjosalvador@netc.eu>"]
[project]
name = "komsuite-nyaapy"
version = "0.1.0"
description = "A rewritten hard fork of the original NyaaPy library."
license = "MIT"
readme = "README.md"
authors = [{ name = "WorldTeacher", email = "coding_contact@pm.me" }]
requires-python = ">=3.13"
dependencies = [
"bencodepy>=0.9.5",
"lxml>=5.3.1",
"regex>=2024.11.6",
]
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.32.3"
lxml = "^5.2.2"
[tool.poetry.group.dev.dependencies]
pytest = "^8.2.2"
black = "^24.4.2"
mypy = "^1.10.1"
types-requests = "^2.32.0.20240712"
lxml-stubs = "^0.5.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"