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

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.1.1.tar.gz (202.4 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.1.1-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for citric-2.1.1.tar.gz
Algorithm Hash digest
SHA256 4d71ab3db66ace638e8d043ff80bee95524e3bb57aa07c40e2da0a86b2b93e5e
MD5 ad5839d46b951c2c48ad2e7fd69564ee
BLAKE2b-256 0561c4fefef580942453b9eaeb877a2e6f3283a66a1baaae4fbe99f51ebfdd7e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: citric-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 29.5 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62bc18bbdb206f85669ee75acb126b33c610a8447bff13c6ae9d5dd2664b97eb
MD5 4fa07bc25079087468d866f439211f4c
BLAKE2b-256 5ce27f72d7245d31b6b41223297ffc484bd013a96753ec551e09a91c374e24f8

See more details on using hashes here.

Provenance

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