Skip to main content

# Gnosis EPL Grammar

## Installing Dependencies

### Using pipenv Run $ pipenv shell to create a python virtualenv and load the .env into the environment variables in the shell.

Then run: $ pipenv install to install all packages, or $ pipenv install -d to also install the packages that help during development, eg: ipython. This runs the installation using pip under the hood, but also handle the cross dependency issues between packages and checks the packages MD5s for security measure.

### Using pip To install from the requirements.txt file, run the following command: ` $ pip install -r requirements.txt `

## Rebuilding Grammar (ANTRL-4) ### Java and ANTRL-4 Jar Dependencies If you need to re-generate the automatic grammar files created from ANTLR4. Otherwise, you can ignore this dependency.

If indeed you need to recreate the grammar files, then you’ll need Java installed (tested with version 11.0.7 OpenJDK). Afterwards, execute the command: ` $ ./get_antlr.sh ` which will download the jar file to tools/antlr/antlr-4.8-complete.jar

### Using ANTLR-4 to update grammar files execute: ` $ ./gen_antrl_files.sh ` This will recreate the .py files and copy(override) the ones in the grammar module with this newly created ones.

## Examples of Queries

## Usage example

Release files for gnosis-epl 0.11.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gnosis-epl 0.11.3
File Size Uploaded
gnosis_epl-0.11.3.tar.gz 29.5 kB Details

Release files / gnosis_epl-0.11.3.tar.gz

Download URL gnosis_epl-0.11.3.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
48a9dcaa45e858aa9e2dc63e47916b65aaa1c376335d9d3d633120bcf7695396
BLAKE2b-256 checksum
How to use checksums
b0c0acf2048a9c5de44236f5cd08a422a7d87a96bc7350818d5ac0d3b889e6fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.17

Release history Release notifications | RSS feed

This release

0.11.3 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page