Bilibili-av-bv-converter
用户手册(中文版)
本转换器开源,可以自行把代码拿去研究
首先将avbv.py下载到python路径中的site-packages文件夹下 (我不会pypi,所以没有弄到pypi)
使用方法:导入avbv模块,就可以用av2bv和bv2av来进行互转了
示例代码:
from abv_py import av2bv, bv2av
print(av2bv(170001)) # BV17x411w7KC
print(bv2av('BV17x411w7KC')) # 170001
当在bv2av中输入不合法bv号(如bv1)会报错(TypeError)
但是下面的代码不会报错:
from abv_py import bv2av
print(bv2av('BV17x411w7KC')) # 170001
Metadata
Release files for abv-py 0.2.1
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 | |
|---|---|---|---|---|
| abv_py-0.2.1.tar.gz | 2.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| abv_py-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / abv_py-0.2.1.tar.gz
| Download URL | abv_py-0.2.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a5100fb47b02b55e75056c9fb29418a222ee0d7bcb60c27d229aea158dea102c
|
|
BLAKE2b-256 checksum How to use checksums |
39563a14e38733ac06a4dce0363938fbd517d36d497ef8df0b8c3510ae87f1f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / abv_py-0.2.1-py3-none-any.whl
| Download URL | abv_py-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f91389a8479ff710afdbf73fa424317120c1fa0df052d15fa6d561eaccdaf7f
|
|
BLAKE2b-256 checksum How to use checksums |
07af0323c3211d307a0c1e34455ae20820fd91f1cc63d3ec4f110a4f31944abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Security for abv-py 0.2.1
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.