citric-0.7.1b1
توضیحات
A client to the LimeSurvey Remote Control API 2, written in modern Python.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | citric-0.7.1b1 |
| نام | citric |
| نسخه کتابخانه | 0.7.1b1 |
| نگهدارنده | ['Edgar Ramírez-Mondragón'] |
| ایمیل نگهدارنده | ['edgarrm358@gmail.com'] |
| نویسنده | Edgar Ramírez-Mondragón |
| ایمیل نویسنده | edgarrm358@gmail.com |
| آدرس صفحه اصلی | https://github.com/edgarrmondragon/citric |
| آدرس اینترنتی | https://pypi.org/project/citric/ |
| مجوز | MIT |
<div align="center">
# Citric
<div>
<a href="https://github.com/edgarrmondragon/citric/actions?workflow=Tests">
<img alt="Tests" src="https://github.com/edgarrmondragon/citric/workflows/Tests/badge.svg"/>
</a>
<a href="https://results.pre-commit.ci/latest/github/edgarrmondragon/citric/main">
<img alt="pre-commit.ci status" src="https://results.pre-commit.ci/badge/github/edgarrmondragon/citric/main.svg"/>
</a>
<a href="https://github.com/edgarrmondragon/citric/blob/main/LICENSE">
<img alt="License" src="https://img.shields.io/github/license/edgarrmondragon/citric"/>
</a>
<a href="https://citric.readthedocs.io/en/latest/?badge=latest">
<img alt="Documentation Status" src="https://readthedocs.org/projects/citric/badge/?version=latest"/>
</a>
<a href="https://codecov.io/gh/edgarrmondragon/citric">
<img alt="codecov" src="https://codecov.io/gh/edgarrmondragon/citric/branch/main/graph/badge.svg"/>
</a>
<a href="https://app.fossa.com/projects/git%2Bgithub.com%2Fedgarrmondragon%2Fcitric?ref=badge_shield">
<img alt="FOSSA Status" src="https://app.fossa.com/api/projects/git%2Bgithub.com%2Fedgarrmondragon%2Fcitric.svg?type=shield"/>
</a>
</div>
<div>
<a href="https://pypi.org/project/citric">
<img alt="PyPI version" src="https://img.shields.io/pypi/v/citric.svg?color=blue"/>
</a>
<a href="https://pypi.org/project/citric">
<img alt="Python versions" src="https://img.shields.io/pypi/pyversions/citric.svg"/>
</a>
<a href="https://pypi.org/project/citric">
<img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/citric?color=blue"/>
</a>
<a href="https://pypi.org/project/citric">
<img alt="PyPI - Format" src="https://img.shields.io/pypi/format/citric"/>
</a>
</div>
<div>
<a href="https://github.com/edgarrmondragon/citric/search?l=python">
<img alt="GitHub languages" src="https://img.shields.io/github/languages/top/edgarrmondragon/citric">
</a>
<img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/edgarrmondragon/citric">
<a href="https://github.com/edgarrmondragon/citric/stargazers">
<img alt="GitHub stars" src="https://img.shields.io/github/stars/edgarrmondragon/citric">
</a>
<a href="https://github.com/edgarrmondragon/citric/commits/main">
<img alt="Github last-commit" src="https://img.shields.io/github/last-commit/edgarrmondragon/citric"/>
</a>
</div>
A client to the [LimeSurvey Remote Control API 2](https://manual.limesurvey.org/RemoteControl_2_API), written in modern
Python.
</div>
## Features
- Supports the full RPC API via the [`Session` class](https://citric.readthedocs.io/en/latest/_api/citric/session/index.html#citric.session.Session).
- Best effort to implement all the RPC methods in the [`Client` class](https://citric.readthedocs.io/en/latest/_api/citric/client/index.html#citric.client.Client). See the [API coverage page](https://citric.readthedocs.io/en/latest/rpc_coverage.html) for details.
- Easily export survey data to CSV files, [Pandas DataFrames](https://citric.readthedocs.io/en/latest/how-to.html#export-responses-to-a-pandas-dataframe) and [DuckDB databases](https://citric.readthedocs.io/en/latest/how-to.html#export-responses-to-a-duckdb-database-and-analyze-with-sql).
- Easily [download survey files](https://citric.readthedocs.io/en/latest/how-to.html#get-files-uploaded-to-a-survey-and-move-them-to-s3) (e.g. images, audio, etc.) to a local directory.
## Installation
```console
$ pip install citric
```
## Usage
```python
from citric import Client
with Client(
"https://mylimesite.limequery.com/admin/remotecontrol",
"myusername",
"mypassword",
) as client:
for survey in client.list_surveys():
print(survey["surveyls_title"])
```
## Documentation
Code samples and API documentation are available at [citric.readthedocs.io](https://citric.readthedocs.io/).
## Contributing
If you'd like to contribute to this project, please see the [contributing guide](https://citric.readthedocs.io/en/latest/contributing/getting-started.html).
## Credits
- [Claudio Jolowicz][claudio] and [his amazing blog post][hypermodern].
[claudio]: https://twitter.com/cjolowicz/
[hypermodern]: https://cjolowicz.github.io/posts/hypermodern-python-01-setup/
## License
[](https://app.fossa.com/projects/git%2Bgithub.com%2Fedgarrmondragon%2Fcitric?ref=badge_large)
نیازمندی
| مقدار | نام |
|---|---|
| >=2023.3.27,<2024.0.0 | furo |
| >=1.6 | importlib_metadata |
| >=1.0.0,<2.0.0 | myst-parser |
| >=2.23.0,<3.0.0 | requests |
| <7 | sphinx |
| >=2.1.0,<3.0.0 | sphinx-autoapi |
| >=2021.3.14,<2022.0.0 | sphinx-autobuild |
| >=1.22,<2.0 | sphinx-autodoc-typehints |
| >=0.5.1,<0.6.0 | sphinx-copybutton |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7.0,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl citric-0.7.1b1:
pip install citric-0.7.1b1.whl
نصب پکیج tar.gz citric-0.7.1b1:
pip install citric-0.7.1b1.tar.gz