Metadata-Version: 2.1
Name: yuquedd
Version: 1.0.2
Summary: Tool for converting yuque.com knowledge base documents to markdown documents.
Home-page: https://github.com/gupingan/yuquedd
License: MIT
Author: gupingan
Author-email: g332920287@foxmail.com
Requires-Python: >=3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: lakedoc (>=1.0.4,<2.0.0)
Requires-Dist: lxml (>=5.2.2,<6.0.0)
Requires-Dist: requests (>=2.32.3,<3.0.0)
Project-URL: Documentation, https://github.com/gupingan/yuquedd
Project-URL: Repository, https://github.com/gupingan/yuquedd
Description-Content-Type: text/markdown

<p align="center">
  <h3 align="center">欢迎来到 YuQueDD</h3>
  <p align="center">
    <a href="https://github.com/gupingan/yuquedd/main.py">查看Demo</a>
    ·
    <a href="https://github.com/gupingan/yuquedd/issues">报告Bug</a>
    ·
    <a href="https://github.com/gupingan/yuquedd/issues">提出新特性</a>
  </p>
</p>

<p align="center">
  <img src="https://img.shields.io/badge/language-python-brightgreen" alt="Language">
  <a href="https://github.com/gupingan/yuquedd/graphs/contributors">
    <img src="https://img.shields.io/github/contributors/gupingan/yuquedd.svg" alt="Contributors">
  </a>
  <a href="https://github.com/gupingan/yuquedd/network/members">
    <img src="https://img.shields.io/github/forks/gupingan/yuquedd.svg?style=flat" alt="Forks">
  </a>
  <a href="https://github.com/gupingan/yuquedd/stargazers">
    <img src="https://img.shields.io/github/stars/gupingan/yuquedd.svg?style=flat" alt="Stargazers">
  </a>
  <a href="https://github.com/gupingan/yuquedd/issues">
    <img src="https://img.shields.io/github/issues/gupingan/yuquedd.svg" alt="Issues">
  </a>
  <a href="https://github.com/gupingan/yuquedd/blob/master/LICENSE">
    <img src="https://img.shields.io/github/license/gupingan/yuquedd.svg" alt="MIT License">
  </a>
</p>

## 目录

- [简述](#简述)
- [安装模块](#安装模块)
  - [本地](#1-本地)
  - [网络](#2-网络)
- [快速使用](#快速使用)

## 简述

`yuquedd` 是一个基于 `Python` 开发、可以将语雀的公共知识库 `html` 文档转为 `markdown` 文档格式的工具，尽管无法百分百还原，但是已经足够使用。

注意：本项目采用 MIT 许可证。请查看 [LICENSE](https://github.com/gupingan/yuquedd/blob/main/LICENSE) 文件以了解更多信息。

> 本项目为开源项目，仅供学习研究使用，如若商用或者其他用途，请使用其他模块，使用本模块产生的任何纠纷与作者无关。
>
> 如该项目侵犯到贵司或组织的相关权益，请尽快联系我删除。


## 安装模块

### 1. 本地

如果您不想从源代码安装，您可以直接安装发布到 GitHub Releases 页面的打包版本。

首先，下载最新的发布包 `yuquedd-x.x.x.tar.gz` 从 [GitHub Releases](https://github.com/gupingan/yuquedd/releases) 页面。

接着，您可以使用 pip 等包管理工具来安装下载的 `.tar.gz` 文件：

```bash
pip install ./yuquedd-x.x.x.tar.gz
```

其中 `x.x.x` 为您下载 `.tar.gz` 文件确版本，并确保指定安装包文件路径是正确的。

### 2. 网络

```bash
pip install yuquedd
```

假如上述命令执行后发生了一些错误，可以选择使用`pip3`命令或者添加镜像源等等方式解决。

## 快速使用

安装完本模块后，您可以按照以下方式使用 `yuquedd`：

```bash
# 在任意终端位置，使用下述命令
yuquedd <url>  # 其中 url 形如：https://www.yuque.com/.../.../...
```

或者，新建一个 python 文件：

```python
import yuquedd

yuquedd.cli_execute(('https://www.yuque.com/.../.../...',))
```


