semvec/pypi-packages huggingface dataset:
fogLedgerIota 1.0.3
Plugin to build DLTs in Fogbed.
Keywords: networking, emulator, protocol, Internet, dlt, iota, fog

Plugin to build DLT in Fogbed. Suport IOTA.         The FogLedger is a plugin for [Fogbed](https://github.com/larsid/FogLedger-Iota). It allows you to emulate a fog network with distributed ledgers.         Currently, FogLedger has suport for IOTA. IOTA is a groundbreaking cryptocurrency designed for the Internet of Things (IoT),         Offering feeless transactions and scalability for machine-to-machine communication.         Its unique Tangle ledger utilizes a directed acyclic graph (DAG) for efficient data transfer and decentralized consensus,         making it ideal for securing and facilitating microtransactions in IoT ecosystems.
pyclipdrop 1.0.1
The Python SDK for the Clipdrop API.
Requires Python: >=3.8

# PyClipdrop

Copyright © 2024 Minura Punchihewa

PyClipdrop is a Python library for interacting with the Clipdrop API. [Clipdrop](https://clipdrop.co/) is a service that allows you to perform a variety of tasks on images such removing the background, removing text, and more.

## Installation

### With pip

```
pip install pyclipdrop
```

## Usage

The library will first need to be configured with a Clipdrop API key. You can get an API key by signing up for the [Clipdrop API](https://clipdrop.co/apis). Once you have an API key, you can either set it to the `CLIPDROP_API_KEY` environment variable or pass it to the constructor of the `ClipdropClient` class.

```python
from pyclipdrop import ClipdropClient

client = ClipdropClient('your-api-key')
# OR, if you have the API key set as an environment variable
client = ClipdropClient()
```

This client can now be used to perform a variety of tasks.

### Cleanup

```python
client.cleanup(
    image_file='path/to/input.png',
    mask_file='path/to/mask.png',
    output_file='path/to/output.png'
)
```

### Image Upscaling

```python
client.image_upscaling(
    image_file='path/to/input.png',
    target_width=1920,
    target_height=1080,
    output_file='path/to/output.png'
)
```

### Portrait Depth Estimation

```python
client.portrait_depth_estimation(
    image_file='path/to/input.png',
    output_file='path/to/output.jpg'
)
```

### Portrait Surface Normals

```python
client.portrait_surface_normals(
    image_file='path/to/input.png',
    output_file='path/to/output.jpg'
)
```

### Reimagine

```python
client.reimagine(
    image_file='path/to/input.png',
    output_file='path/to/output.jpg'
)
```

### Remove Background

```python
client.remove_background(
    image_file='path/to/input.png',
    output_file='path/to/output.png'
)
```

### Remove Text

```python
client.remove_text(
    image_file='path/to/input.png',
    output_file='path/to/output.png'
)
```

### Replace Background

```python
client.replace_background(
    image_file='path/to/input.png',
    prompt='a cozy marble kitchen with wine glasses',
    output_file='path/to/output.png'
)
```

### Sketch to Image

```python
client.sketch_to_image(
    image_file='path/to/input.png',
    prompt='an owl on a branch, cinematic',
    output_file='path/to/output.jpg'
)
```

### Text Inpainting

```python
client.text_inpainting(
    image_file='path/to/input.png',
    mask_file='path/to/mask.png',
    prompt='A woman with a red scarf',
    output_file='path/to/output.jpg'
)
```

### Text to Image

```python
client.text_to_image(
    prompt='shot of vaporwave fashion dog in miami',
    output_file='path/to/output.png'
)
```

### Uncrop

```python
client.uncrop(
    image_file='path/to/input.png',
    extend_left=120,
    extend_right=-50,
    output_file='path/to/output.jpg'
)
```

## License

This code is licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.txt for details.