{"id":30910242,"url":"https://github.com/lmmx/polars-genson","last_synced_at":"2025-09-09T17:04:10.970Z","repository":{"id":310413290,"uuid":"1039748143","full_name":"lmmx/polars-genson","owner":"lmmx","description":"A Polars plugin for JSON schema inference from string columns using genson-rs.","archived":false,"fork":false,"pushed_at":"2025-09-06T14:17:15.000Z","size":23095,"stargazers_count":5,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-06T16:13:56.340Z","etag":null,"topics":["genson","json-schema","polars-dataframe","polars-extensions","schema-inference"],"latest_commit_sha":null,"homepage":"https://polars-genson.vercel.app","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmmx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-17T22:43:15.000Z","updated_at":"2025-09-06T14:41:16.000Z","dependencies_parsed_at":"2025-08-18T00:23:57.468Z","dependency_job_id":"2577b7c4-06ef-440b-93f9-7287978af427","html_url":"https://github.com/lmmx/polars-genson","commit_stats":null,"previous_names":["lmmx/polars-genson"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/lmmx/polars-genson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fpolars-genson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fpolars-genson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fpolars-genson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fpolars-genson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmmx","download_url":"https://codeload.github.com/lmmx/polars-genson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmmx%2Fpolars-genson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274009598,"owners_count":25206760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["genson","json-schema","polars-dataframe","polars-extensions","schema-inference"],"created_at":"2025-09-09T17:03:25.153Z","updated_at":"2025-09-09T17:04:10.959Z","avatar_url":"https://github.com/lmmx.png","language":"Rust","funding_links":[],"categories":["Libraries/Packages/Scripts"],"sub_categories":["Polars plugins"],"readme":"# Polars Genson\n\n[![PyPI](https://img.shields.io/pypi/v/polars-genson?color=%2300dc00)](https://pypi.org/project/polars-genson)\n[![crates.io: genson-core](https://img.shields.io/crates/v/genson-core.svg?label=genson-core)](https://crates.io/crates/genson-core)\n[![crates.io: genson-cli](https://img.shields.io/crates/v/genson-cli.svg?label=genson-cli)](https://crates.io/crates/genson-cli)\n[![crates.io: polars-jsonschema-bridge](https://img.shields.io/crates/v/polars-jsonschema-bridge.svg?label=polars-jsonschema-bridge)](https://crates.io/crates/polars-jsonschema-bridge)\n[![MIT licensed](https://img.shields.io/crates/l/genson-core.svg)](https://github.com/lmmx/polars-genson/blob/master/LICENSE)\n\nFast JSON schema inference with support for Polars DataFrames.\n\n## Project Structure\n\nThis workspace contains multiple interconnected crates, most people will probably want the Python\npackage:\n\n### Python Package\n- **[polars-genson-py/](https://github.com/lmmx/polars-genson/blob/master/polars-genson-py)** - Python bindings and Polars plugin\n\n#### Quick Start\n\n```bash\npip install polars-genson[polars]\n```\n\n```python\nimport polars as pl\nimport polars_genson\n\ndf = pl.DataFrame({\n    \"json_data\": [\n        '{\"name\": \"Alice\", \"age\": 30, \"scores\": [95, 87]}',\n        '{\"name\": \"Bob\", \"age\": 25, \"city\": \"NYC\", \"active\": true}'\n    ]\n})\n\njson_schema = df.genson.infer_json_schema(\"json_data\")\npolars_schema = df.genson.infer_polars_schema(\"json_data\")\n```\n\n### Rust Libraries\n\n- **[genson-core/](https://github.com/lmmx/polars-genson/blob/master/genson-core)** - Core JSON schema inference library\n- **[polars-jsonschema-bridge/](https://github.com/lmmx/polars-genson/blob/master/polars-jsonschema-bridge)** - JSON Schema ↔ Polars type conversion\n- **[genson-cli/](https://github.com/lmmx/polars-genson/blob/master/genson-cli)** - Command-line schema inference tool\n\n## Features\n\n- **Fast schema inference** from JSON strings in Polars columns\n- **Dual output formats**: JSON Schema and native Polars schemas\n- **Complex type support**: nested objects, arrays, mixed types\n- **Multiple JSON formats**: single objects, arrays, NDJSON\n- **Rust performance** with Python convenience\n\n## Documentation\n\nEach component has detailed documentation:\n\n- **Python users**: See [polars-genson-py/README.md](https://github.com/lmmx/polars-genson/blob/master/polars-genson-py/README.md)\n- **Rust developers**: See individual crate READMEs\n- **Development**: See [DEVELOPMENT.md](https://github.com/lmmx/polars-genson/blob/master/DEVELOPMENT.md)\n\n## License\n\nLicensed under the MIT License. See [LICENSE](https://github.com/lmmx/polars-genson/blob/master/LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmmx%2Fpolars-genson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmmx%2Fpolars-genson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmmx%2Fpolars-genson/lists"}