{ "info": { "author": "Wojciech Nowak", "author_email": "mail@pythonic.ninja", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "===============================\npyDrill-dsl\n===============================\n\n.. image:: https://img.shields.io/travis/PythonicNinja/pydrill_dsl.svg\n :target: https://travis-ci.org/PythonicNinja/pydrill_dsl\n\n.. image:: https://img.shields.io/pypi/v/pydrill_dsl.svg\n :target: https://pypi.python.org/pypi/pydrill_dsl\n\n.. image:: https://readthedocs.org/projects/pydrill_dsl/badge/?version=latest\n :target: https://readthedocs.org/projects/pydrill_dsl/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://coveralls.io/repos/github/PythonicNinja/pydrill_dsl/badge.svg\n :target: https://coveralls.io/github/PythonicNinja/pydrill_dsl\n\n\nPythonic DSL for `Apache Drill `_.\n\n*Schema-free SQL Query Engine for Hadoop, NoSQL and Cloud Storage*\n\n* Free software: MIT license\n* Documentation: https://pydrill_dsl.readthedocs.org.\n\nFeatures\n--------\n\n* Uses Peewee syntax\n* Support for all storage plugins\n* Support for drivers PyODBC and pyDrill\n\nSample usage\n------------\n::\n\n from pydrill_dsl.resource import Resource\n\n class Employee(Resource):\n first_name = Field()\n salary = Field()\n position_id = Field()\n department_id = Field()\n\n class Meta:\n storage_plugin = 'cp'\n path = 'employee.json'\n\n\n Employee.select().filter(salary__gte=17000)\n\n Employee.select().paginate(page=1, paginate_by=5)\n\n\n salary_gte_17K = (Employee.salary >= 17000)\n salary_lte_25K = (Employee.salary <= 25000)\n Employee.select().where(salary_gte_17K & salary_lte_25K)\n\n Employee.select(\n fn.Min(Employee.salary).alias('salary_min'),\n fn.Max(Employee.salary).alias('salary_max')\n ).scalar(as_tuple=True)\n\n # creation of resource can be done without creation of class:\n employee = Resource(storage_plugin='cp', path='employee.json',\n fields=('first_name', 'salary', 'position_id', 'department_id'))\n\n\n=======\nHistory\n=======\n\n0.0.2 (2016-05-19)\n------------------\n\n* First release on PyPI.\n* Uses Peewee syntax\n* Support for all storage plugins\n* Support for drivers PyODBC and pyDrill\n* Builds are tested by docker container with Apache Drill running\n\n0.0.1 (2016-02-18)\n------------------\n\n* Initial release on github.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PythonicNinja/pydrill_dsl", "keywords": "pydrill_dsl", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pydrill_dsl", "package_url": "https://pypi.org/project/pydrill_dsl/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pydrill_dsl/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/PythonicNinja/pydrill_dsl" }, "release_url": "https://pypi.org/project/pydrill_dsl/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Pythonic DSL for Apache Drill", "version": "0.0.2" }, "last_serial": 2123387, "releases": { "0.0.2": [] }, "urls": [] }