https://github.com/justmars/sqlpyd
Combining sqlite-utils data management + Pydantic data validation for data that will (later) be deployed in a specific Datasette project: LawData.
https://github.com/justmars/sqlpyd
legal pydantic sqlite sqlite-utils
Last synced: 2 months ago
JSON representation
Combining sqlite-utils data management + Pydantic data validation for data that will (later) be deployed in a specific Datasette project: LawData.
- Host: GitHub
- URL: https://github.com/justmars/sqlpyd
- Owner: justmars
- License: bsd-3-clause
- Created: 2022-10-28T10:05:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-25T23:08:33.000Z (almost 3 years ago)
- Last Synced: 2025-02-17T17:17:12.245Z (over 1 year ago)
- Topics: legal, pydantic, sqlite, sqlite-utils
- Language: Python
- Homepage: https://justmars.github.io/sqlpyd/
- Size: 737 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sqlpyd

Validate raw content with pydantic for consumption by sqlite-utils; utilized in the [LawSQL dataset](https://lawsql.com).
## Documentation
See [documentation](https://justmars.github.io/sqlpyd).
## Development
Checkout code, create a new virtual environment:
```sh
poetry add sqlpyd # python -m pip install sqlpyd
poetry install # install dependencies
poetry shell
```
Run tests:
```sh
pytest
```