brokenloop/jsontopydantic
关于
根据 JSON 对象生成 Pydantic 模型的网页工具
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文About The Project
JSON to Pydantic is a tool that lets you convert JSON objects into Pydantic models. JSON is the de-facto data interchange format of the internet, and Pydantic is a library that makes parsing JSON in Python a breeze.
This project provides a web interface through which you can quickly generate pydantic models from JSON objects.

Built With
This project is hosted serverlessly on AWS. The backend is deployed using AWS Lambda and API Gateway and the frontend is deployed using S3 and Cloudfront.
Getting Started
To get a local copy up and running follow these simple steps.
Prerequisites
- npm
- python 3.7+
Install Dependencies
Clone the repo
git clone https://github.com/brokenloop/jsontopydantic.git
Install NPM Packages
cd client
npm install
Install Python Dependencies
cd server
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
Run The Project
Client
cd client
npm start
If you want to test this using your local server, make sure you update the API link in App.tsx.
Server
cd server
uvicorn app.main:app --reload
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Acknowledgements
License
jsontopydantic is released under the MIT License. http://www.opensource.org/licenses/mit-license
探索相关项目
加载中…