TypeDB on LocalStack
This repo contains a LocalStack Extension that facilitates developing TypeDB-based applications locally.
After installing the extension, a TypeDB server instance will become available under typedb.localhost.localstack.cloud:4566, allowing you to create and manage TypeDB databases directly from your AWS applications running in LocalStack.
For example, you could create a microservice backed by a Lambda function that connects to a TypeDB database upon invocation. See here for a simple example application that makes use of this extension.
Configuration
The following environment variables can be passed to the LocalStack container (make sure to prefix them with LOCALSTACK_... when using the localstack start CLI), to steer the behavior of the extension:
TYPEDB_FLAGS: Additional user-defined command args to pass to the TypeDB container.TYPEDB_HTTP2_PROXY: Flag to enable/disable HTTP2 proxy for gRPC traffic (use this if you experience network issues, and use the HTTP variant of the TypeDB driver).
Prerequisites
- Docker
- LocalStack Pro (free trial available)
localstackCLImake
Install from GitHub repository
This extension can be installed directly from this Github repo via:
localstack extensions install "git+https://github.com/localstack/localstack-extensions.git#egg=typedb&subdirectory=typedb"
Install local development version
Please refer to the docs here for instructions on how to start the extension in developer mode.
Change Log
0.1.1: Minor fixes in CI setup, exception handling0.1.0: Initial version of the extension
License
The code in this repo is available under the Apache 2.0 license.
Release files for localstack-extension-typedb 0.1.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 | |
|---|---|---|---|
| localstack_extension_typedb-0.1.2.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| localstack_extension_typedb-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.9 kB
Release files / localstack_extension_typedb-0.1.2.tar.gz
| Download URL | localstack_extension_typedb-0.1.2.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4903f535d1577640b9ffa31ce6f1e36222898028993d3b58ad0f0e10b75e1a96
|
|
BLAKE2b-256 checksum How to use checksums |
fda68c7ac3db781c2808ce7cdf8fa39b2200a53e0db0a05ff105ff9287d2022e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / localstack_extension_typedb-0.1.2-py3-none-any.whl
| Download URL | localstack_extension_typedb-0.1.2-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d779b208f6ca44ddc2b6aac632689939e4e94ab531a0a7217157a3bf71788532
|
|
BLAKE2b-256 checksum How to use checksums |
5c588dc151761c443b88b97a6be724332d1a8ac5c393906823489fa78b611446
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|