Skip to content

Commit b5ea6fa

Browse files
committed
README
1 parent a39de83 commit b5ea6fa

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# json_sql
2+
3+
`json_sql` is a Python library that allows you to run sql queries on JSON data. It is designed to be simple and easy to use, while providing powerful features for querying and manipulating JSON data.
4+
5+
## Usage
6+
7+
Assuming you have a directory structure like this:
8+
9+
```
10+
.
11+
├── organizations.json
12+
├── projects.json
13+
└── users.json
14+
```
15+
16+
You can query the JSON files using SQL syntax. For example, to get all users from the `users` file, you can run:
17+
18+
```sh
19+
json_sql "select * from users"
20+
```
21+
22+
This will return all the users in the `users.json` file.
23+
24+
## Installation
25+
26+
You can install `json_sql` using pip:
27+
28+
```sh
29+
pip install json_sql
30+
```

0 commit comments

Comments
 (0)