SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that
gives application developers the full power and flexibility of SQL.
It provides a full suite of well known enterprise-level persistence
patterns, designed for efficient and high-performing database access,
adapted into a simple and Pythonic domain language.
WWW: http://www.sqlalchemy.org/
PR: ports/101920
Submitted by: Dryice Liu <dryice@dryice.name>
Approved by: krion (mentor)
It was written from scratch with the aim of being small, fast and stable. It
supports the full Python DBAPI-2.0 and is thread safe.
psycopg2 is different from the other database adapter because it was designed
for heavily multi-threaded applications that create and destroy lots of cursors
and make a conspicuous number of concurrent INSERTs or UPDATEs. Every open
Python connection keeps a pool of real (UNIX or TCP/IP) connections to the
database. Every time a new cursor is created, a new connection does not need to
be opened; instead one of the unused connections from the pool is used. That
makes psycopg very fast in typical client-server applications that create a
servicing thread every time a client request arrives.
WWW: http://initd.org/projects/psycopg2
Approved by: krion (mentor)
via a Log::Log4perl handle. Log::Log4perl has many advantages for logging
but the ones probably most attractive are:
The ability to turn logging on or off or change the logging you see without
changing your code.
Different log levels allowing you to separate warnings, errors and fatals
to different files.
WWW: http://search.cpan.org/dist/DBIx-Log4perl/
PR: ports/100610
Submitted by: Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>
This port adds support for OCI8 PHP shared extension. It replaces the old
Oracle shared extension which is obsolete and will be dropped (moved to
PECL) in PHP 5.1. This patch also corrects dependency for the Oracle shared
extension (added Oracle client in RUN_DEPENDS).
PR: ports/86580
Submitted by: Simun Mikecin <numisemis at yahoo.com>
accessing databases with a single API. It provides a clean and simple
interface across all supported databases that leads to an elegant
code design automatically. Currently MySQL, PostgreSQL and SQLite are
supported and backends for more native database APIs can be written
easily. If you want your application to support different databases
with little effort, this is definitively the right thing for you!
License: LGPL
WWW: http://www.linuxnetworks.de/opendbx/
PR: ports/95005
Submitted by: tremere at cainites.net
This port installs a Python "standard" library version of pysqlite
which is provided by databases/py-pysqlite22 already. Because
sqlite3 module was introduced in Python 2.5, this port plays only
for 2.5 or laters.
See Also: http://docs.python.org/dev/lib/module-sqlite3.html
database, primarily designed to test if a row exists with the correct
details in a table or not. For more advanced testing (joins, etc) it's
probably easier for you to roll your own tests by hand than use this
module.
WWW: http://search.cpan.org/~mark/Test-DatabaseRow-1.04/
PR: ports/98608
Submitted by: Joshua D. Abraham <jabra@ccs.neu.edu>
Rename this ports to use the real vendor package name. The advantage of this
is to allow our users' keyword search works and easier for users to file the
Bugzilla report when they use our name of ports. Debian, Gentoo, NetBSD and
other OSs have the correct package name, but not in our ports tree.
My team, FreeBSD GNOME Team, have agreed with it.
PR: ports/97985
Repocopy by: marcus
of a Web-browser-like interface with powerful features like multiple result
sets on tab sheets, query history, storing query "bookmarks", editing and
comparing resultsets, SQL script debugging, and more.
WWW: http://www.mysql.com/products/tools/query-browser/
PR: ports/95530
Submitted by: Rainer Alves <rainer.alves@gmail.com>
Axiom is an object database, or alternatively, an
object-relational mapper.
Its primary goal is to provide an object-oriented layer
with what we consider to be the key aspects of OO, i.e.
polymorphism and message dispatch, without hindering the
power of an RDBMS. It is designed to "feel pythonic", without
encouraging the typical ORM behavior such as potato
programming.
Axiom provides a full interface to the database, which
strongly suggests that you do not write any SQL of your
own. Metaprogramming is difficult and dangerous (as many,
many SQL injection attacks amply demonstrate). Writing your
own SQL is still possible, however, and Axiom does have
several methods which return fragments of generated schema
if you wish to use them in your own queries.
WWW: http://divmod.org/trac/wiki/DivmodAxiom
PR: ports/95724
Submitted by: Alexander Botero-Lowry <alex@foxybanana.com>
mapping as well as DMB style databases and as such is not coupled with any
particular storage back-end. In other words, you should be able to
swap out an RDMBS with a DBM style database (and vice versa) without
changing your persistent classes at all.
WWW: http://search.cpan.org/dist/Oryx/
PR: ports/93533
Submitted by: Zach Thompson <hideo@lastamericanempire.com>
JDBC driver and supports a rich subset of ANSI-92 SQL (BNF tree format) plus
SQL 99 and 2003 enhancements. It offers a small (less than 100k in one version
for applets), fast database engine which offers both in-memory and disk-based
tables and supports embedded and server modes. Additionally, it includes tools
such as a minimal web server, in-memory query and management tools (can be run
as applets) and a number of demonstration examples.
WWW: http://hsqldb.org/
PR: 93320
Submitted by: Michael Winking <mwfp@foldl.net>
JDBC resource cleanup code is mundane, error prone work so these classes
abstract out all of the cleanup tasks from your code leaving you with what
you really wanted to do with JDBC in the first place: query and update data.
WWW: http://jakarta.apache.org/commons/dbutils/
PR: 93324
Submitted by: Michael Winking <mwfp@foldl.net>
It can handle almost all field types and binary large objects stored
in .MB files.
WWW: http://pecl.php.net/package/paradox
PR: ports/93211
Submitted by: Alexander Zhuravlev <zaa@zaa.pp.ru>