Venera Parser for Bangumi
A script to parse the data exported from Bangumi's Venera app, which includes users' watching history, ratings, collections, and more. The parsed data can be used for various purposes such as data analysis, visualization, or migration to other platforms.
Quick Start
- Install from frok
git clone --branch 2026/05/venera-parser-bangumi-sync https://github.com/bGZo/playground.git
cd playground
pipx install .
- Install from PyPI
pipx install venera-parser-bangumi
Usage
❯ venera-sync-bangumi --help
Usage: venera-sync-bangumi [OPTIONS] COMMAND [ARGS]...
Parse Venera exported archives and sync selected
favorites to Bangumi.
Options:
--help Show this message and exit.
Commands:
dump
summary
sync-bangumi
Parser
# 查看摘要
python3 src/parser.py summary 20575-2273.venera
# 导出完整 JSON
python3 src/parser.py dump 20575-2273.venera --include-rows --pretty -o venera_dump.json
# 连 cookie.db 一起解析
# 在上面的命令后追加 --include-cookie-db
Bangumi Sync
# 安装运行依赖
python3 -m pip install -e .
# dry-run,同步本地 DONE 表到 Bangumi done
export ACCESS_TOKEN="your-token"
python3 src/parser.py sync-bangumi 20575-2273.venera --sync DONE=done --dry-run
# 同步多个表,并输出审计报告
python3 src/parser.py sync-bangumi 20575-2273.venera \
--sync Doing=doing \
--sync DONE=done \
--dry-run \
--report-output reports/dry-run.json
说明:
ACCESS_TOKEN只从环境变量读取。--dry-run会执行解析、搜索、匹配和当前收藏读取,但不会发写请求。- 当前项目已切换为
clickCLI,所有自动验收以pytest为准。
Tests
python3 -m pytest
Contributing
Any contributions made are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'feat(module):add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Top contributors:
License
All code is licensed under the AGPL-3.0 license. See LICENSE for more information.
Metadata
Release files for venera-parser-bangumi 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| venera_parser_bangumi-0.1.2.tar.gz | 30.7 kB | Without provenance | Details for venera_parser_bangumi-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| venera_parser_bangumi-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for venera_parser_bangumi-0.1.2-py3-none-any.whl |
Total release size: 64.2 kB
Release files / venera_parser_bangumi-0.1.2.tar.gz
| Download URL | venera_parser_bangumi-0.1.2.tar.gz |
|---|---|
| Size | 30.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68411fd5a4fe47dc6183485e4aaabf226e20ce4d1c058fcb01cfa20c91db0a03
|
|
BLAKE2b-256 checksum How to use checksums |
829ab009289445e44dcab694b95ff45cd12269ff1fdd2ffd2fad857f54234350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.0 CPython/3.13.12 Darwin/25.4.0
|
Release files / venera_parser_bangumi-0.1.2-py3-none-any.whl
| Download URL | venera_parser_bangumi-0.1.2-py3-none-any.whl |
|---|---|
| Size | 33.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac9bc980c6d2c32ae02ea9d04d7e19096ec846569cb8756489089c363717ee73
|
|
BLAKE2b-256 checksum How to use checksums |
8df6f86001d9a2876f445b23808746b471e2cc2bb6473bd6029e6b724c1534ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.0 CPython/3.13.12 Darwin/25.4.0
|
Security for venera-parser-bangumi 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.