enables Pythonic access to data exports from TYPO3-find
Project description
txpyfind enables access to data exports from TYPO3-find in Python. Details on the TYPO3-find setup required for data exports can be found in the section Data export in the README file of that repository.
The three JSON formats json-all, json-solr-results and raw-solr-response are already available in the TYPO3 extension, see the partials used to create the three formats.
You can use the client class available in this Python package to query these exports. A simple parser for the returned JSON objects is also available.
Installation
… via PyPI
pip install txpyfind
… or from Github source
pip install git+https://github.com/slub/txpyfind.git
Usage Example
from txpyfind.client import Find
# create Find instance
slub_find = Find("https://katalog.slub-dresden.de", document_path="id", export_format="json-ld")
# retrieve JSON-LD data (detail view)
slub_ld_doc = slub_find.get_document("0-1132486122")
# retrieve JSON-LD data (query view)
slub_ld_q_default = slub_find.get_query("manfred bonitz")
# ...
See slubfind for a full setup example.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file txpyfind-0.1.1.tar.gz.
File metadata
- Download URL: txpyfind-0.1.1.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c83e407834c8cc3403d756d3cc72b206d8c4a3dec95955b67cd764a134d238fe
|
|
| MD5 |
06db04338cdae9a00faecacf8b9fdb92
|
|
| BLAKE2b-256 |
21a61186dedc73c252e7cb15e9b1419d3af47f0c03e6714a35f745b09277424b
|
File details
Details for the file txpyfind-0.1.1-py3-none-any.whl.
File metadata
- Download URL: txpyfind-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aebe4c3b43f26a019b0a44b49785cf8220748383a3cdcf52bf8f2b7c0c2bd52e
|
|
| MD5 |
b3b7ff2d48a692d807489511ccf8f2f7
|
|
| BLAKE2b-256 |
340de2ae05e74e26f90f7e79e3a654881c002c4243e06d920c8e74db2a707c5b
|