semvec/pypi-packages huggingface dataset:
vizlook 0.1.1
The official Python library for the Vizlook API
License: MIT
Requires Python: >=3.9

# Vizlook

The official Vizlook Python SDK.

## Install

```bash
pip install vizlook
```

## Usage

```python
from vizlook import Vizlook, AsyncVizlook

vizlook = Vizlook(api_key=os.environ.get("VIZLOOK_API_KEY"))
```

Performs a video search on the Vizlook system.

```python
response = vizlook.search(
    "how to be productive",
    max_results=5,
    start_published_date="2025-08-19T15:01:36.000Z",
    contain_spoken_text="a lot of people don't do a lot of things",
    contain_screen_text="I struggle a lot with like",
    include_transcription=True,
    include_summary=True,
)

print("response with original API field name: ", response.to_dict())
print("response with snake case field name: ", response.to_dict(use_api_field_name=False))
print("get field value with snake case key from pydantic model: ", response.results)
```

Generates an answer to a query.

```python
response = vizlook.answer("how to be productive", include_transcription=True)
```

Streams an answer to a query.

```python
stream = vizlook.stream_answer("how to be productive")
answer = ""

for chunk in stream:
    # response with original API key
    chunk_dict = chunk.to_dict()
    chunk_type = chunk_dict.get("type")

    if chunk_type == "answer-chunk":
        answer += chunk_dict.get("data", "")
    if chunk_type == "data-citations":
        print("Citations: ", chunk_dict.get("data").get("citations"))
    if chunk_type == "data-cost":
        print("Cost: ", chunk_dict.get("data").get("dollarCost"))
    if chunk_type == "error":
        print("Error: ", chunk_dict.get("data").get("errorText"))

print("Answer: ", answer)
```

Retrieves contents of videos based on specified URLs.

```python
response = vizlook.get_video_contents(
    "https://www.youtube.com/watch?v=QdBokRd2ahw",
    crawl_mode="Always",
    include_transcription=True,
    include_summary=True,
)
```

## Documentation

https://docs.vizlook.com

## API

https://docs.vizlook.com/documentation/api-reference/search

## Contributing

Feel free to submit pull requests. For larger-scale changes, though, it's best to open an issue first so we can deliberate on your plans.
wicked-print 0.2.0
Tiny utility that prints colorful strings one character at a time.
License: MIT
Requires Python: >=3.7
Keywords: print, terminal, typing, cli

# wicked_print

<p align="left">
  <img src="https://raw.githubusercontent.com/zergzzlun/wicked_print/refs/heads/main/assets/logo.png" alt="wicked_print logo" height="256" />
  <img src="https://raw.githubusercontent.com/zergzzlun/wicked_print/refs/heads/main/assets/example_01.gif" alt="wicked_print example" height="256" />
</p>

Tiny non-blocking "typewriter" and colorful printing for Python — render text character by character without slowing your code.

## Install

```
pip install wicked_print
```

## Usage

### Basic

```python
from wicked_print import wicked_print

wicked_print('Hello', 'world!', sep=', ', end='!\n')
wicked_print('Processing', perform_logging=True, print_interval=0.05)
wicked_print('Success', color='#ff0058')  # colour on TTYs
```

### API Reference

```python
from wicked_print import wicked_print, wicked_print_flush, configure_wicked_print
```

#### `wicked_print(*objects, end='\n', sep=' ', perform_logging=False, print_interval=0.015, color=None)`
- `*objects` (`Any`): values to render.
- `end` (`str`): terminator appended after the text.
- `sep` (`str`): inserted between each object.
- `perform_logging` (`bool`): emit the rendered text via `logging.info` when `True`.
- `print_interval` (`float`): per-character delay in seconds.
- `color` (`str | None`): named or hex colour applied on TTYs (e.g. `'red'`, `'#FF6600'`).

#### `wicked_print_flush(timeout=None)`
- `timeout` (`float | None`): seconds to wait for the queue to empty.

#### `configure_wicked_print(max_queue=None)`
- `max_queue` (`int | None`): positive integer cap for queued messages (`None` removes the cap).