Skip to main content

A client to the LimeSurvey Remote Control API 2, written in modern Python.

Project description

Citric

Project Health pre-commit.ci status Documentation Status codecov
Packaging PyPI version Python versions PyPI - Downloads Conda Version
Misc uv Ruff Nox License DOI

A client to the LimeSurvey Remote Control API 2, written in modern Python.

Features

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

citric-2.0.0.tar.gz (303.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

citric-2.0.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

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

Hashes for citric-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ffdd922884bdac3740765010b4ba6bc63a5a7cfb5d55591b4a72a284461df9ad
MD5 27708e82963f6ac5af93950387664888
BLAKE2b-256 8cd13c65d3f3fb6d6160406beccf8d732638dbc98185f5584e84ebf492996046

See more details on using hashes here.

Provenance

The following attestation bundles were made for citric-2.0.0.tar.gz:

Publisher: build.yml on edgarrmondragon/citric

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for citric-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5b66f5a26dae7fc19b09d0c2930702d83d118b53ba829761c7bcdeaa4c182fd
MD5 177c7c88d7f19b9a92d2d83a2b7a0a94
BLAKE2b-256 3105041bd562edcadf3bcfdaaba47f9cf921fd46149445813bb704c1d53a06ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for citric-2.0.0-py3-none-any.whl:

Publisher: build.yml on edgarrmondragon/citric

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page