Skip to main content

PoliceLibrary

Project description

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

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

policelibrary-0.1.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

policelibrary-0.1.0-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file policelibrary-0.1.0.tar.gz.

File metadata

  • Download URL: policelibrary-0.1.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for policelibrary-0.1.0.tar.gz
Algorithm Hash digest
SHA256 097a9f373d2ca7abf95fbe62785a6eed10630808de9e20e8d311166b6c7a8513
MD5 6187edbd101406d732a53716251f32b0
BLAKE2b-256 2f3c71a71c884fc130836aca4132b714575040263c6d73553d99731a5306ecbe

See more details on using hashes here.

File details

Details for the file policelibrary-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: policelibrary-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for policelibrary-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a79a84cba99a7459a65e463c933c403c00ee573ac0dd0b8ddf20e1e990d64c10
MD5 3ea670847751cf5e2dc2d3ada3128482
BLAKE2b-256 5dcd837aa49c1596ef0044369b6b8a42419d7c1041dca60d15dffa85276edbd1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page