Metadata-Version: 2.5
Name: any-analysis
Version: 0.4.0
Summary: a backend analysis interface for `any-capture`, designed to simplify packet analysis.
Author: AhAlpha
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.10
Requires-Dist: alptools
Requires-Dist: websockets>=14
Description-Content-Type: text/markdown

# any-analysis-py
a backend analysis interface for `any-capture`, designed to simplify packet analysis.

```python
from any_analysis import AnyCapture

capture = AnyCapture("127.0.0.1:8900", "<secret>")


@capture.on_http_event()
async def on_http(stream):
    print(stream)


@capture.on_tcp_event()
async def on_tcp(stream):
    print(stream)


capture.run()
```
