{"id":31217015,"url":"https://github.com/tjake/osbench","last_synced_at":"2025-09-21T13:47:13.476Z","repository":{"id":314903780,"uuid":"1054293922","full_name":"tjake/osbench","owner":"tjake","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-15T13:31:35.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-15T15:23:43.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tjake.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-10T16:25:54.000Z","updated_at":"2025-09-15T13:31:39.000Z","dependencies_parsed_at":"2025-09-15T15:23:45.688Z","dependency_job_id":"d668b00e-70df-4aed-b2bf-ad81e5d60dc3","html_url":"https://github.com/tjake/osbench","commit_stats":null,"previous_names":["tjake/osbench"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tjake/osbench","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjake%2Fosbench","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjake%2Fosbench/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjake%2Fosbench/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjake%2Fosbench/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tjake","download_url":"https://codeload.github.com/tjake/osbench/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tjake%2Fosbench/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276250924,"owners_count":25610373,"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-21T02:00:07.055Z","response_time":72,"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":[],"created_at":"2025-09-21T13:47:11.093Z","updated_at":"2025-09-21T13:47:13.456Z","avatar_url":"https://github.com/tjake.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenSearch Parquet Loader\n\nThis script efficiently loads data from Parquet files into an OpenSearch index, leveraging batch processing and multiple connections to maximize indexing speed.\n\n## Prerequisites\n\n- Python 3.8+\n- Access to an OpenSearch cluster\n\n## Setup\n\n1.  **Clone the repository:**\n    ```bash\n    git clone https://github.com/your-username/osbench.git\n    cd osbench\n    ```\n\n2.  **Install dependencies:**\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3.  **Configure environment variables:**\n    Create a `.env` file in the project root and add your OpenSearch connection details:\n    ```\n    OPENSEARCH_HOSTS='[\"http://localhost:9200\"]'\n    OPENSEARCH_INDEX=\"my-index\"\n    ```\n\n## Usage\n\nRun the script from the command line, providing the path to your Parquet file and the number of parallel workers:\n\n```bash\npython osbench.py /path/to/your/data.parquet --workers 4\n```\n\n-   `/path/to/your/data.parquet`: The Parquet file to load.\n-   `--workers`: The number of parallel connections to use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjake%2Fosbench","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftjake%2Fosbench","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftjake%2Fosbench/lists"}