@@ -3,7 +3,11 @@ Name: json2sql
33Version: 0.1.0
44Summary: Convert JSON files/datasets to SQL INSERT statements
55Author: Revenue Holdings
6- License: MIT
6+ License-Expression: MIT
7+ Project-URL: Homepage, https://github.com/Coding-Dev-Tools/json2sql
8+ Project-URL: Repository, https://github.com/Coding-Dev-Tools/json2sql
9+ Project-URL: Documentation, https://github.com/Coding-Dev-Tools/json2sql#readme
10+ Project-URL: Issue Tracker, https://github.com/Coding-Dev-Tools/json2sql/issues
711Requires-Python: >=3.10
812Description-Content-Type: text/markdown
913Requires-Dist: typer>=0.9.0
@@ -14,9 +18,15 @@ Requires-Dist: pytest-cov; extra == "dev"
1418
1519# json2sql
1620
17- Convert JSON files/ datasets to SQL INSERT statements. Supports nested JSON (flattens to relational tables) , PostgreSQL, MySQL, and SQLite output dialects.
21+ Convert JSON files and datasets to SQL INSERT statements. Supports nested JSON, PostgreSQL, MySQL, and SQLite output dialects.
1822
19- ## Install
23+ [](https://pypi.org/project/json2sql/)
24+ [](https://pypi.org/project/json2sql/)
25+ [](https://github.com/Coding-Dev-Tools/json2sql/blob/main/LICENSE)
26+
27+ **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.
28+
29+ ## Installation
2030
2131```bash
2232pip install json2sql
@@ -25,7 +35,7 @@ pip install json2sql
2535## Quick Start
2636
2737```bash
28- # Basic usage - converts JSON to SQL INSERT statements
38+ # Basic usage — converts JSON to SQL INSERT statements
2939json2sql convert data.json
3040
3141# Specify output dialect
@@ -52,8 +62,51 @@ json2sql convert nested_data.json --flatten
5262- **Pipe support**: Read from stdin for pipeline usage
5363- **Zero dependencies**: Only Python 3.10+ required (typer for CLI)
5464
55- ## Revenue
65+ ## CI/CD Integration
66+
67+ ```bash
68+ # Generate SQL as part of a data pipeline
69+ cat data.json | json2sql convert --dialect postgres --table events > events.sql
70+
71+ # Use in GitHub Actions to prepare test data
72+ json2sql convert fixtures.json --dialect sqlite -o seed.sql
73+ sqlite3 test.db < seed.sql
74+ ```
75+
76+ ## Pricing
77+
78+ One license covers all Revenue Holdings CLI tools. Pricing is per-seat.
79+
80+ | Tier | Price | Best For |
81+ |------|-------|----------|
82+ | **Open Source** | $0 | Individual devs, OSS projects — CLI only, limited rows |
83+ | **Pro** | **$29/mo** ($23 billed annually) | Professional devs — unlimited rows, batch processing |
84+ | **Team** | **$79/mo** ($63 billed annually) | Teams up to 5 — API access, CI/CD integration, priority support |
85+ | **Enterprise** | **$199/mo** (custom) | Organizations — compliance reports, RBAC, SSO, SLA |
86+
87+ 🔹 **No lock-in**: CLI works fully offline on the free tier — no telemetry, no phone-home.
88+ 🔹 **Annual billing**: Save 20%.
89+
90+ ### Per-Tier Features
91+
92+ | Feature | OSS | Pro | Team | Enterprise |
93+ |---------|:---:|:---:|:----:|:----------:|
94+ | CLI: convert, pipe | ✓ | ✓ | ✓ | ✓ |
95+ | Unlimited rows per conversion | — | ✓ | ✓ | ✓ |
96+ | Batch processing | — | ✓ | ✓ | ✓ |
97+ | Schema generation | — | ✓ | ✓ | ✓ |
98+ | API access | — | — | ✓ | ✓ |
99+ | Compliance reports | — | — | — | ✓ |
100+ | RBAC | — | — | — | ✓ |
101+ | SSO / SAML / OIDC | — | — | — | ✓ |
102+ | Priority support | Community | 24h | 8h | Dedicated |
103+
104+ ---
105+
106+ <p align="center">
107+ <sub>Part of <a href="https://coding-dev-tools.github.io/revenueholdings.dev/">Revenue Holdings</a> — CLI tools built by autonomous AI.</sub>
108+ </p>
109+
110+ ## License
56111
57- - **Free tier**: Up to 1,000 rows per conversion
58- - **Pro tier** ($19/mo): Unlimited rows, batch processing, schema generation
59- - **Team tier** ($49/mo): API access, CI/CD integration, priority support
112+ MIT
0 commit comments