semvec/pypi-packages huggingface dataset:
nukat 1.0.0
Python client for searching the NUKAT library catalog
License: MIT
Requires Python: >=3.8
Keywords: nukat, library, catalog, search, bibliographic

# Nukat

<p align="center">
  <img src="nukat-logo.png" alt="NUKAT Logo" width="400">
</p>

[![CI](https://github.com/kupolak/nukat/actions/workflows/ci.yml/badge.svg)](https://github.com/kupolak/nukat/actions/workflows/ci.yml)
[![Python Version](https://img.shields.io/pypi/pyversions/nukat.svg)](https://pypi.org/project/nukat/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

Python client for the NUKAT library catalog.

## Installation

```bash
pip install nukat
```

## Usage

### Command line

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

### Python

```python
from nukat import Nukat

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

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

## Search options

```python
# 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

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

## License

MIT
hytale-api 2.0.0
A library for interaction with the Hytale API.
License: MIT
Requires Python: >=3.9
Keywords: hytale, api, game

# hytale-api

Unofficial Python library for interacting with the Hytale API.

⚠️ **This library is unofficial and based on publicly discovered endpoints.**

Hytale is set to release on the 13th of January and I hope more _documented_ and more useful endpoints can be added.

## Get Started

### Installation

```bash
pip install hytale-api
```

OR

```bash
pip install git+https://github.com/DRagssss/hytale-api.git
```

### Example Use

This package consists of some endpoints that do not need any authorization (since they are basic information which are accessible on the Hytale website) so it's extremely easy to use.

Get excerpts of the latest 3 blogs.

```Python
from hytale import get_blogs

blogs = get_blogs()  # limit defaults to 3

for blog in blogs:
    print(blog.bodyExcerpt)  # first couple sentences of body
```

You can also get the entire HTML body of a singular blog.

```Python
from hytale import get_blog

slug = "hytale-s-1st-faq"  # this will get the blog from https://hytale.com/news/2025/12/hytale-s-1st-faq
blog = get_blog(slug)

print(blog.body)  # very long HTML content
```

All endpoints to do with accounts such as username reservations and game profiles require a logged-in user to access them. This is checked by the accounts API using the "ory_kratos_session" cookie value. To get this follow the steps below.

1. Login at https://hytale.com and then open dev tools in your browser (shortcut Ctrl-Shift-C.)
2. Navigate to the **Application** or **Storage** and then go to **Cookies**.
3. Go to cookies under the URL https://accounts.hytale.com.
4. Copy the value of the ory_kratos_session cookie.

This is how the AccountClient object is used.

```py
from hytale import AccountClient

client = AccountClient("YOUR_SESSION_COOKIE_VALUE")

available = client.get_available("MrBeast")  # check if the MrBeast username is available (example)
```