Skip to main content

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/herreio/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

txpyfind-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

txpyfind-0.1.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file txpyfind-0.1.0.tar.gz.

File metadata

  • Download URL: txpyfind-0.1.0.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

Hashes for txpyfind-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c9090c1c3ecf99f4cfdc7b20ab180695e5b20be81f52d2a4c9274c1716ec344d
MD5 0d918797a02bfa8a51c2032396b54f8b
BLAKE2b-256 68c6bfbceebe6067e15967a1d7c9fbffd13c12a5de0687a13c398890b3653b07

See more details on using hashes here.

File details

Details for the file txpyfind-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: txpyfind-0.1.0-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

Hashes for txpyfind-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c70c261551c3eac84ae2a6a05e795d87249191c9e5178e67091e36f68bc9afa
MD5 f25ff5a14fad59331e976b1832f900c2
BLAKE2b-256 0b06d728fb67934bcef723bc4282b820cbc6b6833978b600b57fe817a54b278b

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