Skip to main content

Alternative graph parsing language and REPL for DataStax Enterprise (DSE)

Project description

# Firehawk

Experimental Language and REPL

# Installation

pip install -e git+https://github.com/rustyrazorblade/firehawk.git#egg=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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for firehawk, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size firehawk-0.2.tar.gz (9.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page