semvec/pypi-packages huggingface dataset:
uniswap-v3-liquidity-pool-simulator 0.3.4
A simple simulator for Uniswap V3 liquidity pools.
Requires Python: >=3.6

# Uniswap V3 Liquidity Pool Simulator

A simple Python package to simulate earnings in a Uniswap V3 liquidity pool for USDC and USDT tokens.

## Installation

Run the following command to install:

```bash
pip install uniswap_v3_liquidity_pool_simulator
protobuf2pydantic 2024.4.18
Generate a file which include pydantic models by protobuf.pb2 file
Requires Python: >=3.6

# protobuf2pydantic

![GitHub](https://img.shields.io/github/license/Ed-XCF/protobuf2pydantic)
[![Build Status](https://www.travis-ci.org/Ed-XCF/protobuf2pydantic.svg?branch=main)](https://www.travis-ci.org/Ed-XCF/protobuf2pydantic)
[![codecov](https://codecov.io/gh/Ed-XCF/protobuf2pydantic/branch/main/graph/badge.svg?token=4YYBSTLS5F)](https://codecov.io/gh/Ed-XCF/protobuf2pydantic)
![PyPI](https://img.shields.io/pypi/v/protobuf2pydantic)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Ed-XCF/protobuf2pydantic.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Ed-XCF/protobuf2pydantic/context:python)

### Generate a file which include pydantic models by using protobuf.pb2 file
## Installation
```shell
pip3 install protobuf2pydantic
```

## Getting Started
### in CLI
```shell
pb2py ../test_pb2.py > wow.py
```

### in Python
```python
from protobuf2pydantic import msg2py
from pydantic import validator

import transaction_pb2


class AmountResponse(msg2py(transaction_pb2.AmountResponse)):
    @validator("amount")
    def non_negative(cls, v):
        assert v >= 0
        return v
```

### * Required proto file syntax = "proto3";