{ "info": { "author": "Leif Walsh", "author_email": "leif@twosigma.com", "bugtrack_url": null, "classifiers": [], "description": "lancaster\n=========\n\nA python extension wrapper for [avro-c][avro-c].\n\nCurrently only supports reading a stream of avro serialized data.\nDoes not support writing, nor the avro container format. For more\ndetails on what lancaster is willing to read, see the\n[lancaster spec](docs/spec.md).\n\nSee also [the Avro project page][avro].\n\nUsage\n-----\n\n schema = '{ ... }'\n with open('data.avro', 'rb') as f:\n data = list(lancaster.read_stream(schema, f))\n\n`lancaster.read_stream()` accepts a json string describing the schema,\nand a stream to read from, and returns a generator which will produce\npython versions of the avro data (dicts, lists, ints, strings).\n\nInstallation\n------------\n\nA conda package is provided at [anaconda.org][anaconda]. This depends\non conda packages providing the C libraries required, `libsnappy`,\n`jansson`, and `libavro-c`.\n\n conda create -n lancaster -c leif python lancaster\n\nYou can also install using just pip or setuptools, assuming you have\n`avro-c` and `libsnappy` installed on your system, which you can\nprobably get from your OS package manager. On debian and ubuntu\nsystems, you can install `libavro-dev` and `libsnappy-dev`.\n\n pip install lancaster\n\nor\n\n git clone https://github.com/twosigma/lancaster\n cd lancaster\n python setup.py install\n\nCaveats\n-------\n\nRecursive structures (links) are not supported. Writing anything, and\nthe avro container file format, are also not supported. Happy to\naccept pull requests but I don't need those features personally yet.\n\nLicense\n-------\n\nCopyright 2016 Two Sigma Open Source, LLC. [MIT licensed][license].\n\n[anaconda]: https://anaconda.org/leif/lancaster\n[avro]: https://avro.apache.org/\n[avro-c]: http://avro.apache.org/docs/1.7.7/api/c/index.html\n[license]: https://github.com/twosigma/lancaster/blob/master/LICENSE\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/twosigma/lancaster/tarball/0.3.4", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/twosigma/lancaster", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "lancaster", "package_url": "https://pypi.org/project/lancaster/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/lancaster/", "project_urls": { "Download": "https://github.com/twosigma/lancaster/tarball/0.3.4", "Homepage": "https://github.com/twosigma/lancaster" }, "release_url": "https://pypi.org/project/lancaster/0.3.4/", "requires_dist": null, "requires_python": null, "summary": "A python extension wrapper for avro-c", "version": "0.3.4" }, "last_serial": 2323535, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "744a4860b97431c73942f9f7e2639e8c", "sha256": "8b13ca54249fc2f55e3d0185893054042c16e61c029bcae85afc2fbf1555bf12" }, "downloads": -1, "filename": "lancaster-0.3.0.tar.gz", "has_sig": false, "md5_digest": "744a4860b97431c73942f9f7e2639e8c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24187, "upload_time": "2016-08-02T00:55:40", "url": "https://files.pythonhosted.org/packages/38/95/412b7c0b9afcb1b68d8846617e00b2f0565624f3d3ca518cf9fae55d3778/lancaster-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "7a3cab3839e38b2c30c71af368ead1de", "sha256": "224a3a4f42efba4dd955da9d2935c6b5089a6b7716148b43a2d3e931f543711f" }, "downloads": -1, "filename": "lancaster-0.3.1.tar.gz", "has_sig": false, "md5_digest": "7a3cab3839e38b2c30c71af368ead1de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24202, "upload_time": "2016-08-02T01:15:46", "url": "https://files.pythonhosted.org/packages/27/0c/4d67a12a37df06510544d4fcc19c5da8804adfeb0f132cf583966f95757d/lancaster-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "53b817ad46c8eb072d92e23a7371c811", "sha256": "9dc1ca7d9ec9315ad8c3beb558774b16bb605bac189f527722a7b5d7ff605164" }, "downloads": -1, "filename": "lancaster-0.3.2.tar.gz", "has_sig": false, "md5_digest": "53b817ad46c8eb072d92e23a7371c811", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24200, "upload_time": "2016-08-02T01:36:40", "url": "https://files.pythonhosted.org/packages/ec/61/2e7483f18654be59b17133fc0c61274c1835c08092e662629c233565bbc9/lancaster-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "fb86ae1e51ebc6a33f3c6e66166dfb3d", "sha256": "1cf5b9a659b16159d1a6dd90db226693ae5277ae992c0df3440eb2f293c44449" }, "downloads": -1, "filename": "lancaster-0.3.3.tar.gz", "has_sig": false, "md5_digest": "fb86ae1e51ebc6a33f3c6e66166dfb3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24224, "upload_time": "2016-08-03T05:29:56", "url": "https://files.pythonhosted.org/packages/16/d5/005e61cd73031e72840547eb663731165570436ff3e6f08dbc7605230bf6/lancaster-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "ba1a17003f12d220f97d731c0ba11953", "sha256": "f2e8d31686c3b63a6b7b088c531fb480a2ab9a0d983b4ef7757f1be346c3926a" }, "downloads": -1, "filename": "lancaster-0.3.4.tar.gz", "has_sig": false, "md5_digest": "ba1a17003f12d220f97d731c0ba11953", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24104, "upload_time": "2016-09-04T01:05:34", "url": "https://files.pythonhosted.org/packages/c0/6f/3a889291e684372cce89614c10dfc81ffb67a6892d69b5609015beb71c9d/lancaster-0.3.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba1a17003f12d220f97d731c0ba11953", "sha256": "f2e8d31686c3b63a6b7b088c531fb480a2ab9a0d983b4ef7757f1be346c3926a" }, "downloads": -1, "filename": "lancaster-0.3.4.tar.gz", "has_sig": false, "md5_digest": "ba1a17003f12d220f97d731c0ba11953", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24104, "upload_time": "2016-09-04T01:05:34", "url": "https://files.pythonhosted.org/packages/c0/6f/3a889291e684372cce89614c10dfc81ffb67a6892d69b5609015beb71c9d/lancaster-0.3.4.tar.gz" } ] }