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.0.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.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bedway-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 535d65cc4895c8f7892c52caeb6abe1f556b6858fa2315a76ab16eb42892fc05
MD5 88e99f365b544d0a450585d889ee7e3c
BLAKE2b-256 f644693bb0faf22bef7a82145b9ae991ac8be5560b0877a332325e8283f358d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bedway-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0418b0f5abbadc64b968745f0ec0c05cf280341273e6dac5bd05979baf19c8f8
MD5 8f2a71088a7aca09b2b4a48bd8fb80dd
BLAKE2b-256 80bd5be900a8f08369f1e7f6c9f7eb7f28c9f42696e3bfcd4f9b47a04d0c2e8c

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