{ "info": { "author": "Artyom Smirnov", "author_email": "artyom_smirnov@icloud.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Software Development :: Libraries" ], "description": "scidb4py \u2014 SciDB for Python\n===========================\n\nPure python SciDB client library.\n\nThis library aims to provide access to SciDB server through native network protocol based on protobuf. It still on early\nstages of development, so do not expect complete features support and stable work :)\n\nAny feedback and patches are welcome: https://github.com/artyom-smirnov/scidb4py/\n\nRuntime dependencies\n--------------------\n* python >= 2.7 or pypy >= 1.8 (python 3 not supported yet)\n* python-protobuf >= 2.4\n* bitstring\n\nBuild dependencies\n------------------\n* protobuf-compiler >= 2.4\n\nInstallation\n------------\n::\n\n sudo pip install scidb4py\n\nor\n\n::\n\n sudo python setup.py install\n\nExamples\n--------\nIterating through array item-by-item\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n::\n\n from scidb4py import Connection\n conn = Connection('localhost', 1239)\n conn.open()\n array = conn.execute(\"select * from array([x=0:3,2,0], '[0,1,2,3]')\")\n for pos, val in array:\n print '%d - %d' % (pos['x'], val['a'])\n conn.close()\n\n\nIterating through array chunk-by-chunk, item-by-item\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n::\n\n from scidb4py import Connection\n conn = Connection('localhost', 1239)\n conn.open()\n array = conn.execute(\"select * from array([x=0:2,3,0, y=0:2,3,0], '[[1,2,3][4,5,6][7,8,9]]')\")\n while not array.end:\n while not array.chunk_end:\n print '%s - %s' % (array.get_coordinates(), array.get_item(\"a\"))\n array.next_item()\n array.next_chunk()\n conn.close()\n\n\nChangelog\n---------\n\n0.0.6\n~~~~~\n* Fixed bug #15 (Large chunk can not fit single network message)\n* Fixed reading strings greater than 8 bytes from RLE chunks\n* Added 'active' property to Connection which indicate active query\n* Basic query autocomplete and autocancel. Complete by default.\n\n0.0.5\n~~~~~\n* Fixed bug #14 (Strange bzipped chunk issue)\n* Fixed bug #5 (Compressed chunk support)\n* scidb4py now provide __version__ string", "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/artyom-smirnov/scidb4py", "keywords": null, "license": "GPLv3", "maintainer": null, "maintainer_email": null, "name": "scidb4py", "package_url": "https://pypi.org/project/scidb4py/", "platform": "any", "project_url": "https://pypi.org/project/scidb4py/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/artyom-smirnov/scidb4py" }, "release_url": "https://pypi.org/project/scidb4py/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "Pure python SciDB client library implementation", "version": "0.0.6" }, "last_serial": 831515, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "62d47423ef272dd64365bf7c41be9198", "sha256": "178aeef7dbeb467e741350b82c893e1f231f0d580258a1dfd81fd65ab3512f1b" }, "downloads": -1, "filename": "scidb4py-0.0.2.tar.gz", "has_sig": false, "md5_digest": "62d47423ef272dd64365bf7c41be9198", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11686, "upload_time": "2013-07-30T21:04:34", "url": "https://files.pythonhosted.org/packages/f8/12/f4436eded1cdba9ef43404b2a52c4a20e079f83609adc78fc7e0161ab034/scidb4py-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4ab078c728a9fff2ac5fc1c041e04b1c", "sha256": "858c593aad78183766802e013c979421df674a3df180d64dbb632f4d2de5fae6" }, "downloads": -1, "filename": "scidb4py-0.0.3.tar.gz", "has_sig": false, "md5_digest": "4ab078c728a9fff2ac5fc1c041e04b1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11629, "upload_time": "2013-07-30T21:16:21", "url": "https://files.pythonhosted.org/packages/c6/aa/6c757292f9e648e53d4015f6469b43f8efec09b75e5a653c9e1c4665f44a/scidb4py-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "960061f25bd98a65e79a9d91bf11338b", "sha256": "8242e17c24674f82bf4fcadb2a14698a9c004409895f7cbf40cf312516ca0723" }, "downloads": -1, "filename": "scidb4py-0.0.4.tar.gz", "has_sig": false, "md5_digest": "960061f25bd98a65e79a9d91bf11338b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11624, "upload_time": "2013-07-30T21:23:53", "url": "https://files.pythonhosted.org/packages/8e/91/bc8d15df24ac5d31b452cdabe8615885c23a764c5b2ce54da272ae9a85c4/scidb4py-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "bc74772ad9437abb9bab5b76aac74e04", "sha256": "eee437a8ffe0dcac96c724b22a0c0b15e2e629b2c3cb411857bf8b6843c47fc2" }, "downloads": -1, "filename": "scidb4py-0.0.5.tar.gz", "has_sig": false, "md5_digest": "bc74772ad9437abb9bab5b76aac74e04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11925, "upload_time": "2013-08-02T14:13:18", "url": "https://files.pythonhosted.org/packages/c8/b4/b6c7615f5100c95c4c9700f4ddc9cbdc806993a2d34999adff0abdd29493/scidb4py-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "f6cf41aefb055420022fd1f993933130", "sha256": "d74bd2e9e80fff5fb37bb3a2bb39acd2b8d87f791dfc2f46ff60e1c90806b426" }, "downloads": -1, "filename": "scidb4py-0.0.6.tar.gz", "has_sig": false, "md5_digest": "f6cf41aefb055420022fd1f993933130", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24385, "upload_time": "2013-08-03T12:04:36", "url": "https://files.pythonhosted.org/packages/94/9e/fbe848a65c3d0824e3788c13c706d349d55b192c299ab602036393352cae/scidb4py-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f6cf41aefb055420022fd1f993933130", "sha256": "d74bd2e9e80fff5fb37bb3a2bb39acd2b8d87f791dfc2f46ff60e1c90806b426" }, "downloads": -1, "filename": "scidb4py-0.0.6.tar.gz", "has_sig": false, "md5_digest": "f6cf41aefb055420022fd1f993933130", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24385, "upload_time": "2013-08-03T12:04:36", "url": "https://files.pythonhosted.org/packages/94/9e/fbe848a65c3d0824e3788c13c706d349d55b192c299ab602036393352cae/scidb4py-0.0.6.tar.gz" } ] }