Skip to main content

Python client for searching the NUKAT library catalog

Project description

Nukat

NUKAT Logo

CI Python Version License: MIT

Python client for the NUKAT library catalog.

Installation

pip install nukat

Usage

Command line

nukat "Python programming"
nukat "Ireneusz Kania" --all
nukat 48685 --id

Python

from nukat import Nukat

client = Nukat()
results = client.search("Python programming")

for result in results:
    print(result['title'], result.get('author'))

Search options

# Basic search
client.search("Python", limit=50)

# Search all pages
client.search_all("Ireneusz Kania")

# Filters
client.search("AI", year_from=2020, year_to=2024, language="eng")

# Convenience methods
client.search_by_author("Kowalski Jan")
client.search_by_title("Python in practice")
client.search_by_isbn("978-83-246-1234-5")

# Get full record
client.get_record_details("48685")

Development

git clone https://github.com/kupolak/nukat.git
cd nukat
pip install -e ".[dev]"
pytest

License

MIT

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

nukat-1.0.0.tar.gz (97.4 kB view details)

Uploaded Source

Built Distribution

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

nukat-1.0.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file nukat-1.0.0.tar.gz.

File metadata

  • Download URL: nukat-1.0.0.tar.gz
  • Upload date:
  • Size: 97.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for nukat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b7b4fac4d7f2801588cab3ad60645f2b4134fa752686393827333a0e8dcfd555
MD5 52fd4b8d730d5afcb2afb8b830d1f364
BLAKE2b-256 7913f5b842211b764ca96e3efb58991d8e2bab70d28c5fb760c4d37050b40a88

See more details on using hashes here.

File details

Details for the file nukat-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nukat-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.11

File hashes

Hashes for nukat-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a279c3c651ab583582d796ff676032f20f40158eb99c122236959ee1d256f911
MD5 5896289217ae367035cbd8a675f7b986
BLAKE2b-256 b31022c528a1b751c6e09b2837acd66705cc25c4c33d6a12f7a7f6942a973dd7

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