PyLimeRPC: package pylimerpc + pyproject + tests/examples (overname van minimalLS)
- nieuwe package `pylimerpc/` (rpc, session, surveys, tokens, responses, errors, utils, config) - pyproject.toml (name PyLimeRPC, versie 0.1.0) - tests/ (69 passed, 2 deselected) en examples/ - .env.example: TLS-verificatie documentatie (LIMESURVEY_VERIFY_SSL) - README/.gitignore bijgewerkt Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
30fc89e4e2
commit
d7d9dc61bf
1 changed files with 2853 additions and 14 deletions
35
pyproject.toml
Normal file
35
pyproject.toml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
[build-system]
|
||||
requires = ["setuptools>=68"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "PyLimeRPC"
|
||||
version = "0.1.0"
|
||||
description = "PyLimeRPC — reusable Python client for the LimeSurvey RemoteControl JSON-RPC API (LS7)"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
authors = [{ name = "Respondage" }]
|
||||
keywords = ["limesurvey", "remotecontrol", "json-rpc", "surveys"]
|
||||
classifiers = [
|
||||
"Intended Audience :: Developers",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Topic :: Internet :: WWW/HTTP :: WSGI",
|
||||
]
|
||||
# No runtime dependencies: Python standard library only.
|
||||
dependencies = []
|
||||
|
||||
# Development/tests only; not needed for normal use.
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest>=8"]
|
||||
|
||||
# Explicit package list (avoids flat-layout detection issues with test.py/tests/).
|
||||
[tool.setuptools]
|
||||
packages = ["pylimerpc"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
markers = [
|
||||
"integration: tests against a real LimeSurvey instance (skipped by default; run with: pytest -m integration)",
|
||||
]
|
||||
# Integration tests are OFF by default; run only those with 'pytest -m integration'.
|
||||
addopts = "-m 'not integration'"
|
||||
Loading…
Reference in a new issue