semvec/pypi-packages huggingface dataset:
search-image-scraper 1.1.0
A package for downloading images from Google search.
Requires Python: >=3.8

this package takes a query,number of images,dictionary destination path,chromdriver path and unwanted keywords as arguments, searches the query, and attempts to download every valid image for the query until it reaches the required number of images.
A valid image is one that has the query in either the alt text or data lpage elements in it's html, and doesn't have any unwanted keyword in those elements, also, it must be bigger than 100x100 in size, the code uses regex to handle the filtering and checks in the elements.
To ensure no images missed, the automation scrolls down until the end of the page/until target is met, and when reaches the end, recognizes and stops.
httpx-openapi-gen 0.1.0
A Python client for OpenAPI specifications using httpx
Requires Python: >=3.7

# OpenAPI Client for Python

A Python implementation inspired by [openapi-client-axios](https://github.com/openapistack/openapi-client-axios) that provides a dynamic client for OpenAPI specifications. This implementation uses httpx for HTTP requests and Python's metaprogramming capabilities to dynamically generate a client.

## Installation

```bash
pip install -e .
```

## Usage

```python
from openapiclient import OpenAPIClient
import asyncio

async def main():
    # Initialize the client with the OpenAPI definition
    api = OpenAPIClient(definition="https://petstore3.swagger.io/api/v3/openapi.json")

    try:
        # Initialize and get the dynamic client
        client = await api.init()

        # Call an operation using the generated method
        response = await client.getPetById(petId=1)

        # Print the response
        print(f"Status code: {response['status']}")
        print(f"Pet data: {response['data']}")
    finally:
        # Close the HTTP session
        await api.close()

if __name__ == "__main__":
    asyncio.run(main())
```

## Features

- Dynamic client generation using Python metaprogramming
- Supports OpenAPI 3.0 and 3.1
- Supports JSON and YAML specification formats
- Supports specification loading from URL, file, or dictionary
- Asynchronous API using httpx
- Response format similar to axios (data, status, headers, config)

## Author
lloydzhou (2025-02-27)