This project is a web application built with Streamlit that allows users to convert Pydantic models to BNF (Backus–Naur Form) grammar. It's designed to simplify the process of generating grammar specifications for data validation models defined in Pydantic.
This project is released under the MIT License.
- Python 3.6 or higher
Clone the repository:
git clone https://github.com/your-username/Pydantic_to_BNF_Grammar.git
cd Pydantic_to_BNF_Grammar
Install the required dependencies:
pip install -r requirements.txt
To run the application:
streamlit run app.py
The application will start and you can access it via your web browser http://localhost:8501
If you would like to contribute to this project, please feel free to make a pull request.
For more information on Streamlit, see their documentation. For more information on Pydantic, see the Pydantic documentation.