bedway
Project description
bedway
Self-host and maintained bedrock-access-gateway, which is under MIT No Attribution License
Why this project:
- No AWS infrastructure needed
- Improved performance: https://github.com/aws-samples/bedrock-access-gateway/issues/22
- Bug fix and new features: https://github.com/aws-samples/bedrock-access-gateway/issues/92, https://github.com/aws-samples/bedrock-access-gateway/issues/88
- Easy to deploy
- Quick response to community requests
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.2.tar.gz
(24.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
bedway-0.2.2-py3-none-any.whl
(18.1 kB
view details)
File details
Details for the file bedway-0.2.2.tar.gz.
File metadata
- Download URL: bedway-0.2.2.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
381361a9602fd24f35c704c699d41a219b56ce9d9ee85b16d6a13cf5da32e964
|
|
| MD5 |
9ad5b370f009cab7d511223e8b82a2e5
|
|
| BLAKE2b-256 |
e6eb988eda285152656cba83585f642c804dc7062f63f52e8c5d2e306ecd78e6
|
File details
Details for the file bedway-0.2.2-py3-none-any.whl.
File metadata
- Download URL: bedway-0.2.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6697fbe5ca88882e04821ab7a7aa1c1906651021ca51c609129afc850e5ad51c
|
|
| MD5 |
ff07b1edf3e024161ead6803b6d2e344
|
|
| BLAKE2b-256 |
70f4bf5b665def8b285c5a61f5c0fcdd69cd9c19432d06b435296f955554b314
|