Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions CLA.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This Contributor License Agreement ("Agreement") is entered into by the party si

### 1. Definitions

**"We," "Us," "Our"** means DBZero Software sp. z o.o. and its successors or assigns
**"We," "Us," "Our"** means Wojciech Sebastian Kozlowski and his successors or assigns

**"Contribution"** means any original work of authorship, including any modifications or additions to an existing work, that You intentionally submit to Us for inclusion in the dbzero project, in any form (source code, documentation, configuration files, etc.).

Expand All @@ -28,7 +28,7 @@ If any entity institutes patent litigation against You, Us, or any other entity

#### 2.3 Outbound License
Based on the grants of rights in Sections 2.1 and 2.2, if We include Your Contribution in the dbzero project:
- Your Contribution will be licensed to the public under the Apache License 2.0 as part of the dbzero project
- Your Contribution will be licensed to the public under LGPL-2.1-or-later as part of the dbzero project
- We reserve the right to also license Your Contribution under alternative licenses without any additional compensation to You, including proprietary licenses for commercial or other purposes

#### 2.4 Moral Rights
Expand Down Expand Up @@ -130,4 +130,4 @@ By accepting this Agreement, you acknowledge that you have read, understood, and

**Version:** 1.0
**Last Updated:** December 29, 2025
**Maintained by:** DBZero Software sp. z o.o.
**Maintained by:** Wojciech Sebastian Kozlowski
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,15 +328,15 @@ Good documentation is crucial. When contributing:

### Why We Have a CLA

dbzero is primarily licensed under LGPL-2.1, but we want to reserve the right to offer the software under alternative licenses to support different use cases and our business model.
dbzero is primarily licensed under LGPL-2.1-or-later, but we want to reserve the right to offer the software under alternative licenses to support different use cases and our business model.

To enable this flexible licensing approach while maintaining our commitment to open source, we need contributors to grant us additional rights to use their contributions.

### What You're Agreeing To

By contributing to dbzero, you agree that:

1. **Your contribution will be licensed under LGPL-2.1** in the open-source dbzero Community Edition
1. **Your contribution will be licensed under LGPL-2.1-or-later** in the open-source dbzero Community Edition
2. **You grant the dbzero project maintainers** a perpetual, worldwide, non-exclusive, royalty-free, irrevocable license to:
- Use, modify, and distribute your contributions in any form
- Include your contributions in the open-source project and any alternative licensing options we may offer
Expand All @@ -363,7 +363,7 @@ If you have questions or concerns about the CLA, please open an issue to discuss
## License

By contributing to dbzero, you agree that your contributions will be:
- Licensed under the **GNU Lesser General Public License v2.1** (LGPL-2.1) for the open-source dbzero Community Edition
- Licensed under the **GNU Lesser General Public License v2.1 or later** (LGPL-2.1-or-later) for the open-source dbzero Community Edition
- Subject to the additional rights grant specified in our Contributor License Agreement: [CLA.md](./CLA.md)

---
Expand Down
15 changes: 6 additions & 9 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
dbzero — Community Edition

Copyright (c) 2025 DBZero Software sp. z o.o.
All rights reserved.
Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

================================================================================
LICENSE
================================================================================

This library is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.
dbzero is licensed under the GNU Lesser General Public License v2.1 or later.
See LICENSE for the full license text.

This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
Expand Down Expand Up @@ -55,8 +52,8 @@ License File: THIRD_PARTY_LICENSES/BOOST_LICENSE_1_0

Note: Files in src/dbzero/core/intrusive/ are derived from Boost.Intrusive
and retain their original Boost Software License 1.0 with full copyright
notices. Some files may contain modifications by DBZero Software sp. z o.o.,
which are licensed under LGPL-3.0-or-later. See individual file headers
notices. Some files may contain modifications by Wojciech Sebastian Kozlowski,
which are licensed under LGPL-2.1-or-later. See individual file headers
for specific copyright and licensing information.

================================================================================
================================================================================
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
</p>


**A state management system for Python 3.x that unifies your application's business logic, data persistence, and caching into a single, efficient layer.**
**DISTIC (Durable, Infinite, Shared, Transactional, Isolated, Composable) storage system for Python 3.x offering flexibility of a memory with durability of a database.**

