Alternative graph parsing language and REPL for DataStax Enterprise (DSE)
Project description
# Firehawk
Experimental Language and REPL
# Installation
pip install firehawk
You will also need the DSE Graph driver. That’s up to you for now.
# Code Examples
> from firehawk import parse_line > query = parse_line(“CREATE VERTEX person”)
> type(query) firehawk.ddl.CreateVertex
> print query schema = graph.schema() schema.buildVertexLabel(‘person’).add()
# REPL
This package provides a REPL.
graph [name]
# Supported Syntax
create graph [graph] use [graph] create vertex [label] create edge [label] create property [name] [type] CREATE [materialized|secondary|search] INDEX [name] ON VERTEX [label]([field]) CREATE [in|out] INDEX [name] ON VERTEX [vertex-label] ON EDGE [edge-label]([edge-property])
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 firehawk-0.3.tar.gz
.
File metadata
- Download URL: firehawk-0.3.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9459bd5ffde4e831c479cbf4679b98a6caa92c8399123a35a487571349d2bb58 |
|
MD5 | 7a9bc3d74b99479269dccb40b916a9b6 |
|
BLAKE2b-256 | 09003ea8796d95272999bb5ac38ebf51fbe3be52dba877de174c6ffee6eed224 |