Skip to content

Commit fcf9815

Browse files
committed
Release 0.6.0
1 parent 2bd5648 commit fcf9815

30 files changed

+6748
-4098
lines changed

README.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ the scope of development for `Firebird`_ ® RDBMS.
99
Topic covered by `firebird-base` package:
1010

1111
* General data types like `singletons`, `sentinels` and objects with identity.
12+
* Unified system for data conversion from/to string.
1213
* `DataList` and `Registry` collection types with advanced data-processing cappabilities.
1314
* Work with structured binary buffers.
1415
* Global registry of Google `protobuf` messages and enumerations.
1516
* Extended configuration system based on `ConfigParser`.
16-
* Context-driven logging and trace/audit.
17+
* Context-based logging.
18+
* Trace/audit for class instances.
1719
* General "hook" mechanism.
1820

21+
1922
|donate|
2023

2124
.. _Firebird: http://www.firebirdsql.org

docs/buffer.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ buffer - Memory buffer manager
88
Overview
99
========
1010

11+
This module provides a raw memory buffer manager with convenient methods to read/write
12+
data of various data type.
13+
14+
MemoryBuffer
15+
============
16+
17+
.. autoclass:: MemoryBuffer
18+
1119
Buffer factories
1220
================
1321

@@ -26,8 +34,3 @@ ctypes factory
2634

2735
.. autoclass:: CTypesBufferFactory
2836

29-
MemoryBuffer
30-
============
31-
32-
.. autoclass:: MemoryBuffer
33-

docs/changelog.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22
Changelog
33
#########
44

5+
Version 0.6.0
6+
=============
7+
8+
* New module: `~firebird.base.strconv` - Data conversion from/to string
9+
* New module: `~firebird.base.trace` - Trace/audit for class instances
10+
* Reworked module: `~firebird.base.config` - Classes for configuration definitions
11+
12+
- New class: `.ConfigOption` - Configuration option with `Config` value
13+
- New class: `.ConfigListOption` - Configuration option with list of `Config` values
14+
- New class: `.DataclassOption` - Configuration option with a dataclass value
15+
* Changed module: `~firebird.base.types`
16+
17+
- New class: `.MIME` - MIME type specification
18+
- New class: `.PyExpr` - Source code for Python expression
19+
- New class: `.PyCode` - Python source code
20+
- New class: `.PyCallable` - Source code for Python callable
21+
- Removed function: str2bool
22+
* Changed module: `~firebird.base.logging`
23+
24+
- Trace/audit functionality removed (into new module `~firebird.base.trace`)
525

626
Version 0.5.0
727
=============

docs/collections.txt

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ collections - Various collection types
88
Overview
99
========
1010

11+
This module provides data structures that behave much like builtin `list` and `dict` types,
12+
but with direct support of operations that can use structured data stored in container, and
13+
which would normally require utilization of `operator`, `functools` or other means.
14+
15+
All containers provide next operations:
16+
17+
* `filter` and `filterfalse` that return generator that yields items for which `expr` is
18+
evaluated as True (or False).
19+
* `find` that returns first item for which `expr` is evaluated as True, or default.
20+
* `contains` that returns True if there is any item for which `expr` is evaluated as True.
21+
* `occurrence` that returns number of items for which `expr` is evaluated as True.
22+
* `all` and `any` that return True if `expr` is evaluated as True for all or any list element(s).
23+
* `report` that returns generator that yields data produced by expression(s) evaluated on
24+
list items.
25+
26+
Individual collection types provide additional operations like splitting and extracting
27+
based on expression etc.
28+
29+
Expressions used by these methods could be strings that contain Python expression
30+
referencing the collection item(s), or lambda functions.
1131

1232
Types for type hints & annotations
1333
==================================
@@ -16,9 +36,6 @@ Types for type hints & annotations
1636
.. autodata:: TypeSpec
1737
.. autodata:: ItemExpr
1838
.. autodata:: FilterExpr
19-
20-
CheckExpr
21-
---------
2239
.. autodata:: CheckExpr
2340

2441
Collections

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
author = 'Pavel Císař'
2424

2525
# The short X.Y version
26-
version = '0.5.0'
26+
version = '0.6.0'
2727

2828
# The full version, including alpha/beta/rc tags
29-
release = '0.5.0'
29+
release = '0.6.0'
3030

3131

3232
# -- General configuration ---------------------------------------------------
@@ -55,7 +55,7 @@
5555
# List of patterns, relative to source directory, that match files and
5656
# directories to ignore when looking for source files.
5757
# This pattern also affects html_static_path and html_extra_path.
58-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
58+
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'requirements.txt']
5959

6060
default_role = 'py:obj'
6161

0 commit comments

Comments
 (0)