{"id":9153200,"name":"mindsql","ecosystem":"pypi","description":"Text-2-SQL made easy in just a few lines of python.","homepage":"https://www.mindinventory.com/text-to-sql-mindsql.php","licenses":"GPL-3.0-or-later","normalized_licenses":["GPL-3.0-or-later"],"repository_url":"https://github.com/Mindinventory/MindSQL","keywords_array":["Text2SQL","data","text to sql","Text-to-SQL","RAG","LLM","NLP"],"namespace":null,"versions_count":6,"first_release_published_at":"2024-03-01T12:57:25.000Z","latest_release_published_at":"2024-03-13T06:08:58.000Z","latest_release_number":"0.2.1","last_synced_at":"2026-04-04T18:14:12.025Z","created_at":"2024-03-01T13:03:10.607Z","updated_at":"2026-04-04T22:13:58.669Z","registry_url":"https://pypi.org/project/mindsql/","install_command":"pip install mindsql --index-url https://pypi.org/simple","documentation_url":"https://mindsql.readthedocs.io/","metadata":{"funding":null,"documentation":null,"classifiers":["License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)","Programming Language :: Python :: 3","Programming Language :: Python :: 3.10","Programming Language :: Python :: 3.11","Programming Language :: Python :: 3.12","Topic :: Scientific/Engineering :: Artificial Intelligence","Topic :: Software Development :: Libraries :: Application Frameworks","Topic :: Software Development :: Libraries :: Python Modules"],"normalized_name":"mindsql","project_status":null},"repo_metadata":{"id":225959491,"uuid":"765636168","full_name":"Mindinventory/MindSQL","owner":"Mindinventory","description":"MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions. Seamlessly integrates with PostgreSQL, MySQL, SQLite, Snowflake, and BigQuery. Powered by GPT-4 and Llama 2, it enables natural language queries. Supports ChromaDB and Faiss for context-aware responses.","archived":false,"fork":false,"pushed_at":"2025-07-16T09:31:05.000Z","size":92,"stargazers_count":421,"open_issues_count":6,"forks_count":41,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-09-25T06:31:04.481Z","etag":null,"topics":["chatbot","gemini","langchain","rag","retrival-augmented","text-to-sql"],"latest_commit_sha":null,"homepage":"https://www.mindinventory.com/text-to-sql-mindsql.php?utm_source=sampromotiion\u0026utm_medium=Button\u0026utm_campaign=sampromotion\u0026utm_id=sampromotion\u0026utm_term=sampromotiion\u0026utm_content=sampromotiion","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mindinventory.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-01T10:13:07.000Z","updated_at":"2025-09-21T21:48:57.000Z","dependencies_parsed_at":"2024-06-27T12:43:36.788Z","dependency_job_id":null,"html_url":"https://github.com/Mindinventory/MindSQL","commit_stats":null,"previous_names":["sammindinventory/mindsql"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Mindinventory/MindSQL","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mindinventory","download_url":"https://codeload.github.com/Mindinventory/MindSQL/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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"},"owner_record":{"login":"Mindinventory","name":"MindInventory","uuid":"16474404","kind":"organization","description":"MindInventory works with Enterprises, Startups, and Agencies since 2011 providing web, mobile app development, enterprise mobility solutions \u0026 DevOps services.","email":"sales@mindinventory.com","website":"https://www.mindinventory.com/","location":"India","twitter":"Mindinventory","company":null,"icon_url":"https://avatars.githubusercontent.com/u/16474404?v=4","repositories_count":65,"last_synced_at":"2023-03-04T22:43:21.003Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/Mindinventory","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-15T02:02:24.609Z","updated_at":"2023-03-04T22:43:21.017Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mindinventory","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mindinventory/repositories"},"tags":[{"name":"v0.2.1","sha":"20d677c2eb4d8c3f80bb6bfff0e4a959eb1958bc","kind":"commit","published_at":"2024-03-13T05:58:51.000Z","download_url":"https://codeload.github.com/Mindinventory/MindSQL/tar.gz/v0.2.1","html_url":"https://github.com/Mindinventory/MindSQL/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Mindinventory/MindSQL@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"66137f73b419e5a69019e3bd3e473a9cf8abd3f9","kind":"commit","published_at":"2024-03-08T11:39:13.000Z","download_url":"https://codeload.github.com/Mindinventory/MindSQL/tar.gz/v0.2.0","html_url":"https://github.com/Mindinventory/MindSQL/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Mindinventory/MindSQL@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/tags/v0.2.0/manifests"},{"name":"v0.1.3","sha":"1d4284394117a7b43940eda6e18edec8be36a570","kind":"commit","published_at":"2024-03-07T12:11:45.000Z","download_url":"https://codeload.github.com/Mindinventory/MindSQL/tar.gz/v0.1.3","html_url":"https://github.com/Mindinventory/MindSQL/releases/tag/v0.1.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Mindinventory/MindSQL@v0.1.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/tags/v0.1.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mindinventory%2FMindSQL/tags/v0.1.3/manifests"}]},"repo_metadata_updated_at":"2026-04-04T18:15:29.377Z","dependent_packages_count":0,"downloads":132,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":64.48099829835508,"dependent_packages_count":9.77311401020987,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":37.12705615428247},"purl":"pkg:pypi/mindsql","advisories":[{"uuid":"GSA_kwCzR0hTQS1tNm00LTM0Y2otNGhoN84ABT8e","url":"https://github.com/advisories/GHSA-m6m4-34cj-4hh7","title":"MindSQL is vulnerable to Code Injection through its ask_db function","description":"A vulnerability was found in Mindinventory MindSQL up to 0.2.1. Impacted is the function ask_db of the file mindsql/core/mindsql_core.py. Performing a manipulation results in code injection. The attack can be initiated remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.","origin":"UNSPECIFIED","severity":"LOW","published_at":"2026-03-21T00:31:42.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":2.1,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","references":["https://nvd.nist.gov/vuln/detail/CVE-2026-4506","https://github.com/Ka7arotto/cve/blob/main/MindSQL-RCE.md","https://vuldb.com/?ctiid.352072","https://vuldb.com/?id.352072","https://vuldb.com/?submit.773898","https://github.com/advisories/GHSA-m6m4-34cj-4hh7"],"source_kind":"github","identifiers":["GHSA-m6m4-34cj-4hh7","CVE-2026-4506"],"repository_url":null,"blast_radius":0.0,"created_at":"2026-03-23T22:00:08.741Z","updated_at":"2026-04-04T22:00:35.961Z","epss_percentage":0.00046,"epss_percentile":0.14083,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tNm00LTM0Y2otNGhoN84ABT8e","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS1tNm00LTM0Y2otNGhoN84ABT8e","packages":[{"ecosystem":"pypi","package_name":"mindsql","versions":[{"first_patched_version":null,"vulnerable_version_range":"\u003c= 0.2.1"}],"purl":"pkg:pypi/mindsql"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1tNm00LTM0Y2otNGhoN84ABT8e/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/pypi/mindsql","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/pypi/mindsql","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pypi/mindsql/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-04-04T18:15:05.757Z","issues_count":21,"pull_requests_count":20,"avg_time_to_close_issue":153408.375,"avg_time_to_close_pull_request":1097239.1764705882,"issues_closed_count":8,"pull_requests_closed_count":17,"pull_request_authors_count":5,"issue_authors_count":15,"avg_comments_per_issue":0.8095238095238095,"avg_comments_per_pull_request":0.0,"merged_pull_requests_count":16,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":2,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":8897510.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":2,"past_year_avg_comments_per_issue":0.0,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/mindinventory%2Fmindsql/issues","maintainers":[{"login":"ishika-mi","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ishika-mi"},{"login":"siddhant-mi","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/siddhant-mi"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/mindsql/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/mindsql/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/mindsql/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/mindsql/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/mindsql/codemeta","maintainers":[{"uuid":"MindInventory","login":"MindInventory","name":null,"email":null,"url":null,"packages_count":1,"html_url":"https://pypi.org/user/MindInventory/","role":null,"created_at":"2024-03-01T13:05:33.462Z","updated_at":"2024-03-01T13:05:33.462Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/pypi.org/maintainers/MindInventory/packages"}]}