semvec/pypi-packages huggingface dataset:
abstract-logins 0.0.0.24
The `abstract_apis` module is designed to facilitate HTTP requests in Python applications, particularly those that require handling JSON data, dealing with custom API endpoints, and parsing complex nested JSON responses. The module simplifies request handling by abstracting away common tasks such as header management, URL construction, and response parsing.
Requires Python: >=3.6

# Unknown Package (vUnknown Version)

No description available

## Installation

```bash
pip install Unknown Package
```

## Dependencies

None

## Modules

### src/abstract_apis/async_make_request.py

Description of script based on prompt: You are analyzing a Python script 'async_make_requ (mock response)

### src/abstract_apis/make_request.py

Description of script based on prompt: You are analyzing a Python script 'make_request.py (mock response)

### src/abstract_apis/api_tests/solana/body_get.py

Description of script based on prompt: You are analyzing a Python script 'body_get.py' lo (mock response)

### src/abstract_apis/api_tests/solana/get_api_window.py

Description of script based on prompt: You are analyzing a Python script 'get_api_window. (mock response)

### src/abstract_apis/api_tests/solana/solana_rpc_client.py

Description of script based on prompt: You are analyzing a Python script 'solana_rpc_clie (mock response)

### src/abstract_apis/abstract_api_calls.py

Description of script based on prompt: You are analyzing a Python script 'abstract_api_ca (mock response)

### src/abstract_apis/api_tests/solana/variables.py

Description of script based on prompt: You are analyzing a Python script 'variables.py' l (mock response)

### src/abstract_apis/rpcCalls.py

Description of script based on prompt: You are analyzing a Python script 'rpcCalls.py' lo (mock response)

### src/abstract_apis/dbQuery.py

Description of script based on prompt: You are analyzing a Python script 'dbQuery.py' loc (mock response)

### src/abstract_apis/request_utils.py

Description of script based on prompt: You are analyzing a Python script 'request_utils.p (mock response)

### src/abstract_apis/__init__.py

Description of script based on prompt: You are analyzing a Python script '__init__.py' lo (mock response)
agg-python-bindings 0.1.4
Python bindings for the Rust graph library 'agg'
Requires Python: >=3.8

# Asciinema Agg Python Bindings

This is a Python binding for [agg](https://github.com/asciinema/agg) which is a command line tool for converting asciinema recordings into GIF video files.

It requires a modified version of agg (by making some modules public), which is included in this repository at `local_cargo_registry/agg`.

## Installation

From PyPI:

```bash
pip install agg-python-bindings
```

From GitHub:

```bash
pip install git+https://github.com/james4ever0/agg-python-bindings.git
```

Source install:

```bash
git clone https://github.com/james4ever0/agg-python-bindings.git
cd agg-python-bindings
pip install .
```

## Usage

```python
import agg_python_bindings

asciicast_filepath = "asciinema.cast"

# Load asciicast file from path, save terminal screenshots separated by frame_time_min_spacing (seconds) to png_write_dir
# Output png filename format: "{png_filename_prefix}_{screenshot_timestamp}.png"
agg_python_bindings.load_asciicast_and_save_png_screenshots(
    asciicast_filepath, # required, path to asciicast file (input)
    png_write_dir=".", # optional
    png_filename_prefix="screenshot", # optional
    frame_time_min_spacing=1.0 # optional
)

# Create a virtual terminal, feed string into it, then get states and take a screenshot
test_input = 'Hello from \x1B[1;3;31mxterm.js\x1B[0m $ '
screenshot_path = "terminal_screenshot.png"
terminal = agg_python_bindings.TerminalEmulator(80, 25)
changed = terminal.feed_str(test_input)
terminal_dump = terminal.text_raw()
cursor_states = terminal.get_cursor()
width, height, success = terminal.screenshot(screenshot_path)

# print a cybergod style terminal text dump with cursor
for index, it in enumerate(terminal_dump):
    if index == cursor_states[1]:
        it = it[:cursor_states[0]] +"
"+it[cursor_states[0]:]
    print(">", it)
```