semvec/pypi-packages huggingface dataset:
lib3 0.1.0
A Decentralized Book Search Engine
Requires Python: <4.0,>=3.7

# Liber3: An Open Sourced Decentralized eBook Search Engine


Introducing Liber3, a tool for searching ebooks stored on [IPFS](https://ipfs.tech/). It's based on a decentralized data protocol - [Glitter Protocol](https://twitter.com/GlitterProtocol).

You could use Liber3 to search for IPFS links base on file names and displays search results with a simple interface.

There is also [a web version of Liber3](https://liber3.eth.limo) works on [ENS](https://ens.domains/) and [IPFS](https://ipfs.tech/) available if you do not have Python environment.

## Getting Started

To get started, please follow these steps:

### Prerequisites

- Python (v3.7 or higher)

### Installation

Installing the tool, and you should make sure `your/download/path` in the `$PATH`, then you can use the command line tool.

```shell
pip install lib3
``` 

### Options

- `terms`:Specifies search terms to be queried. Required:yes.

- `-p <page>` or `--page <page>`:Specifies the page of results to display. Default: 0.

- `-l <limit>` or `--limit <limit>`:Specifies the number of per page to display. Default: 10.

- `-t <filter type>` or `--type <fliter type>`:Specifies the book extension of result to display. Default: all.
  - `epub` :epub extension.
  - `pdf`:pdf extension.
  - `mobi` :mobi extension.
  - `azw3` :azw3 extension.
  - `djvu` :djvu extension.

### Examples

1. Search for keyword "algebra":

```shell
lib3 algebra
```

2. Search for keywords "linear algebra" and page 1, limit 5:

```shell
lib3 "linear algebra" -p 1 -l 5 
```

3. Search for keywords "linear algebra" and only keep the pdf resource:

```shell
lib3 "linear algebra" -t pdf
```

## Built With

- [glitter-sdk-py](https://github.com/glitternetwork/glitter-sdk-py) A Python SDK for interacting with the Glitter Protocol.

## Contributing

If you would like to contribute to this project, feel free to fork the repository and submit a pull request with your changes.

## License

This project is licensed under the MIT License - see the LICENSE file for details.
qiniu-uploader 0.1.0
一个用于将目录上传至七牛云存储的Python包,将服务器数据迁移到七牛云
Requires Python: >=2.7,>=3.6

---
# qiniu-uploader


**qiniu-uploader** 是一个用于上传本地文件夹到七牛云存储的Python包。它利用七牛官方Python SDK，通过指定的Access Key（AK）和Secret Key（SK）生成上传凭证，并递归遍历本地文件夹，将其中的所有文件上传至指定的七牛云存储空间（Bucket）。

### 特性

- **一键上传**：只需提供必要的七牛云账户信息和待上传文件夹路径，即可轻松将整个文件夹上传至七牛云。
- **递归遍历**：支持上传文件夹及其所有子文件夹中的文件，无需手动处理复杂的目录结构。
- **命令行支持**：提供便捷的命令行接口，方便快速执行上传任务。
- **代码调用**：亦可作为库集成到其他Python项目中，实现程序化的文件上传。

### 作者
Mrj

### 联系方式
微信: kangde0-0

### 安装

```bash
pip install qiniu-uploader
```

### 命令行使用

```bash
qiniu-uploader --help
qiniu-uploader <ACCESS_KEY> <SECRET_KEY> <DIR_PATH> <BUCKET_NAME>
```

**示例：**

```bash
qiniu-uploader oXrJe_Va0LOMdFLErzrb8KOyOCnAXo72uz83eD xOl-TMz73MuYLP77dZ3cOI5eRjN-5fmFfC45T7 E:\attachment sz
```

### 代码调用

```python
from qiniu_uploader.core import upload_dir

upload_dir(
    ak="oXrJe_Va0LOMdFLErRSzrb8CnAXo72uz83eD",
    sk="xOl-TMz73MuYLP77dMKeRjN-5fmFfC45T7",
    dir_path="E:\\attachment",
    bucket_name="sz",
)
```

### 开发与贡献

欢迎提交问题、建议和 Pull Requests 到 [GitHub 仓库](https://github.com/Mr-J-J/qiniu_uploader)。

---

**注意：** 请替换上述链接为实际的GitHub仓库地址。如果您还没有创建相应的GitHub仓库，请先创建，并将您的代码推送至该仓库。同时，记得替换实际的PyPI包名和版本号对应的徽章链接。

---

**版权声明：** 该项目最终版权归属Mrj所有。

---

**友情提示：** 请确保您的七牛云账户信息及使用行为符合七牛云服务条款。在公开README或其他文档时，避免直接暴露敏感的Access Key和Secret Key。此处仅作示例，实际使用时应确保密钥安全。

---