Skip to main content

This package implements a PEG (Parsing Expression Grammar) to parse syntax, i add rules to parse URL, HTTP request and response easily with security and some format like hexadecimal, base32, base64, base85...

Project description

PegParser Logo

PegParser

Description

This package implements a PEG (Parsing Expression Grammar) to parse syntax, i add rules to parse URL, HTTP request and response easily with security and some format like hexadecimal, base32, base64, base85...

Requirements

This package require:

  • python3
  • python3 Standard Library

Installation

Pip

python3 -m pip install PegParser

Git

git clone "https://github.com/mauricelambert/PegParser.git"
cd "PegParser"
python3 -m pip install .

Wget

wget https://github.com/mauricelambert/PegParser/archive/refs/heads/main.zip
unzip main.zip
cd PegParser-main
python3 -m pip install .

cURL

curl -O https://github.com/mauricelambert/PegParser/archive/refs/heads/main.zip
unzip main.zip
cd PegParser-main
python3 -m pip install .

Usages

Command line

PegParser              # Using CLI package executable
python3 -m PegParser   # Using python module
python3 PegParser.pyz  # Using python executable
PegParser.exe          # Using python Windows executable

Python script

from PegParser import *

Links

License

Licensed under the GPL, version 3.

Project details


Download files

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

Source Distribution

pegparser-0.0.1.tar.gz (31.0 kB view details)

Uploaded Source

File details

Details for the file pegparser-0.0.1.tar.gz.

File metadata

  • Download URL: pegparser-0.0.1.tar.gz
  • Upload date:
  • Size: 31.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pegparser-0.0.1.tar.gz
Algorithm Hash digest
SHA256 18b11b1c19110655ed68d6d3ca0f0a69313b44307ec5bb812576147ac3e02c2c
MD5 fa8de5620118b8224cdacd2335e3433b
BLAKE2b-256 5a182d22992eed26b7965b9816d5c2e8155885924b35231892cdae947ce3514b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page