Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.402.339 Times

dbdict 1.0

Company: Jacob Sondergaard
Date Added: October 14, 2013  |  Visits: 300

dbdict

Report Broken Link
Printer Friendly Version


Product Homepage
Download (46 downloads)



dbdict is a dictionary-like object with SQLite backend.<br /><br />Python dictionaries are very efficient objects for fast data access. But when data is too large to fit in memory, you want to keep data on disk but available for fast random access.<br /><br />Here's a dictionary-like object which uses a SQLite database backend for random access to the dictionary's key-value pairs:<br /><br /> * You can work on datasets which do not fit in memory. Size is not limited by memory, but by disk. Can hold up to several tera-bytes of data (thanks to SQLite).<br /><br /> * Behaves like a dictionary (can be used in place of a dictionary object in many cases) for storing numbers, strings and binary data.<br /><br /> * Data persists between program runs, and is written to disk immediately when inserting a key-value pair in the dictionary.<br /><br /> * ACID (data integrity): Storage file integrity is assured. No half-written data. It's really hard to mess up data.<br /><br /> * Efficient: You do not have to re-write a whole database file when changing only one item. Only the relevant parts of the file are changed.<br /><br /> * You can mix several key types (you can do d['foo']=bar and d[7]=5468) as with a regular dict object.<br /><br /> * You can share this dictionary with other languages and systems (SQLite databases are portable, and the SQlite library is available on a wide range of systems/languages, from mainframes to PDA/iPhone, from Python to Java, C/C++, C#, Perl etc.)<br /><br />Usage:<br /><br />Use it like a standard dictionary, except that you give it a name (eg.'tempdict'):<br /><br />from dbdict import dbdict<br />d = dbdict('tempdict')<br />d['foo'] = 'bar'<br /># At this point, the key value pair foo and bar is written to disk.<br />d['John'] = 'doh!'<br />d['pi'] = 3.999<br />d['pi'] = 3.14159 # replaces the previous version of pi<br />d['pi'] += 1<br />d.close() # close the database file<br /><br />You can access your dictionary later on:<br /><br />d = dbdict('tempdict')<br />del d['foo']<br /> <br />if 'John' in d:<br /> print 'John is in there !'<br />print d.items()

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Databases Languages Library Portable Range Share Sqlite Systems Systemslanguages
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


