面向 Bilibili 场景的无状态工具库。
Project description
blux
面向 Bilibili 场景的无状态工具库,提供 BV/AV 互转、文档打分、文本整理、WBI 签名、搜索和公开资源下载等能力。
模块
blux.bvs: AV/BV 互转工具blux.doc_score: 文档互动分值计算blux.text_doc: 标题、标签、简介拼接与 MD5 标识生成blux.wbi: WBI 签名和dm_img参数生成blux.search: Bilibili 搜索客户端与数据模型blux.download: 面向公开资源的下载工具
文档索引
命令行
blux bv av-to-bv 100
blux search all 猫和老鼠
blux dl snapshot BV1YXZPB1Erc
blux dl all BV1YXZPB1Erc
安装
pip install blux --upgrade
blux 只保留无状态能力。持久化存储、缓存策略和服务编排应放在仓库外部的独立层中。
开发
pip install -e .[dev]
git config core.hooksPath .githooks
pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
blux-0.5.1.tar.gz
(29.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
blux-0.5.1-py3-none-any.whl
(32.0 kB
view details)
File details
Details for the file blux-0.5.1.tar.gz.
File metadata
- Download URL: blux-0.5.1.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e64d24c843f673497554f2d93b4ed96410805effa9849120ee19428e08b3077b
|
|
| MD5 |
121e2a828aca904b6cabc88786084bcd
|
|
| BLAKE2b-256 |
64a221c8eef41918819377b7b59845fdd0fa0fa1a25e4d52dce84c9614bd4dce
|
File details
Details for the file blux-0.5.1-py3-none-any.whl.
File metadata
- Download URL: blux-0.5.1-py3-none-any.whl
- Upload date:
- Size: 32.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53b3bfe40a09a71824abcc3577404a5a1c30658722eda4710df21263f55383f2
|
|
| MD5 |
d0c7d8292ea2d8ca92f460430eca218e
|
|
| BLAKE2b-256 |
68482a6160666748aec7cd46f2ea33e29fd7cfeaa79ce0077734f20127916a34
|