Skip to main content

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

Project description

Citric

Project Health 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

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.2.0.tar.gz (206.8 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.2.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

Details for the file citric-2.2.0.tar.gz.

File metadata

  • Download URL: citric-2.2.0.tar.gz
  • Upload date:
  • Size: 206.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for citric-2.2.0.tar.gz
Algorithm Hash digest
SHA256 fdddc22dc23889ab02e92c67ceace8401d182d4739fc418da5220e2de150e4b3
MD5 896b480b38d65083faaf8cb1df3d4d7e
BLAKE2b-256 ba5907970ff22862075e5e0c661cc7809e7430fc559a461599906870815f2dca

See more details on using hashes here.

Provenance

The following attestation bundles were made for citric-2.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: citric-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for citric-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b29d128390dbc78b8a51cc86f70a9547c8382f82f7be37e92aa1d81e62ce903
MD5 90b21b7d8429129ef86a539afcbac69e
BLAKE2b-256 7743bc3692e40e2c77f3ffeb992b09d40e343d72b6114d1af427d17ddd0a3d83

See more details on using hashes here.

Provenance

The following attestation bundles were made for citric-2.2.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