LocalStack Extension: TypeDB on LocalStack
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file localstack_extension_typedb-0.1.1.tar.gz.
File metadata
- Download URL: localstack_extension_typedb-0.1.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d66973c63bb5cb7e2fa4f4def3e396519a42fc72bc7538aedc65191a42a5d389
|
|
| MD5 |
3739952191f1cc765df5acceeb8535be
|
|
| BLAKE2b-256 |
e5f5516e447a2ca82b454de9aa9c079d4b09d5af535d4e1499722b0f6e8af416
|
File details
Details for the file localstack_extension_typedb-0.1.1-py3-none-any.whl.
File metadata
- Download URL: localstack_extension_typedb-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2bfbf1bd022b01a9dc11ab91a54e19ce1f5e0c0bd92ccbea2e727c8df35db475
|
|
| MD5 |
99156a209a18005c2c136ba697466725
|
|
| BLAKE2b-256 |
177218d325c039e3125ebddb705d8e9103abbf3d29ceb1f92ec722253312e25a
|