Device Data Store on BigTable
Project description
# Cattle DB #
[![Build Status](https://travis-ci.org/wuttem/cattledb.svg?branch=master)](https://travis-ci.org/wuttem/cattledb)
Fast BigTable Time Series Database Implementation
## Installation Recursive Option is needed to build the C Speedups. ` git clone --recursive https://github.com:wuttem/cattledb.git pip install ./cattledb `
## Run Docker Emulator for Tests on Machine
`bash docker run -it -p 8080:8080 spotify/bigtable-emulator:latest export BIGTABLE_EMULATOR_HOST=localhost:8080 pytest tests `
## Build and Start Tests in docker ` docker build . -t cattledb-test docker run -it cattledb-test bash service bigtable-server start export BIGTABLE_EMULATOR_HOST="localhost:8080" pytest tests `
## Compile python protobuf file `bash # RUN python -m grpc.tools.protoc --python_out=./cattledb/grpcserver --grpc_python_out=./cattledb/grpcserver --proto_path=./protos cdb.proto # cd to .\cattledb\grpcserver\cdb_pb2_grpc.py # change line import cdb_pb2 as cdb__pb2 # to from . import cdb_pb2 as cdb__pb2 `
## Build and Push cattledb docker `bash docker build . -t mths/cattledb:latest docker tag mths/cattledb:latest mths/cattledb:0.1 docker push mths/cattledb `
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
File details
Details for the file cattledb-0.6.2.tar.gz
.
File metadata
- Download URL: cattledb-0.6.2.tar.gz
- Upload date:
- Size: 650.6 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.1.0 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10986bdace6fc3132ce93ed853d134cf888492348be458b1211cd39264bd003a |
|
MD5 | 4caab044006e2ec94eada16b225c4b13 |
|
BLAKE2b-256 | fd8d9fb2f7d29ee3d82164e0fffddda526beefa4b8256c4f26e5a85e9e2399d5 |