Skip to content

Commit 98e7c1d

Browse files
authored
Next (#2)
* Test refactoring and enhancements * Hook support Hooks are user routines that are called at pre-defined events. Currently supports hooks on api initialization, db_attach_request and db_attached, and service_attached. Added test for hooks and local backup/restore. * Hook support Hooks are user routines that are called at pre-defined events. Currently supports hooks on api initialization, db_attach_request and db_attached, and service_attached. Added test for hooks and local backup/restore. * Hook support Hooks are user routines that are called at pre-defined events. Currently supports hooks on api initialization, db_attach_request and db_attached, and service_attached. Added test for hooks and local backup/restore. * Hooks for db detach and close * .gitignore * Remove egg-info * Hook improvements - New ParameterBuffer class for creation of parameter buffer. - Enhancements to attach request hook * Changes to ParameterBuffer so it could be used for BLR too. * Documentation correction * Making SQL for index activation should be supported also for system indices * bugfix: PreparedStatement output DESCRIPTION does not have correct display length for multibyte character set columns Documentation correction Set next version to 2.0 * Updated unit tests * Changes in file description headers * Header changes * safe_int() and safe_str() * New module (+ unit tests) for work with Firebird Trace & Audit output * __current_block: Replace list for collections.deque * Remove obsolete TraceWriter * New ObjectCollection class with unit tests. * ParseError moved to fbcore, documentation corrections * Documentation correction * gstat module, initial version * ObjectList, final version for gstat module and other enhanced modules * Tests for ObjectList and gstat module * Data for gstat tests * Enhancements to schema module - Core lists replaced with ObjectLists * Enhancements to monitor module - Key lists replaced with ObjectLists * Make pylint more happy about the code. * Add Firebird log parser. Make gstat parser locale-aware. * Adjustments for Python 3 and Windows * Cleanup + adjustments & fixes for Python 3 and Firebird 3 * File mode correction * README renamed * Remove generated documentation from repository * Remove PKG-INFO * New README * Removed MANIFEST.in * Updated package setup * Documentation, cleanup * Static documentation files * Documentation * New setup.py * Fixed bug in Service.wait()
1 parent e525813 commit 98e7c1d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+27647
-47381
lines changed

.gitignore

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1-
*.pyc
1+
# general things to ignore
22
build/
33
dist/
4+
docs/
5+
sphinx/.build/
6+
*.egg-info/
7+
*.egg
8+
*.py[cod]
9+
__pycache__/
10+
*.so
11+
*~
412
*.wpr
513
*.wpu
6-
14+
*.log
715

816

MANIFEST.in

-3
This file was deleted.

PKG-INFO

-19
This file was deleted.

README

-6
This file was deleted.

README.rst

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
FDB is a Python library package that implements Python Database API 2.0-compliant support for the open source relational
2+
database Firebird®. In addition to the minimal feature set of the standard Python DB API, FDB also exposes the entire native
3+
client API of the database engine. Notably:
4+
5+
* Automatic data conversion from strings on input.
6+
* Automatic input/output conversions of textual data between UNICODE and database character sets.
7+
* Support for prepared SQL statements.
8+
* Multiple independent transactions per single connection.
9+
* All transaction parameters that Firebird supports, including table access specifications.
10+
* Distributed transactions.
11+
* Firebird BLOB support, including support for stream BLOBs.
12+
* Support for Firebird Events.
13+
* Support for Firebird ARRAY data type.
14+
* Support for all Firebird Services
15+
16+
FDB also contains extensive collection of submodules that simplify various Firebird-related tasks. Notably:
17+
18+
* Database schema
19+
* Firebird monitoring tables
20+
* Parsing Firebird trace & audit logs
21+
* Parsing Firebird server log
22+
* Parsing Firebird gstat utility output
23+
24+
FDB is implemented on top of Firebird client library using ctypes, and currently uses only traditional Firebird API.
25+
26+
FDB works with Firebird 2.0 and newer, and Python 2.7 and 3.4+.
27+
28+
FDB is free – covered by a permissive BSD-style license that both commercial and noncommercial users should find agreeable.
29+
30+
FDB is replacement for discontinued KInterbasDB library, and as such it's designed to be as much compatible
31+
with KInterbasDB as possible, but there are some differences. See FDB documentation for full description
32+
of these differences.
33+

0 commit comments

Comments
 (0)