2026-11-19 12:26:35 +01:00
|
|
|
[build-system]
|
|
|
|
|
requires = ["setuptools>=68"]
|
|
|
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
|
|
|
|
|
|
[project]
|
|
|
|
|
name = "PyLimeRPC"
|
PyLimeRPC 0.2.0 — prompts.md Prompt 1-4
- responses.py: get_summary() (raw RPC get_summary), count_responses() ->
frozen ResponseCounts(completed, incomplete, total), export_responses_auto()
with automatic format fallback (xlsx -> xls -> csv) on IWriter errors
- utils.py: summary_counts_full() -> (completed, incomplete, total) with
per-LS-version key fallbacks; summary_counts left untouched
- surveys.py: get_survey_by_sid() (dict | None), get_survey_info() ->
frozen SurveyInfo(sid, title, active)
- tokens.py: documented that extra/custom token attributes (attribute_1, ...)
pass through unchanged in add_participants/list_participants
- LsClient: get_summary, count_responses, get_survey_by_sid, get_survey_info,
export_responses_auto; __all__ + re-exports updated
- README: new "Response counts & summary" section + usage examples
- .gitignore: prompts.md added (local-only docs, like werkdocument.md)
- version 0.1.0 -> 0.2.0 (__init__.py + pyproject.toml)
- tests: +27 FakeRpc unit tests (96 passed, 2 deselected)
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-20 11:56:03 +01:00
|
|
|
version = "0.2.0"
|
2026-11-19 12:26:35 +01:00
|
|
|
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'"
|