Skip to main content

aptwe

aptwe is a framework to create recursive descent parsers. It intends to define parsers inside the Python syntax similarily to writing EBNF. For example:

nested_lists_ = Parser('NestedLists')
list_contents_ = int_ >> str_(',') >> int_
list_ = (str_('[') >> list_contents_ >> str_(']'))[getitem(1)]
nested_lists_[...] = int_ | list_

nested_lists_.loads('[1,[2,3]]') # Returns [1,[2,3]]

Metadata

Release files for aptwe 0.1.1

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

Source distribution (sdist)

Source distribution for aptwe 0.1.1
File Size Uploaded
aptwe-0.1.1.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aptwe 0.1.1
File Interpreter ABI Platform
aptwe-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / aptwe-0.1.1.tar.gz

Download URL aptwe-0.1.1.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
88b0ce76ed8ca97bd08b9f9b938381f0b8e73639e6590d436160c5550e08275b
BLAKE2b-256 checksum
How to use checksums
3e23ab7c1c4759640db4fa54816092fe60b9e3067b1c0bc7906cf4572ac70713
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release files / aptwe-0.1.1-py3-none-any.whl

Download URL aptwe-0.1.1-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee5a7abdd5c3e153b227956e27addedc65aa2c8349b9115fe7b708e21b493cc6
BLAKE2b-256 checksum
How to use checksums
c6f0b39d80599b986f8f6bde157933c0c795c6ce42e6f3f410448a38ad304766
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1

2 release files

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