A parser for Logical Query Protocol (LQP) S-expressions into Protobuf
Project description
python-tools
A command-line tool to parse Logical Query Protocol (LQP) S-expressions into Protobuf binary and JSON formats.
Usage
usage: lqp [-h] [--bin BIN] [--json JSON] input_directory
Parse LQP S-expression into Protobuf binary and JSON files.
positional arguments:
input_directory path to the input LQP S-expression files
options:
-h, --help show this help message and exit
--bin BIN output directory for the binary encoded protobuf
--json JSON output directory for the JSON encoded protobuf
Build
Install preprequisites:
pip install pip build setuptools wheel
Then build the module itself:
python -m build
Install locally:
pip install [--user] [--force-reinstall] dist/lqp-0.1.0-py3-none-any.whl
Running tests
Within python-tools,
Setup:
python -m pip install -e ".[test]"
python -m pip install pyrefly
Running tests:
python -m pytest
Type checking:
pyrefly check
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
lqp-0.1.6.tar.gz
(24.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lqp-0.1.6-py3-none-any.whl
(26.0 kB
view details)
File details
Details for the file lqp-0.1.6.tar.gz.
File metadata
- Download URL: lqp-0.1.6.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9f93ccb6378f3384af3cc74f99fdf3332849e81fcc65d346afe8dfedbad2da3
|
|
| MD5 |
f984293407ffef46ca84308766fd91eb
|
|
| BLAKE2b-256 |
5fb7904f303c298369ccd2647416b4647f43a3dcc9c659a038e4c24bf286b62b
|
File details
Details for the file lqp-0.1.6-py3-none-any.whl.
File metadata
- Download URL: lqp-0.1.6-py3-none-any.whl
- Upload date:
- Size: 26.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf7dddd5774a97373d57e788857e12a9d01ceb1348e9e030479e46600542dba6
|
|
| MD5 |
18bb023e127cfa0e0f1466b87ce46b0b
|
|
| BLAKE2b-256 |
d429e6b2c7413589209e85763ecac16d6863229b173956c153a6eda4026503ac
|