semvec/pypi-packages huggingface dataset:
hf-download 1.0
A tool to download models from Hugging Face
Requires Python: >=3.6

# Hugging Face Downloader

A tool to download models from Hugging Face.

## Link to PyPI

You can find this package on PyPI: [hf_download](https://pypi.org/project/hf_download/)

## Installation

```bash
pip install hf_download
```

## Usage

```bash
hf_download user/repo filename
```

## Obtaining a Hugging Face Token

1. Go to the [Hugging Face website](https://huggingface.co/).
2. Log in to your account or create a new one.
3. Navigate to your profile settings.
4. Under the "Access Tokens" section, create a new token.
5. Copy the generated token.

Now, set the token as an environment variable:

## Setting Up Environment Variables

### Linux/MacOS

```bash
export HF_TOKEN=your_huggingface_token_here
```

### Windows

```cmd
set HF_TOKEN=your_huggingface_token_here
```
glglue 2.5.0
The glue code which mediates between OpenGL and some GUI
Requires Python: >=3.11

# glglue

- <https://ousttrue.github.io/glglue/>
- <https://pypi.python.org/pypi/glglue/>

The glue code which mediates between OpenGL and some GUI.
GUI イベント(resize, mouse, keyboard, repaint) を OpenGL に橋渡しする。

```
GUI                         OpenGL controller
+--------+                   +------------+
| win32  |--window resize--->| Update     |
| glut   |--mouse input----->| Update     |
| sdl    |--keyboard input-->| Update     |
| pyside6|                   |            |
| gtk3   |--repaint--------->| Draw       |
| gtk4   |                   +------------+
+--------+
```

And OpenGL utilities.

## Requirements

- Python 3.11

## status

| platform   | status | comment                                  |
| ---------- | ------ | ---------------------------------------- |
| win32      | ok     | windows11                                |
| glut       | ok     | windows11, PATH to freeglut64.vc.dll     |
| glfw       | ok     | windows11, pip install glfw              |
| gtk3       | ?      | require gtk3 self build                  |
| gtk4       | ok     | require gtk4 self build                  |
| sdl2       | ok     | windows11, pip install pysdl2 pysdl2-dll |
| qt6        | ok     | windows11, pip install pyside6           |
| pyopengltk | ok     | windows11, pip install pyopengltk        |

## upload

```sh
rm -rf dist
py -m build --sdist
twine upload dist/*
```
aily-code-sdk-core 0.1.0b6
Aily Code SDK Core
Requires Python: <4.0.0,>=3.8.1

# Aily Code SDK Core

## Development

开发时，需要在根目录中创建 `.env` 文件，填写如下内容：

```bash
AILY_SDK_LOCAL_DEBUG=true
AILY_SDK_CLIENT_ID=c_xxx
AILY_SDK_CLIENT_SECRET=cxxx
AILY_SDK_DOMAIN=https://ae-openapi.feishu-boe.cn/
```

然后通过 `python -m unitest` 命令通过执行单元测试来调试代码。

### Build

```bash
python -m build
```

### Upload

```bash
python -m twine upload dist/* --verbose
```
streamlit-avatar 0.1.3
Component to display avatar icon in Streamlit
Requires Python: >=3.7

# streamlit-avatar

Component to display avatar icon in Streamlit

![alt text](assets/image.png)

## Installation instructions

```sh
pip install streamlit-avatar
```

## Usage instructions

### Simple Usage

```python
import streamlit as st
from streamlit_avatar import avatar

result = avatar(
    [
        {
            "url": "https://picsum.photos/id/237/300/300",
            "size": 40,
            "title": "Sam",
            "caption": "hello",
            "key": "avatar1",
        },
        {
            "url": "https://picsum.photos/id/238/300/300",
            "size": 40,
            "title": "Bob",
            "caption": "happy",
            "key": "avatar2",
        },
        {
            "url": "https://picsum.photos/id/23/300/300",
            "size": 40,
            "title": "Rick",
            "caption": "Bye",
            "key": "avatar3",
        },
    ]
)
st.write(result)

""" Return
{
"title":"Sam"
"cption":"hello"
"key":"avatar1"
}
"""
```

### Using Base64

```python
import streamlit as st
from streamlit_avatar import avatar
import base64

def get_image_base64(image_path):
    with open(image_path, "rb") as image_file:
        return base64.b64encode(image_file.read()).decode("utf-8")

image_path = "assets/image.png"
image_base64 = get_image_base64(image_path)
image_url = f"data:image/png;base64,{image_base64}"

result = avatar(
    [
        {
            "url": image_url,
            "size": 40,
            "title": "Sam",
            "caption": "hello",
            "key": "avatar1",
        }
    ]
)
st.write(result)

```
clear-word-ar 0.0.1
Arabic text filtering for inappropriate words | تصفية النصوص العربية من الكلمات غير اللائقة
Keywords: python, text, filter, arabic, text filter, bad words, emoji removal, بايثون, نص, تصفية, عربي, تصفية النصوص, كلمات سيئة, إزالة الإيموجيات, تنظيف النصوص, تطبيق, تحليل نصوص, بيانات نصية


# Clear-Word-ar

مكتبة `Clear-Word-ar` هي مكتبة بايثون مفتوحة المصدر تستخدم لتصفية الكلمات غير اللائقة من النصوص العربية. تهدف هذه المكتبة إلى مساعدة المطورين على تحسين محتوى النصوص عن طريق إزالة الكلمات البذيئة والإيموجيات غير المرغوبة.

## الميزات

- إزالة الإيموجيات من النصوص
- إزالة الأحرف المتكررة
- إزالة الحركات: (كل الحركات، حذف الشدة، حذف التطويل، حذف الحركة الأخيرة)
- تصفية الكلمات البذيئة مع إرجاع `True` أو `False`

## التثبيت

لتثبيت المكتبة، يمكنك استخدام الأمر التالي:

```bash
pip install clear-word-ar
```
## مثال

```
from clearAR import Word

text = "هذا النص لا يحتوي كلمات غير لائقة"

if Word.BadWord(text):
    print("النص يحتوي على كلمات غير لائقة")
else:
    print("النص خالٍ من الكلمات غير لائقة")
```
`output : النص خالٍ من الكلمات غير لائقة `