Skip to content

Commit e709102

Browse files
fix: replace broken PyPI badges with GitHub release badge, update package name to json2sql-cli
1 parent bd79513 commit e709102

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,22 @@
44

55
Convert JSON files and datasets to SQL INSERT statements. Supports nested JSON, PostgreSQL, MySQL, and SQLite output dialects.
66

7-
[![PyPI](https://img.shields.io/pypi/v/json2sql)](https://pypi.org/project/json2sql/)
8-
[![Python](https://img.shields.io/pypi/pyversions/json2sql)](https://pypi.org/project/json2sql/)
9-
[![License](https://img.shields.io/pypi/l/json2sql)](https://github.com/Coding-Dev-Tools/json2sql/blob/main/LICENSE)
7+
[![GitHub release](https://img.shields.io/github/v/release/Coding-Dev-Tools/json2sql?label=latest)](https://github.com/Coding-Dev-Tools/json2sql/releases)
8+
![Python](https://img.shields.io/badge/python-3.10%2B-blue)
9+
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/Coding-Dev-Tools/json2sql/blob/main/LICENSE)
1010

1111
**Why json2sql?** Moving data from JSON into a database should be one command, not a script you maintain. json2sql takes JSON files — flat or nested — and produces correct SQL INSERT statements in your dialect of choice. Nested objects are automatically flattened into relational tables. Arrays become multiple INSERT rows. Type inference handles strings, numbers, booleans, and nulls without configuration. Pipe data from stdin, specify the table name, and get clean SQL out. Zero dependencies beyond Python 3.10+ and the CLI.
1212

1313
## Installation
1414

1515
```bash
16-
pip install json2sql
16+
pip install json2sql-cli
17+
```
18+
19+
Or install directly from GitHub:
20+
21+
```bash
22+
pip install git+https://github.com/Coding-Dev-Tools/json2sql.git
1723
```
1824

1925
Or install directly from GitHub:

0 commit comments

Comments
 (0)