Metadata-Version: 2.1
Name: tuchuang
Version: 5.0.0
Summary: 一个免费而简单图床(喜欢就关注:python学霸微信公众号)
Home-page: UNKNOWN
Author: Python学霸
Author-email: python@xueba.com
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
Requires-Dist: requests

### 介绍

TuChuang是一个基于SunPics开发的免费图床库，可以上传图片并获取图片链接。
TuChuang is a free image hosting library based on SunPics. It allows users to upload images and obtain the corresponding image links.

### 安装

使用以下命令通过pip安装图床库：

```
pip install tuchuang
```

### 示例

以下是使用图床库上传图片并获取图片链接的简单示例：

```python
from tuchunag import upload

file_path = input("请输入文件名或目录：")
image_url = upload.upload_image(file_path)

if image_url:
    print("上传成功")
    print("图片链接：" + image_url)
else:
    print("上传失败")
```

这段代码示例通过调用`upload_image`函数上传图片，并打印出上传结果和图片链接。

