{"id":15657795,"url":"https://github.com/pythonicninja/pydrill","last_synced_at":"2025-08-22T00:31:49.450Z","repository":{"id":45738624,"uuid":"48703494","full_name":"PythonicNinja/pydrill","owner":"PythonicNinja","description":"Python Driver for Apache Drill.","archived":false,"fork":false,"pushed_at":"2023-02-08T00:43:56.000Z","size":81,"stargazers_count":59,"open_issues_count":15,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-10T05:51:36.294Z","etag":null,"topics":["apache-drill","python","python3"],"latest_commit_sha":null,"homepage":"https://pydrill.readthedocs.org","language":"Python","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/PythonicNinja.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-12-28T17:12:38.000Z","updated_at":"2024-05-03T05:14:17.000Z","dependencies_parsed_at":"2024-06-19T09:21:37.958Z","dependency_job_id":"90a6cc90-cdc5-4590-82b6-b7c9597fd5bf","html_url":"https://github.com/PythonicNinja/pydrill","commit_stats":{"total_commits":57,"total_committers":5,"mean_commits":11.4,"dds":"0.21052631578947367","last_synced_commit":"5dd6b7861937f7c3da9c594e792a31f57f5de617"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Fpydrill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Fpydrill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Fpydrill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PythonicNinja%2Fpydrill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PythonicNinja","download_url":"https://codeload.github.com/PythonicNinja/pydrill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230542288,"owners_count":18242332,"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","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":["apache-drill","python","python3"],"created_at":"2024-10-03T13:09:46.821Z","updated_at":"2024-12-20T06:06:56.813Z","avatar_url":"https://github.com/PythonicNinja.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"===============================\npydrill\n===============================\n\n.. image:: https://img.shields.io/travis/PythonicNinja/pydrill.svg\n        :target: https://travis-ci.org/PythonicNinja/pydrill\n\n.. image:: https://img.shields.io/pypi/v/pydrill.svg\n        :target: https://pypi.python.org/pypi/pydrill\n\n.. image:: https://readthedocs.org/projects/pydrill/badge/?version=latest\n        :target: https://readthedocs.org/projects/pydrill/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://coveralls.io/repos/github/PythonicNinja/pydrill/badge.svg?branch=master\n        :target: https://coveralls.io/github/PythonicNinja/pydrill?branch=master\n\n\nPython Driver for `Apache Drill \u003chttps://drill.apache.org/\u003e`_.\n\n*Schema-free SQL Query Engine for Hadoop, NoSQL and Cloud Storage*\n\n* Free software: MIT license\n* Documentation: https://pydrill.readthedocs.org.\n\nFeatures\n--------\n\n* Python 2/3 compatibility,\n* Support for all rest API calls inluding profiles/options/metrics `docs with full list \u003chttp://pydrill.readthedocs.io/en/latest/readme.html#supported-api-calls\u003e`_.\n* Mapping Results to internal python types,\n* Compatibility with Pandas data frame,\n* Drill Authentication using PAM,\n\nInstallation\n------------\n\nVersion from https://pypi.python.org/pypi/pydrill::\n\n    $ pip install pydrill\n\nLatest version from git::\n\n    $ pip install git+git://github.com/PythonicNinja/pydrill.git\n\nSample usage\n------------\n::\n\n    from pydrill.client import PyDrill\n\n    drill = PyDrill(host='localhost', port=8047)\n\n    if not drill.is_active():\n        raise ImproperlyConfigured('Please run Drill first')\n\n    yelp_reviews = drill.query('''\n      SELECT * FROM\n      `dfs.root`.`./Users/macbookair/Downloads/yelp_dataset_challenge_academic_dataset/yelp_academic_dataset_review.json`\n      LIMIT 5\n    ''')\n\n    for result in yelp_reviews:\n        print(\"%s: %s\" %(result['type'], result['date']))\n\n\n    # pandas dataframe\n\n    df = yelp_reviews.to_dataframe()\n    print(df[df['stars'] \u003e 3])\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonicninja%2Fpydrill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpythonicninja%2Fpydrill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpythonicninja%2Fpydrill/lists"}