Metadata-Version: 2.1
Name: finsy
Version: 0.1.0
Summary: Async P4Runtime/gNMI Framework
Home-page: https://github.com/byllyfish/finsy
License: Apache-2.0
Author: Bill Fisher
Author-email: william.w.fisher@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: AsyncIO
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: grpcio (>=1.47.0,<2.0.0)
Requires-Dist: macaddress (>=1.2.0,<2.0.0)
Requires-Dist: parsy (>=1.4.0,<2.0.0)
Requires-Dist: protobuf (>=4.21.2,<5.0.0)
Requires-Dist: pyee (>=9.0.4,<10.0.0)
Requires-Dist: pylev (>=1.4.0,<2.0.0)
Project-URL: Issue Tracker, https://github.com/byllyfish/finsy/issues
Project-URL: Release Notes, https://github.com/byllyfish/finsy/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

# 🐟 Finsy 

[![ci](https://github.com/byllyfish/finsy/actions/workflows/ci.yml/badge.svg)](https://github.com/byllyfish/finsy/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/byllyfish/finsy/branch/main/graph/badge.svg?token=8RPYWRXNGS)](https://codecov.io/gh/byllyfish/finsy)

Finsy is a P4Runtime controller framework written in Python using asyncio.

```python
import asyncio
import finsy as fy

async def main():
    sw1 = fy.Switch("sw1", "127.0.0.1:50001")
    async with sw1:
        print(sw1.p4info)

asyncio.run(main())
```

For more examples, see the examples directory.

