A client to the LimeSurvey Remote Control API 2, written in modern Python.
Project description
Citric
| Project Health |
|
| Packaging |
|
| Misc |
|
A client to the LimeSurvey Remote Control API 2, written in modern Python.
Features
- Supports the full RPC API via the
Sessionclass. - Best effort to implement all the RPC methods in the
Clientclass. See the API coverage page for details. - Easily export survey data to CSV files, Pandas DataFrames and DuckDB databases.
- Easily download survey files (e.g. images, audio, etc.) to a local directory.
- Tested against LimeSurvey 6.0.0+ and 5.0.0+ versions.
- Experimental support for the new REST API.
Installation
# PyPI
pip install citric
# or conda
conda install -c conda-forge citric
Usage
from citric import Client
# Connect to your LimeSurvey instance
client = Client(
"https://mylimesite.limequery.com/admin/remotecontrol",
"myusername",
"mypassword",
)
# Print the LimeSurvey version
print(client.get_server_version())
# Print every survey's title
for survey in client.list_surveys():
print(survey["surveyls_title"])
Documentation
Code samples and API documentation are available at citric.readthedocs.io.
Contributing
If you'd like to contribute to this project, please see the contributing guide.
Credits
- The LimeSurvey team for providing a great survey platform.
- Markus Opolka for maintaining a very robust set of LimeSurvey Docker images.
- Claudio Jolowicz and his amazing blog post.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file citric-2.0.0.tar.gz.
File metadata
- Download URL: citric-2.0.0.tar.gz
- Upload date:
- Size: 303.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffdd922884bdac3740765010b4ba6bc63a5a7cfb5d55591b4a72a284461df9ad
|
|
| MD5 |
27708e82963f6ac5af93950387664888
|
|
| BLAKE2b-256 |
8cd13c65d3f3fb6d6160406beccf8d732638dbc98185f5584e84ebf492996046
|
Provenance
The following attestation bundles were made for citric-2.0.0.tar.gz:
Publisher:
build.yml on edgarrmondragon/citric
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
citric-2.0.0.tar.gz -
Subject digest:
ffdd922884bdac3740765010b4ba6bc63a5a7cfb5d55591b4a72a284461df9ad - Sigstore transparency entry: 621023531
- Sigstore integration time:
-
Permalink:
edgarrmondragon/citric@f8fafa62b9c86526b1a8622dd997fadb04a01223 -
Branch / Tag:
refs/tags/2.0.0 - Owner: https://github.com/edgarrmondragon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@f8fafa62b9c86526b1a8622dd997fadb04a01223 -
Trigger Event:
push
-
Statement type:
File details
Details for the file citric-2.0.0-py3-none-any.whl.
File metadata
- Download URL: citric-2.0.0-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5b66f5a26dae7fc19b09d0c2930702d83d118b53ba829761c7bcdeaa4c182fd
|
|
| MD5 |
177c7c88d7f19b9a92d2d83a2b7a0a94
|
|
| BLAKE2b-256 |
3105041bd562edcadf3bcfdaaba47f9cf921fd46149445813bb704c1d53a06ae
|
Provenance
The following attestation bundles were made for citric-2.0.0-py3-none-any.whl:
Publisher:
build.yml on edgarrmondragon/citric
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
citric-2.0.0-py3-none-any.whl -
Subject digest:
c5b66f5a26dae7fc19b09d0c2930702d83d118b53ba829761c7bcdeaa4c182fd - Sigstore transparency entry: 621023532
- Sigstore integration time:
-
Permalink:
edgarrmondragon/citric@f8fafa62b9c86526b1a8622dd997fadb04a01223 -
Branch / Tag:
refs/tags/2.0.0 - Owner: https://github.com/edgarrmondragon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@f8fafa62b9c86526b1a8622dd997fadb04a01223 -
Trigger Event:
push
-
Statement type: