Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Release history Release notifications

This version


Download files

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

Files for tc, version 0.7.2
Filename, size File type Python version Upload date Hashes
Filename, size tc-0.7.2.tar.gz (46.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page