[![License: LGPL 2.1](https://img.shields.io/badge/License-LGPL%202.1-blue.svg)](https://www.gnu.org/licenses/lgpl-2.1)
[![License: LGPL 2.1 or later](https://img.shields.io/badge/License-LGPL%202.1--or--later-blue.svg)](https://www.gnu.org/licenses/lgpl-2.1)

> "If we had infinite memory in our laptop, we'd have no need for clumsy databases. Instead, we could just use our objects whenever we liked."
>
Expand Down Expand Up @@ -317,10 +317,12 @@ There you can find:

## License

This project is licensed under the GNU Lesser General Public License v2.1 (LGPL 2.1). See [LICENSE](./LICENSE) for the full text.
Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

dbzero is licensed under the GNU Lesser General Public License v2.1 or later (LGPL-2.1-or-later). See [LICENSE](./LICENSE) for the full text.

- This library can be linked with proprietary software.
- Modifications to the library itself must be released under LGPL 2.1.
- Modifications to the library itself must be released under LGPL-2.1-or-later.
- Redistributions must preserve copyright and license notices and provide source.

For attribution details, see [NOTICE](./NOTICE).
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from .dbzero import *
from .memo import *
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/atomic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from __future__ import annotations

Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/compare.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from typing import Optional, List
from .interfaces import Memo, Tag
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/decorators.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import inspect
import functools
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/enum.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from typing import Any, Optional, List, Union, overload
from .interfaces import EnumType
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/fast_query.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

# This is an experimental version of a possible Query Engine
# implementation for dbzero
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/initialization.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

"""dbzero initialization functions"""
from collections.abc import Mapping
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/interfaces.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

"""
Definitions of interfaces and types used in dbzero.
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/locked.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import asyncio
from typing import List, Tuple
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/memo.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import inspect
import dis
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/reflection_api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from __future__ import annotations
from collections import namedtuple
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/select.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from contextlib import ExitStack
from typing import Optional, Callable, Iterable, Tuple
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/storage_api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from collections import namedtuple
from typing import Iterator, Any
Expand Down
2 changes: 1 addition & 1 deletion dbzero/dbzero/utilities.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from typing import Iterator

Expand Down
6 changes: 3 additions & 3 deletions dbzero/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from setuptools import setup
import sys
Expand All @@ -10,8 +10,8 @@

setup(
name='dbzero',
version='0.6.1',
description='DBZero community edition',
version='0.6.2',
description='DISTIC (Durable, Infinite, Shared, Transactional, Isolated, Composable) storage system for Python 3.x offering flexibility of a memory with durability of a database.',
packages=['dbzero'],
python_requires='>=3.9',
license='LGPL-2.1-or-later',
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ requires = ['meson-python']

[project]
name = 'dbzero'
version = '0.6.1'
description = 'A state management system for Python 3.x that unifies your applications business logic, data persistence, and caching into a single, efficient layer.'
version = '0.6.2'
description = 'DISTIC (Durable, Infinite, Shared, Transactional, Isolated, Composable) storage system for Python 3.x offering flexibility of a memory with durability of a database.'
readme = 'README.md'
requires-python = '>=3.9'
license = {file = 'LICENSE'}
authors = [
{ name = 'DBZero Software sp. z o.o', email='info@dbzero.io' },
{ name = 'Wojciech Sebastian Kozlowski', email='info@dbzero.io' },
]
dependencies = [
'fasteners==0.19'
Expand Down
2 changes: 1 addition & 1 deletion python_tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

2 changes: 1 addition & 1 deletion python_tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

"""Conftest for test package"""
# pylint: disable=redefined-outer-name
Expand Down
2 changes: 1 addition & 1 deletion python_tests/data_for_tests.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion python_tests/memo_test_types.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from dataclasses import dataclass
import dbzero as db0
Expand Down
2 changes: 1 addition & 1 deletion python_tests/migration2_init.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from dbzero import db0
import os
Expand Down
2 changes: 1 addition & 1 deletion python_tests/migration2_test.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from dbzero import db0
import os
Expand Down
2 changes: 1 addition & 1 deletion python_tests/migration_init.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from dbzero import db0
import os
Expand Down
2 changes: 1 addition & 1 deletion python_tests/migration_test_1.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from dbzero import db0
import os
Expand Down
2 changes: 1 addition & 1 deletion python_tests/migration_test_2.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from dbzero import db0
import os
Expand Down
2 changes: 1 addition & 1 deletion python_tests/scripts/create_test_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import random
import string
Expand Down
2 changes: 1 addition & 1 deletion python_tests/scripts/validate_test_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import os
import argparse
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_allocator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import pytest
import dbzero as db0
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_assign.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import pytest
import dbzero as db0
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_atomic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import time
import gc
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_atomic_lifecycle.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import gc

Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_auto_weak_proxy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import pytest
import dbzero as db0
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_autocommit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import pytest
from datetime import datetime
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_bool.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

from .memo_test_types import MemoScopedClass

Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_bytearray.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import dbzero as db0
import pytest
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_bytes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import pytest
import dbzero as db0
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_cache.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import pytest
import multiprocessing
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_commit.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import dbzero as db0
from itertools import islice
Expand Down
2 changes: 1 addition & 1 deletion python_tests/test_compare.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# Copyright (c) 2025 DBZero Software sp. z o.o.
# Copyright (c) 2025-2026 Wojciech Sebastian Kozlowski

import pytest
import dbzero as db0
Expand Down
Loading
Loading