Skip to main content

PoliceLibrary

安装

首先安装库

pip install policelibrary

然后设置环境变量, 值从火山引擎上获取

export ARK_API_KEY=
export ASR_APP_KEY=
export ASR_ACCESS_KEY=

使用

聊天

python tests/test_chat.py

音频识别

python tests/test_asr.py

Metadata

Release files for policelibrary 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for policelibrary 0.1.0
File Size Uploaded Provenance Actions
policelibrary-0.1.0.tar.gz 11.2 kB Without provenance Details for policelibrary-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for policelibrary 0.1.0
File Interpreter ABI Platform Actions
policelibrary-0.1.0-py3-none-any.whl Python 3 none any Details for policelibrary-0.1.0-py3-none-any.whl

Total release size: 23.1 kB

Release files / policelibrary-0.1.0.tar.gz

Download URL policelibrary-0.1.0.tar.gz
Size 11.2 kB
Tags Source
SHA-256 checksum
How to use checksums
097a9f373d2ca7abf95fbe62785a6eed10630808de9e20e8d311166b6c7a8513
BLAKE2b-256 checksum
How to use checksums
2f3c71a71c884fc130836aca4132b714575040263c6d73553d99731a5306ecbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / policelibrary-0.1.0-py3-none-any.whl

Download URL policelibrary-0.1.0-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a79a84cba99a7459a65e463c933c403c00ee573ac0dd0b8ddf20e1e990d64c10
BLAKE2b-256 checksum
How to use checksums
5dcd837aa49c1596ef0044369b6b8a42419d7c1041dca60d15dffa85276edbd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for policelibrary 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page