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 Ruff Nox Hatch project License DOI
OpenSSF Scorecard

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-1.0.1a4.tar.gz (185.5 kB view details)

Uploaded Source

Built Distribution

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

citric-1.0.1a4-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file citric-1.0.1a4.tar.gz.

File metadata

  • Download URL: citric-1.0.1a4.tar.gz
  • Upload date:
  • Size: 185.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for citric-1.0.1a4.tar.gz
Algorithm Hash digest
SHA256 bb291248e8366e29e42a5808ee57eae7f7f6f659ece832e6b071f55bb83e5c72
MD5 977de9c7f8fc1d70152ee268cd0dbf0c
BLAKE2b-256 bf12a0659e739c6fdb1e57bd94e3455e790bc9dcc331a7a52c5d1e31b598ca3b

See more details on using hashes here.

File details

Details for the file citric-1.0.1a4-py3-none-any.whl.

File metadata

  • Download URL: citric-1.0.1a4-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for citric-1.0.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 3a4a840f460fb49b31faede7190687eac47fcbf26f712cb355368167b1b3b1c7
MD5 b8e341079af80847e80671a2aa90b4a8
BLAKE2b-256 c8e65d201bd3e049fe211a7c9f03dafb8210c35ad63577f3d7ff925b0379f6a3

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