DBDICT RELATED
Programming  -  JRange 0.10
JRange is a free and open source Java library parsing range strings ("1-3;7;13-) and a selector to select data based on such ranges (e.g. select all car objects with 3 or more than 5 wheels "3;5-").
10.24 KB  
Libraries  -  uClibc 0.9.29
uClibc (µClibc) is a C library for developing embedded Linux systems. uClibc is much smaller then the GNU C Library, but nearly all applications supported by glibc also work perfectly with uClibc. Porting applications from glibc to uClibc...
1.7 MB  
3D Graphic Tools  -  Libwmf 0.1.17
Libwmf is a library to enable non windows systems to work with wmf files, currently bindings exist to convert wmf files to gif & fig and an X one to draw them in an X window or pixmap. xwmf draws wmf files on screen (X) use + to zoom in and use...
727.04 KB  
Development Tools  -  Liboop 1.0
Liboop is a low-level event loop management library for POSIX-based operating systems. It supports the development of modular, multiplexed applications which may respond to events from several sources.It replaces the "select() loop" and allows the...
 
Network & Internet  -  ecto for Mac OS 3.0
A feature-rich desktop blogging client for MacOSX, supporting a wide range of weblog systems, such as Blogger, Blojsom, Drupal, MovableType, Nucleus, SquareSpace, TypePad, WordPress, and more. ecto is designed to make blogging much easier and yet...
10 MB  
Utilities  -  RTKER and ATMEGA28 Operating system 1
Media Lab Asia collaborated with IIT Delhi for development real-time kernel O/S named RTKER OS portable on microprocessor based systems and a Multithreaded O/S for 8-bit microcontrollers (like 8051 and ATMega128) as low cost embedded solution.
12.36 MB  
Programming  -  commonc++ for Linux 0.6.5
[C++] commonc++ is a C++ class library for developing cross-platform systems software for POSIX (GNU/Linux, Mac OS X, Solaris) and Windows (2000/XP) systems. It provides an intuitive, object-oriented abstraction/portability layer around common...
8.12 MB  
Libraries  -  Portable Coroutine Library 1.6
Portable Coroutine Library (PCL) implements the low level functionality for coroutines. For a definition of the term coroutine see The Art of Computer Programming by Donald E. Knuth. Coroutines are a very simple cooperative multitasking...
307.2 KB  
Libraries  -  Standard Portable Library 0.1.5
Standard Portable Library is a pointer friendly C/C++ STL substitute. The API is similar to Java or .NET and includes common data structures, networking, and database support..
512 KB  
Libraries  -  Rasqal RDF Query Library 0.9.14
Rasqal is a C library for querying RDF, supporting the RDQL and SPARQL languages. It provides APIs for creating a query and parsing query syntax. Rasqal RDF Query Library features pluggable triple-store source and matching interfaces, an engine...
880.64 KB  
NEW DOWNLOADS IN LINUX SOFTWARE, BUSINESS
Linux Software  -  EasyEDA PCB Designer for Linux 2.0.0
EasyEDA, a great web based EDA(Electronics Design Automation) tool, online PCB tool, online PCB software for electronics engineers, educators, students, makers and enthusiasts. Theres no need to install any software. Just open EasyEDA in any...
34.4 MB  
Linux Software  -  wpCache® WordPress HTTP Cache 1.9
wpCache® is a high-performance, distributed object, caching system application, generic in nature, but intended for use in speeding up dynamic web applications, by decreasing database load time. wpCache® decreases dramatically the page...
3.51 MB  
Linux Software  -  Polling Autodialer Software 3.4
ICTBroadcast Auto Dialer software has a survey campaign for telephone surveys and polls. This auto dialer software automatically dials a list of numbers and asks them a set of questions that they can respond to, by using their telephone keypad....
488 B  
Linux Software  -  Total Video Converter Mac Free 3.5.5
Total Video Converter Mac Free developed by EffectMatrix Ltd is the official legal version of Total Video Converter which was a globally recognized brand since 2006. Total Video Converter Mac Free is a free but powerful all-in-one video...
17.7 MB  
Linux Software  -  Skeith mod_log_sql Analyzer 2.10beta2
Skeith is a php based front end for analyzing logs for Apache using mod_log_sql.
47.5 KB  
Business  -  Inventoria Inventory Software Free 11.06
Inventoria is professional inventory stock management software for Windows that allows you to manage inventory in one or several locations. Manage your stock levels by categories, locations, and vendors. Combine Inventoria with HourGuard, Express...
611.18 KB  
Business  -  Java SQL Admin Tool for Linux 2.4.3
This is a Java-based Admin-Tool for SQL-Databases via JDBC. It needs to have JDK 1.6 underneath In the beginnings of Java I had my first look at this exciting product. So I decided to learn more about Java. As beeing a developer for...
686.08 KB  
Business  -  DBBalancer 0.4.4
DBBalancer is some sort of middleware that would sit in between of database clients, like C, C++, TCL, Java JDBC, Perl DBI, and a database server. Currently the only server supported is Postgres, but the architecture is open to embrace more...
174.08 KB  
Business  -  Postgres Plus 9.0.4
Postgres Plus is a distribution of PostgreSQL that contains the following additional features integrated in a convenient installation package: Postgres Studio for administration, Procedural Language Debugger, GridSQL Parallel Query, MySQL...
43.06 MB  
Business  -  Apatar Data Integration 1.12.23
Apatar is an open source Extract, Transform, and Load (ETL) project. Modular architecture delivers: 1. Visual job designer/mapping 2. Connectivity to all major data sources 3. Flexible Deployment Options (GUI, or server engine with JVM, or...
25.94 MB