This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Pure python SciDB client library.

This library aims to provide access to SciDB server through native network protocol based on protobuf. It still on early stages of development, so do not expect complete features support and stable work :)

Any feedback and patches are welcome: https://github.com/artyom-smirnov/scidb4py/

Runtime dependencies

  • python >= 2.7 or pypy >= 1.8 (python 3 not supported yet)
  • python-protobuf >= 2.4
  • bitstring

Build dependencies

  • protobuf-compiler >= 2.4

Installation

sudo pip install scidb4py

or

sudo python setup.py install

Examples

Iterating through array item-by-item

from scidb4py import Connection
conn = Connection('localhost', 1239)
conn.open()
array = conn.execute("select * from array(<a:int32>[x=0:3,2,0], '[0,1,2,3]')")
for pos, val in array:
    print '%d - %d' % (pos['x'], val['a'])
conn.close()

Iterating through array chunk-by-chunk, item-by-item

from scidb4py import Connection
conn = Connection('localhost', 1239)
conn.open()
array = conn.execute("select * from array(<a:int32 null>[x=0:2,3,0, y=0:2,3,0], '[[1,2,3][4,5,6][7,8,9]]')")
while not array.end:
    while not array.chunk_end:
        print '%s - %s' % (array.get_coordinates(), array.get_item("a"))
        array.next_item()
    array.next_chunk()
conn.close()

Changelog

0.0.6

  • Fixed bug #15 (Large chunk can not fit single network message)
  • Fixed reading strings greater than 8 bytes from RLE chunks
  • Added ‘active’ property to Connection which indicate active query
  • Basic query autocomplete and autocancel. Complete by default.

0.0.5

  • Fixed bug #14 (Strange bzipped chunk issue)
  • Fixed bug #5 (Compressed chunk support)
  • scidb4py now provide __version__ string
Release History

Release History

0.0.6

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
scidb4py-0.0.6.tar.gz (24.4 kB) Copy SHA256 Checksum SHA256 Source Aug 3, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting