fAST (find Abstract Syntax Tree)
Overview
find-abstract-syntax-tree is a Python 3 implemention of the fAST algorithm. This algorithm aims at inferring a regular expression from a finite set of positive examples.
The fAST algorithm is described in:
[ICGI'2023] fAST: regular expression inference from positive examples using Abstract Syntax Trees, Maxime Raynal, Marc-Olivier Buob, Georges Quénot.
This module is built on top of:
Quick start
Install the package through PIP:
pip3 install find-abstract-syntax-tree
In your python interpreter, run:
from fast import fast
results = fast(["abc", "abcabc", "abcabcabc"])
for (score, ast) in results:
print(score, ast.to_infix_regexp_str())
Links
License
This project is licensed under the BSD-3-Clause license.
Metadata
Release files for find-abstract-syntax-tree 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| find_abstract_syntax_tree-0.2.1.tar.gz | 30.4 kB | Without provenance | Details for find_abstract_syntax_tree-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| find_abstract_syntax_tree-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for find_abstract_syntax_tree-0.2.1-py3-none-any.whl |
Total release size: 66.0 kB
Release files / find_abstract_syntax_tree-0.2.1.tar.gz
| Download URL | find_abstract_syntax_tree-0.2.1.tar.gz |
|---|---|
| Size | 30.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
23776c3cdb97b2ef582b3d80a97d1209fd1d34f9bbefe794d8f08168f0b00e3d
|
|
BLAKE2b-256 checksum How to use checksums |
111748be70f291cc1fa520bb2498f9c7484f308b0c0c6e1cb138440336beca54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.13 Linux/6.11.0-1018-azure
|
Release files / find_abstract_syntax_tree-0.2.1-py3-none-any.whl
| Download URL | find_abstract_syntax_tree-0.2.1-py3-none-any.whl |
|---|---|
| Size | 35.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
235fd560d09abc1b67fe0e051634ee0bfa39cfdad145656856331adf859cb2e5
|
|
BLAKE2b-256 checksum How to use checksums |
2dce0d5b755c71512521c8e676bb3f49620eb601dfb29cf4a3a11720a22e3298
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.3.2 CPython/3.11.13 Linux/6.11.0-1018-azure
|
Security for find-abstract-syntax-tree 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.