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
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 datastore-viewer-0.2.0b0.tar.gz.
File metadata
- Download URL: datastore-viewer-0.2.0b0.tar.gz
- Upload date:
- Size: 771.0 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 |
08f98be27d2b8d75b4d413cd2b27586ada124c3702427706eee8a5d495e62eb6
|
|
| MD5 |
c5744b58d297545c01cbcc33040d8f6b
|
|
| BLAKE2b-256 |
bf359544777a898e8acff3bb94594ed0f12475ed6944e276d8a1e4536006b14f
|
File details
Details for the file datastore_viewer-0.2.0b0-py3-none-any.whl.
File metadata
- Download URL: datastore_viewer-0.2.0b0-py3-none-any.whl
- Upload date:
- Size: 785.2 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 |
30d10a2ed40001e4b7993c4d67a9014f7aa52e4df94ad2e88490c543d0e9f265
|
|
| MD5 |
a92ad3e1abb852a7692428e15d2908c2
|
|
| BLAKE2b-256 |
8252d834da7b80cdcbc974a77f97d192ac180d15f969fd1d2e0c5847e2f81780
|