Skip to main content

Python bindings to the Tokyo Cabinet database library

Project description


Python bindings for the Tokyo Cabinet database.

This code is heavily based on pytc developed by Tasuku SUENAGA.


  • Rasmus Andersson <rasmus at notion se>
  • Tasuku SUENAGA <gunyarakun sourceforge net>



  • Fixed missing storage for tc.Error


  • Branched from pytc into tc by Rasmus Andersson
  • Total refactoring including layout
  • Added Python 2.6 and 3.0 compatibility
  • Added documentation


  • Added Python 2.4 compatibility. Thanks to Vernon Tang.
  • Allow negitive values on optimize and tune methods of pytc.BDB and pytc.HDB. Thanks to Vernon Tang.
  • removed unnecessarily links(libz and libm). Thanks to Vernon Tang.


  • supports BZIP options for HDB/BDB


  • added addint/adddouble for HDB/BDB
  • raise KeyError instead of TCENOREC. Thanks to Hatem Nassrat.


  • removed compile errors on Tokyo Cabinet 1.3.19.


  • modified for darwin
  • added TCBDB.range and TCBDB.rangefwm


  • added iterkeys/itervalues/iteritems for HDB/BDB
  • bug fixed when spcified db[:] (thanks a2c)
  • refactoring


  • first version
  • hdb interface (thanks much for Shin ADACHI)
  • bdb interface

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tc-0.7.2.tar.gz (46.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page