semvec/pypi-packages huggingface dataset:
facefusionlib 1.1.2
Face swapper and enhancer
Requires Python: <3.13,>=3.9
Keywords: face, swapper

# FaceFuison Python Lib

[FaceFusion](https://github.com/facefusion/facefusion) is a very nice face swapper and enhancer.

## Requirements
```
python: >=3.9
```

## Installation

CPU support:
```
pip install facefusionlib
```

GPU support:

First of all, you need to check if your system supports the `onnxruntime-gpu`.

Go to [https://onnxruntime.ai](https://onnxruntime.ai) and check the installation matrix.

![Preview](https://raw.githubusercontent.com/IAn2018cs/sd-webui-facefusion/dev/.github/onnxruntime-installation-matrix.png)

If yes, just run:

```
pip install facefusionlib[gpu]
```

## Usage

```python
from facefusionlib import swapper
from facefusionlib.swapper import DeviceProvider

input_path = 'input.png'
target_path = 'target.png'

result = swapper.swap_face(
		source_paths=[input_path],
		target_path=target_path,
		provider=DeviceProvider.CPU,
		detector_score=0.65,
		mask_blur=0.7,
		skip_nsfw=True,
        landmarker_score=0.5
	)
print(result)
```
cvtools-python 0.0.1
A small tool package
Requires Python: >=3.6

# cv工具包
## 

# 代码说明

1. labels_tool:
    - auto_label.py 自动打标工具，目前仅支持yolov5/yolov8
    - py_tools.py 常用的脚本，如修改label编号，xml2txt等等
    - todo ......
2. infer:
    - 主要的推理工具，包括openvino，trt等
    - todo ......
3. models:
    - 常用模型以及对模型的改进
    - todo ......

## 

# 使用方案

1. pip install pycvtool
2. from pycvtool import *

 ## 
 
 # 博客地址
https://github.com/1402091247/pytools

Please drop your suggestions on 1402091247@qq.com
coingecko-module 0.2.0
A Python wrapper for the CoinGecko API
Keywords: coingecko cryptocurrency api wrapper

# CoinGeckoAPI

The `CoinGeckoAPI` class provides a simple interface for accessing cryptocurrency prices from the CoinGecko API.

## Initialization

To create a new instance of the `CoinGeckoAPI` class, you can optionally specify the `base_url` parameter. If not specified, the default base URL is `https://api.coingecko.com/api/v3/`.

```
api = CoinGeckoAPI(base_url='https://api.coingecko.com/api/v3/)
```
## Methods

`get_price_current(coin_id)`
This method retrieves the current price of a cryptocurrency based on its `coin_id`.
get_volume_current and get_marketcap_current are similar and accepts the same Parameters

```Parameters
coin_id (str): The ID of the cryptocurrency, as defined by CoinGecko.
Returns The current price of the cryptocurrency in USD (float).
```
`get_coins()`
This method retrieves list of coins on coingecko on current date

```Parameters
This method do not need any Parameters
```
`all_price_data_daily(self,coin_id,days='max'`

This method retrieves price data for a particular coin based on its `coin_id` and `days`.
days is max by default and both the parameters are `str`.
`all_volume_data_daily` and `all_marketcap_data_daily` does the same for volume and marketcap respectively.

```Parameters
coin_id (str): The ID of the cryptocurrency, as defined by CoinGecko.
days (str): Number of days for which you want to retrieve the data.
Returns a list of all price.
```