Metadata-Version: 2.4
Name: python-quark
Version: 0.0.0
Summary: Python quark webdisk client.
License: MIT
License-File: LICENSE
Keywords: quark,webdisk,client
Author: ChenyangGao
Author-email: wosiwujm@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: httpx_request (>=0.1.9.1)
Requires-Dist: python-dicttools (>=0.0.5)
Project-URL: Documentation, https://python-quark.readthedocs.io
Project-URL: Homepage, https://github.com/ChenyangGao/python-quark
Project-URL: Repository, https://github.com/ChenyangGao/python-quark
Description-Content-Type: text/markdown

![license](https://img.shields.io/github/license/ChenyangGao/python-quark)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python-quark)
![PyPI - Version](https://img.shields.io/pypi/v/python-quark)
![PyPI - Downloads](https://img.shields.io/pypi/dm/python-quark)
![PyPI - Format](https://img.shields.io/pypi/format/python-quark)
![PyPI - Status](https://img.shields.io/pypi/status/python-quark)

# python-quark

[python-quark](https://github.com/ChenyangGao/python-quark) 是一个 [夸克网盘](https://pan.quark.cn) 的 [Python](https://python.org) 客户端模块，不过仅提供最直接的接口包装。

## 安装

你可以从 [pypi](https://pypi.org/project/python-quark/) 安装最新版本

```console
pip install -U python-quark
```

或者从 [github](https://github.com/ChenyangGao/python-quark) 安装最新版本

```console
pip install -U git+https://github.com/ChenyangGao/python-quark@main
```

## 入门介绍

### 1. 导入模块

导入模块

```python
from quark import QuarkClient
```

### 2. 创建实例

#### 1. 用 cookies 创建实例

创建客户端对象，需要传入 <kbd>[cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies)</kbd>，如果不传，则需要扫码登录

```python
cookies = "..."
client = QuarkClient(cookies)
```

