Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

firehawk

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firehawk

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

  • 0.3
  • PyPI
  • Socket score

Maintainers
1

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])

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc