Skip to main content

bedway

Project description

bedway

Self-host and maintained bedrock-access-gateway, which is under MIT No Attribution License

Why this project:

Install

pip install bedway then bedway serve

Or use docker image

docker pull wh1isper/bedway

Usage

docker run --name bedway \
-p 9128:9128 \
-e "AWS_ACCESS_KEY_ID=<access_key_id>" \
-e "AWS_SECRET_ACCESS_KEY=<secret_access_key>" \
-e "AWS_REGION=<aws_region>" \
-e "DEFAULT_MODEL_NAME=<default_model_name>" \
-e "API_KEY=<api_key_for_this_service>" \
wh1isper/bedway

See more settings in setting.py

Develop

Install pre-commit before commit

pip install pre-commit
pre-commit install

Unittest

Install package locally

pip install -e .[test]

TODO: Write some test..

pytest -v

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

bedway-0.2.1.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

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

bedway-0.2.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file bedway-0.2.1.tar.gz.

File metadata

  • Download URL: bedway-0.2.1.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bedway-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3138c75f4e982d0cf26995a218f816a3c3bdea803f9ec9151760c506ab4a7c88
MD5 5260186924485223bda8d6a76067bbfb
BLAKE2b-256 b5da3a583dc66540f599c848636c27766440a8b7bc5e4687a636e417efedd403

See more details on using hashes here.

File details

Details for the file bedway-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bedway-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for bedway-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af2defded490da6150f3cd5289ad007fab0a059ed803a025c46e8807ecf0635c
MD5 c2ba98be6a22278e80ad980f45017f5c
BLAKE2b-256 67324f76aa1fed097cf99326abed0a2d22242af239b94fd0e3bfe5d16bda46a2

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