rustevex
Pattern matching over timestamped token sequences. Rust core, Python bindings via PyO3.
Install
pip install rustevex
From source (needs Rust ≥ 1.75):
pip install maturin
maturin develop --release
Usage
from rustevex import Pattern, EventExpressions
tokens = "A B C".split()
times = [1.0, 3.0, 7.0]
p = Pattern(collector="collect_pairs")
p.add_event("A")
p.add_event("B")
p.add_event("C")
r = EventExpressions(p).match_stream(tokens, times, include_tokens=True)
print(r["m_start"], r["m_end"]) # match span in the stream
print(r["t_start"], r["t_end"]) # match timestamps
print(r["el_stream_idx"], r["el_times"]) # per-element positions / times
print(r["el_tokens"], r["result"]) # tokens and collector output
Docs
- quickstart
- core concepts
- collectors · dynamic events · state machines
- db expressions — query
(id, time, class, text_value, numeric_value)frames - result format · preprocessing · developer guide
Optional db helpers need extra deps: pip install rustevex[db]
Metadata
Release files for rustevex 0.0.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 | |
|---|---|---|---|
| rustevex-0.0.1.tar.gz | 195.2 kB | Details |
Built distributions (wheels)
Total release size: 6.8 MB
Release files / rustevex-0.0.1.tar.gz
| Download URL | rustevex-0.0.1.tar.gz |
|---|---|
| Size | 195.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30197fd9f9cb0bc6d13376463c7f461120b4927e3b49cebb0317f4c4fb19e7f0
|
|
BLAKE2b-256 checksum How to use checksums |
25726d817505d7e6eeaabcb051bc105492fcf1ccf3eb73009430cc88b2b28d3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp312-cp312-win_amd64.whl
| Download URL | rustevex-0.0.1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 351.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8a09fbb006e3b1da3cad8cc9cc1ed4d173b8f0906c510a0d61f72b3c6b4d1d5b
|
|
BLAKE2b-256 checksum How to use checksums |
362e938081dcc79485cd465b27a7fb0356646b42c094a6dc2b3fcd92f67572fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rustevex-0.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 451.7 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
82b21a1b5f1018f54d7535a2483a14fcf0f21be34a6fd1e1f6ec3903c37d5e73
|
|
BLAKE2b-256 checksum How to use checksums |
8cd9b024b2e894453529fd181e48b2671a4d83437abac9d41ecf52d6fab1f9b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rustevex-0.0.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 437.0 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
1f3609f205a8e4ac0580d4e2302a0ed2d30e4a74047ac095ad051ad298ff7ba6
|
|
BLAKE2b-256 checksum How to use checksums |
eeb2ebdbff02de1971c26432374e87c507d8b867db75ff01e4679a49411f4a4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | rustevex-0.0.1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 416.0 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c71785a53f76193e45790dd9296a3186aff6b4b724b01674459daba8e9887611
|
|
BLAKE2b-256 checksum How to use checksums |
bf6e643377053f36606f0aed8dfda78686f05e4575b8bb971210a2d15e0799ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp311-cp311-win_amd64.whl
| Download URL | rustevex-0.0.1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 354.7 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3d32fb9c4020b6ed313e96c7f66888922ba8c2f20bd922e1970db951a3b874d4
|
|
BLAKE2b-256 checksum How to use checksums |
57f5df83b415f3ec9d9102eff3be6182fc3de8c2007c9d2898b3b8ecc8e2f223
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rustevex-0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 451.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c1ef46c304284e8ff5b77e8e1442febbb197d3c52358f2dec7ad2f00f5164134
|
|
BLAKE2b-256 checksum How to use checksums |
b12b61a1f8e4398d91795dc2a0c4b5a7354c6348bc6db07369703b784833f56f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rustevex-0.0.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 437.1 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
2376ae24ea2591386bd241d6729112afae92ddcbd4d58bd7d95805ca8660cdd4
|
|
BLAKE2b-256 checksum How to use checksums |
64ef9f6625a570f829cdfc9ab96c328827850950fd075111a467549b4c848fa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | rustevex-0.0.1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 415.9 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3e12e69e62396b01ad0e420fcf677167eaefb1bf606061604a453fdcdd44a866
|
|
BLAKE2b-256 checksum How to use checksums |
61acb5cd1018f02f02899019362fef98c79baf9325aa68b396b8831ef7759324
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp310-cp310-win_amd64.whl
| Download URL | rustevex-0.0.1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 354.8 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1fec930aef9556d09336b32f96a0412d73bcb4a4705600db7b1860379795f3d7
|
|
BLAKE2b-256 checksum How to use checksums |
413ad8935ea45256cabb8636ac3f724ef995c69e1d30bec3165d46a4e9c77db6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rustevex-0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 451.2 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8f992aeaf61255152a2be9eb8c326e499d905495f26545ee76c1d149cafdb1aa
|
|
BLAKE2b-256 checksum How to use checksums |
793fbe6609a94e9f338f26a5dbcc2d5273e0d7834c2132fde36e2cb12c203e9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rustevex-0.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 437.1 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
e5fe9d405411b5f97575cc09f3ed398f3bd662dd23c22b1a6dfc2e10b0743793
|
|
BLAKE2b-256 checksum How to use checksums |
77b7924ecc25af46582c21e0f76f209d1414fd1f8cef52a6de5927e3a6ab7cf5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | rustevex-0.0.1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 416.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
21cc180851f30dbca633fc9f38f804cc31161e42d1062e845b9aa2ecfb2d92ae
|
|
BLAKE2b-256 checksum How to use checksums |
30a29807bb9ade1739a7dbb8d4eeb62be2c636fb2b4fd30e0a3bbb70e511c5ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp39-cp39-win_amd64.whl
| Download URL | rustevex-0.0.1-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 355.2 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
21e649516f33ca3a1361fabfc45462a0bad57c8b7ebd9cd745d8988c3cb873f9
|
|
BLAKE2b-256 checksum How to use checksums |
50501f1d8711840a1d54c5f2d4e38bf85b907a46a9fddfd778bff0865675b741
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | rustevex-0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 451.6 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
64daf1fcfd3179aa91500b00f6bf5dd30300a5e75fcc1c14a01827826169e1bb
|
|
BLAKE2b-256 checksum How to use checksums |
6ffa2f902a46268ab8c84431382fe472b7edf1ae69cd3343bdbdca59e196e18a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | rustevex-0.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 437.5 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
7cd8167bb5abe3f845fc81cda8d23e3f6f309fd65f3ff7009b35c97f775c2417
|
|
BLAKE2b-256 checksum How to use checksums |
e5bf9023f3ff9c1073b26271bf67c7a4dc94240d1c93ab862168f447572ba416
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / rustevex-0.0.1-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | rustevex-0.0.1-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 416.3 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
896316098af360de5c4dd256bdac8ccc84c01c108392895b26126f7fc1e4a329
|
|
BLAKE2b-256 checksum How to use checksums |
078ec1003a183ec373632f03f9dff600bbd6d044c9a573cb39513d8cec27360f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|