Gnosis EPL python package
Project description
# 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
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 gnosis_epl-0.11.3.tar.gz
.
File metadata
- Download URL: gnosis_epl-0.11.3.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a9dcaa45e858aa9e2dc63e47916b65aaa1c376335d9d3d633120bcf7695396 |
|
MD5 | 78884f39e493715f0e9647f119993be7 |
|
BLAKE2b-256 | b0c0acf2048a9c5de44236f5cd08a422a7d87a96bc7350818d5ac0d3b889e6fe |