Skip to main content

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


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.2.0a0.tar.gz (758.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datastore_viewer-0.2.0a0-py3-none-any.whl (772.1 kB view details)

Uploaded Python 3

File details

Details for the file datastore-viewer-0.2.0a0.tar.gz.

File metadata

  • Download URL: datastore-viewer-0.2.0a0.tar.gz
  • Upload date:
  • Size: 758.3 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

Hashes for datastore-viewer-0.2.0a0.tar.gz
Algorithm Hash digest
SHA256 63039625902dac063b64937fe941997058265366f0012ac45b1488360cecc235
MD5 125b05521e110f9a2632c0d718552902
BLAKE2b-256 dc5e36ce60390605312f02b122416e9a05b82d72ba177a2cd209294b30187ed6

See more details on using hashes here.

File details

Details for the file datastore_viewer-0.2.0a0-py3-none-any.whl.

File metadata

  • Download URL: datastore_viewer-0.2.0a0-py3-none-any.whl
  • Upload date:
  • Size: 772.1 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

Hashes for datastore_viewer-0.2.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 2dc815499769882d43c7c4dbfaea028b1b4b141e89ca876371bef068b0f49b1e
MD5 faf8e0ab7529068fdc7c81f04b5a3b54
BLAKE2b-256 a280a060a2d83a4012524ad8c449dfde9fafbe888210488060ff69880b5e33a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page