IRUN: Indulgent Reiz User Notation
A human-friendly query language (python-like DSL) for generating Reiz QL queries.
Example
with open(...) as $stream:
tree = ast.parse($stream.read())
The query above would match all of these potential cases (via Reiz):
with open('somefile.py') as file_s:
tree = ast.parse(file_s.read())
with open(some_path) as stream:
tree = ast.parse(stream.read())
with open(pathlib_path / 'file.py') as s_file:
tree = ast.parse(s_file.read())
and filter out the rest (stuff like this):
with open(pathlib_path / 'file.py', encoding='x') as stream:
tree = ast.parse(stream.read())
with open() as stream:
tree = ast.parse(stream.read())
with foo(path) as stream:
tree = ast.parse(stream.read())
with open(path) as stream:
tree = ast.parse(other_stream.read())
with open(path) as stream:
tree = ast.foo(stream.read())
with open(path) as stream:
tree = bar.parse(stream.read())
with open(path) as stream:
tree = bar.baz(stream.read())
with open(path) as xxx:
tree = ast.parse(yyy.read())
with open(path) as xxx:
zzz = ast.parse(xxx.read())
Release files for irun 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| irun-0.2.tar.gz | 7.2 kB | Details |
Release files / irun-0.2.tar.gz
| Download URL | irun-0.2.tar.gz |
|---|---|
| Size | 7.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2200df092ca4ecbefaef5ed7f10a5be702348e1262ea11a8cf44b97abf14e119
|
|
BLAKE2b-256 checksum How to use checksums |
9ed7fa0e72376acf1172974009414d99605216d4cbfa1cb06830501e82f568df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.8.5+
|