Datastore Viewer for emulator
Project description
datastore-viewer
datastore-viewer is a simple viewer of Google Cloud Datastore Emulator.
Quickstart using docker-compose
A example of docker-compose.yml:
version: "3"
services:
datastore_emulator:
image: quay.io/gumo/datastore-emulator
environment:
DATASTORE_PROJECT_ID: test-project
DATASTORE_LISTEN_ADDRESS: 0.0.0.0:8081
ports:
- "8081:8081"
volumes:
- datastore-emulator-storage:/opt/data
# command: start-datastore --no-store-on-disk --consistency=1.0
datastore_viewer:
image: quay.io/gumo/datastore-viewer
environment:
DATASTORE_VIEWER_HOST: 0.0.0.0
DATASTORE_VIEWER_PORT: 18081
GOOGLE_CLOUD_PROJECT: test-project
DATASTORE_EMULATOR_HOST: datastore_emulator:8081
depends_on:
- datastore_emulator
ports:
- "18081:18081"
volumes:
datastore-emulator-storage:
driver: local
Execute docker containers:
docker-compose up
Please access to: http://127.0.0.1:18081
for Developers
Setup
Create new venv:
$ python -m venv venv
$ source venv/bin/activate
Upgrade pip and install building tools:
$ pip install --upgrade pip
$ pip install twine wheel pytest pip-tools
Install dependency packages:
$ pip install -r requirements.txt
Run
$ export DATASTORE_EMULATOR_HOST=127.0.0.1:8081
$ make run
Package Build
$ make build
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
datastore-viewer-0.3.1.tar.gz
(800.5 kB
view details)
Built Distribution
File details
Details for the file datastore-viewer-0.3.1.tar.gz
.
File metadata
- Download URL: datastore-viewer-0.3.1.tar.gz
- Upload date:
- Size: 800.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de1430c386c9a340abbd7d1b525b945d88af5642e04ade4463f5ead73996c14f |
|
MD5 | db42eeaf867e26bbf46dfbc797575ac8 |
|
BLAKE2b-256 | ca089d0929bd7485f91a4c764d58538f00038d7a68bf6441b0af649e5c7bd741 |
File details
Details for the file datastore_viewer-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: datastore_viewer-0.3.1-py3-none-any.whl
- Upload date:
- Size: 815.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d426f350bdbd4fc5f19bea2b415e04d8ea427da5dd55da2bd77816b1cd5b36a9 |
|
MD5 | 0b0e531fa9e9d52f7e6750291c20d875 |
|
BLAKE2b-256 | b224ec7cea93db921a2f7f52c0f4cdaa0eece598e0505adccba987555d130e72 |