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
Metadata
Release files for bedway 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| bedway-0.2.2.tar.gz | 24.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bedway-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.3 kB
Release files / bedway-0.2.2.tar.gz
| Download URL | bedway-0.2.2.tar.gz |
|---|---|
| Size | 24.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
381361a9602fd24f35c704c699d41a219b56ce9d9ee85b16d6a13cf5da32e964
|
|
BLAKE2b-256 checksum How to use checksums |
e6eb988eda285152656cba83585f642c804dc7062f63f52e8c5d2e306ecd78e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / bedway-0.2.2-py3-none-any.whl
| Download URL | bedway-0.2.2-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6697fbe5ca88882e04821ab7a7aa1c1906651021ca51c609129afc850e5ad51c
|
|
BLAKE2b-256 checksum How to use checksums |
70f4bf5b665def8b285c5a61f5c0fcdd69cd9c19432d06b435296f955554b314
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for bedway 0.2.2
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.