Python client for searching the NUKAT library catalog
Project description
Nukat
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
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
nukat-1.0.0.tar.gz
(97.4 kB
view details)
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
nukat-1.0.0-py3-none-any.whl
(7.9 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7b4fac4d7f2801588cab3ad60645f2b4134fa752686393827333a0e8dcfd555
|
|
| MD5 |
52fd4b8d730d5afcb2afb8b830d1f364
|
|
| BLAKE2b-256 |
7913f5b842211b764ca96e3efb58991d8e2bab70d28c5fb760c4d37050b40a88
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a279c3c651ab583582d796ff676032f20f40158eb99c122236959ee1d256f911
|
|
| MD5 |
5896289217ae367035cbd8a675f7b986
|
|
| BLAKE2b-256 |
b31022c528a1b751c6e09b2837acd66705cc25c4c33d6a12f7a7f6942a973dd7
|