Skip to main content

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

Project description

Citric

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

Features

Integration tests

Integration tests are run against a LimeSurvey instance, and both PostgreSQL and MySQL backends, using Docker Compose. The following versions of LimeSurvey were tested for this release:

Installation

$ pip install 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-0.10.0.post2.tar.gz (181.9 kB view details)

Uploaded Source

Built Distribution

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

citric-0.10.0.post2-py3-none-any.whl (26.4 kB view details)

Uploaded Python 3

File details

Details for the file citric-0.10.0.post2.tar.gz.

File metadata

  • Download URL: citric-0.10.0.post2.tar.gz
  • Upload date:
  • Size: 181.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for citric-0.10.0.post2.tar.gz
Algorithm Hash digest
SHA256 051d9caffb72238276e348dac511d9b504b8ea58300eccb003aa8971fc44f238
MD5 89927be5f311392c4bb6f5ef164d00e4
BLAKE2b-256 990a57be2cc7ba7251f243152ed84d48bcc0fb3d02610b7e3a1db4bda8234c3b

See more details on using hashes here.

File details

Details for the file citric-0.10.0.post2-py3-none-any.whl.

File metadata

  • Download URL: citric-0.10.0.post2-py3-none-any.whl
  • Upload date:
  • Size: 26.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for citric-0.10.0.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 d0b11c108f3f989de2390badf7e83f35570ed6b1a404dd08f26af3d8d81c655d
MD5 44bf2bfe4a8edb2983bebbf7b6b28516
BLAKE2b-256 9df0f74e41d9dbd623ce5e3acafb2ae1567474fb19c896cf2fab3159e3d7f616

See more details on using hashes here.

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