objbase 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- objbase-0.3.0/.github/dependabot.yml +34 -0
- objbase-0.3.0/.github/workflows/ci.yml +130 -0
- objbase-0.3.0/.github/workflows/release.yml +158 -0
- objbase-0.3.0/.gitignore +169 -0
- objbase-0.3.0/LICENSE +21 -0
- objbase-0.3.0/PKG-INFO +780 -0
- objbase-0.3.0/README.md +748 -0
- objbase-0.3.0/examples/async_directory_example.py +35 -0
- objbase-0.3.0/examples/async_example.py +28 -0
- objbase-0.3.0/examples/async_file_example.py +30 -0
- objbase-0.3.0/examples/async_mongodb_example.py +39 -0
- objbase-0.3.0/examples/async_pydantic_example.py +44 -0
- objbase-0.3.0/examples/async_sqlite_example.py +30 -0
- objbase-0.3.0/examples/dict_example.py +23 -0
- objbase-0.3.0/examples/mongodb_example.py +31 -0
- objbase-0.3.0/examples/pydantic_example.py +32 -0
- objbase-0.3.0/pyproject.toml +82 -0
- objbase-0.3.0/release.sh +44 -0
- objbase-0.3.0/src/objbase/__init__.py +59 -0
- objbase-0.3.0/src/objbase/asyncio/__init__.py +0 -0
- objbase-0.3.0/src/objbase/asyncio/async_file_storage.py +40 -0
- objbase-0.3.0/src/objbase/asyncio/async_inventory.py +47 -0
- objbase-0.3.0/src/objbase/asyncio/async_mongodb_storage.py +46 -0
- objbase-0.3.0/src/objbase/asyncio/async_redis_storage.py +36 -0
- objbase-0.3.0/src/objbase/asyncio/async_sqlite_storage.py +19 -0
- objbase-0.3.0/src/objbase/asyncio/async_storage.py +18 -0
- objbase-0.3.0/src/objbase/asyncio/threaded_storage.py +30 -0
- objbase-0.3.0/src/objbase/errors.py +11 -0
- objbase-0.3.0/src/objbase/interface.py +27 -0
- objbase-0.3.0/src/objbase/inventory.py +59 -0
- objbase-0.3.0/src/objbase/py.typed +0 -0
- objbase-0.3.0/src/objbase/pydantic.py +123 -0
- objbase-0.3.0/src/objbase/storage/__init__.py +0 -0
- objbase-0.3.0/src/objbase/storage/file_storage.py +268 -0
- objbase-0.3.0/src/objbase/storage/inmemory_storage.py +51 -0
- objbase-0.3.0/src/objbase/storage/mongodb_storage.py +42 -0
- objbase-0.3.0/src/objbase/storage/redis_storage.py +68 -0
- objbase-0.3.0/src/objbase/storage/sqlite_storage.py +79 -0
- objbase-0.3.0/src/objbase/util/__init__.py +0 -0
- objbase-0.3.0/src/objbase/util/file_util.py +102 -0
- objbase-0.3.0/src/objbase/util/mongodb_util.py +45 -0
- objbase-0.3.0/src/objbase/util/redis_util.py +35 -0
- objbase-0.3.0/tests/test_async_file_storage.py +147 -0
- objbase-0.3.0/tests/test_async_inventory.py +224 -0
- objbase-0.3.0/tests/test_async_mongodb_storage.py +192 -0
- objbase-0.3.0/tests/test_async_redis_storage.py +207 -0
- objbase-0.3.0/tests/test_async_sqlite_storage.py +145 -0
- objbase-0.3.0/tests/test_file_storage.py +651 -0
- objbase-0.3.0/tests/test_inmemory_storage.py +138 -0
- objbase-0.3.0/tests/test_inventory.py +232 -0
- objbase-0.3.0/tests/test_mongodb_storage.py +204 -0
- objbase-0.3.0/tests/test_package.py +52 -0
- objbase-0.3.0/tests/test_redis_storage.py +213 -0
- objbase-0.3.0/tests/test_sqlite_storage.py +190 -0
- objbase-0.3.0/tests/test_storage_contract.py +375 -0
- objbase-0.3.0/uv.lock +847 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
# Keeps the SHA-pinned actions (and their "# vX.Y.Z" comments) up to date.
|
|
4
|
+
- package-ecosystem: github-actions
|
|
5
|
+
directory: /
|
|
6
|
+
schedule:
|
|
7
|
+
interval: weekly
|
|
8
|
+
groups:
|
|
9
|
+
actions:
|
|
10
|
+
patterns: ["*"] # one PR for all action updates instead of one per action
|
|
11
|
+
cooldown:
|
|
12
|
+
default-days: 7 # skip releases younger than a week, in case a compromised version gets pulled
|
|
13
|
+
commit-message:
|
|
14
|
+
prefix: ci
|
|
15
|
+
|
|
16
|
+
# Keeps uv.lock up to date, so CI tests against current releases.
|
|
17
|
+
- package-ecosystem: uv
|
|
18
|
+
directory: /
|
|
19
|
+
schedule:
|
|
20
|
+
interval: weekly
|
|
21
|
+
# The >= floors in pyproject.toml are deliberate minimum supported versions
|
|
22
|
+
# (tested by the "minimum dependency versions" CI job), so leave them alone and
|
|
23
|
+
# only update the lockfile when a new release already satisfies them.
|
|
24
|
+
versioning-strategy: increase-if-necessary
|
|
25
|
+
groups:
|
|
26
|
+
# Libraries the adapters integrate with; a new release can break an adapter.
|
|
27
|
+
backends:
|
|
28
|
+
patterns: ["redis", "pymongo", "pydantic"]
|
|
29
|
+
dev-tools:
|
|
30
|
+
patterns: ["*"]
|
|
31
|
+
cooldown:
|
|
32
|
+
default-days: 7
|
|
33
|
+
commit-message:
|
|
34
|
+
prefix: deps
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
# Lets the release workflow run the full CI before publishing.
|
|
9
|
+
workflow_call:
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
contents: read
|
|
13
|
+
|
|
14
|
+
concurrency:
|
|
15
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
16
|
+
cancel-in-progress: true
|
|
17
|
+
|
|
18
|
+
jobs:
|
|
19
|
+
lint:
|
|
20
|
+
name: Lint, format and type check
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
24
|
+
with:
|
|
25
|
+
persist-credentials: false
|
|
26
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
27
|
+
with:
|
|
28
|
+
python-version: "3.13"
|
|
29
|
+
- name: Install dependencies
|
|
30
|
+
run: uv sync --locked
|
|
31
|
+
- name: Ruff lint
|
|
32
|
+
run: uv run ruff check --output-format=github .
|
|
33
|
+
- name: Ruff format
|
|
34
|
+
if: ${{ !cancelled() }}
|
|
35
|
+
run: uv run ruff format --check --diff .
|
|
36
|
+
- name: Mypy (library, strict)
|
|
37
|
+
if: ${{ !cancelled() }}
|
|
38
|
+
run: uv run mypy
|
|
39
|
+
# Also check platform-specific branches (e.g. msvcrt file locking) as Windows would see them.
|
|
40
|
+
- name: Mypy (library, strict, Windows)
|
|
41
|
+
if: ${{ !cancelled() }}
|
|
42
|
+
run: uv run mypy --platform win32
|
|
43
|
+
# Tests and examples use the public API the way users do, so type checking
|
|
44
|
+
# them catches annotations that are correct internally but awkward to use.
|
|
45
|
+
- name: Mypy (tests and examples)
|
|
46
|
+
if: ${{ !cancelled() }}
|
|
47
|
+
run: uv run mypy --allow-untyped-defs --allow-incomplete-defs --allow-untyped-calls tests examples
|
|
48
|
+
|
|
49
|
+
test:
|
|
50
|
+
name: Test (Python ${{ matrix.python-version }})
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
strategy:
|
|
53
|
+
fail-fast: false
|
|
54
|
+
matrix:
|
|
55
|
+
python-version: ["3.13", "3.14"]
|
|
56
|
+
steps:
|
|
57
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
58
|
+
with:
|
|
59
|
+
persist-credentials: false
|
|
60
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
61
|
+
with:
|
|
62
|
+
python-version: ${{ matrix.python-version }}
|
|
63
|
+
- name: Install dependencies
|
|
64
|
+
run: uv sync --locked
|
|
65
|
+
# Redis and MongoDB tests use testcontainers; Docker is preinstalled on ubuntu runners.
|
|
66
|
+
- name: Run tests
|
|
67
|
+
run: uv run pytest -q
|
|
68
|
+
|
|
69
|
+
test-other-os:
|
|
70
|
+
name: Test (${{ matrix.os }}, no containers)
|
|
71
|
+
runs-on: ${{ matrix.os }}
|
|
72
|
+
strategy:
|
|
73
|
+
fail-fast: false
|
|
74
|
+
matrix:
|
|
75
|
+
os: [windows-latest, macos-latest]
|
|
76
|
+
steps:
|
|
77
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
78
|
+
with:
|
|
79
|
+
persist-credentials: false
|
|
80
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
81
|
+
with:
|
|
82
|
+
python-version: "3.13"
|
|
83
|
+
- name: Install dependencies
|
|
84
|
+
run: uv sync --locked
|
|
85
|
+
# Covers platform-specific code such as file locking (fcntl vs msvcrt). These
|
|
86
|
+
# runners can't run the Linux Redis/MongoDB containers, so those tests are excluded.
|
|
87
|
+
- name: Run tests
|
|
88
|
+
run: >-
|
|
89
|
+
uv run pytest -q -k "not redis and not mongodb"
|
|
90
|
+
--ignore=tests/test_redis_storage.py
|
|
91
|
+
--ignore=tests/test_async_redis_storage.py
|
|
92
|
+
--ignore=tests/test_mongodb_storage.py
|
|
93
|
+
--ignore=tests/test_async_mongodb_storage.py
|
|
94
|
+
|
|
95
|
+
test-minimum-deps:
|
|
96
|
+
name: Test (minimum dependency versions)
|
|
97
|
+
runs-on: ubuntu-latest
|
|
98
|
+
steps:
|
|
99
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
100
|
+
with:
|
|
101
|
+
persist-credentials: false
|
|
102
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
103
|
+
with:
|
|
104
|
+
python-version: "3.13"
|
|
105
|
+
- name: Install package with lowest allowed extras
|
|
106
|
+
run: |
|
|
107
|
+
uv venv
|
|
108
|
+
uv pip install --resolution lowest-direct -e ".[all]"
|
|
109
|
+
uv pip install pytest pytest-asyncio testcontainers
|
|
110
|
+
uv pip list | grep -iE "^(redis|pymongo|pydantic) "
|
|
111
|
+
- name: Run tests
|
|
112
|
+
run: .venv/bin/pytest -q
|
|
113
|
+
|
|
114
|
+
build:
|
|
115
|
+
name: Build distributions
|
|
116
|
+
runs-on: ubuntu-latest
|
|
117
|
+
steps:
|
|
118
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
119
|
+
with:
|
|
120
|
+
persist-credentials: false
|
|
121
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
122
|
+
- name: Build sdist and wheel
|
|
123
|
+
run: uv build --no-sources
|
|
124
|
+
- name: Check distribution metadata
|
|
125
|
+
run: uvx twine check --strict dist/*
|
|
126
|
+
- name: Check wheel contents
|
|
127
|
+
run: |
|
|
128
|
+
unzip -l dist/*.whl | tee wheel-contents.txt
|
|
129
|
+
grep -q "objbase/py.typed" wheel-contents.txt
|
|
130
|
+
grep -q "licenses/LICENSE" wheel-contents.txt
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: ["v*"]
|
|
6
|
+
|
|
7
|
+
# Actions are pinned to commit SHAs (updated by Dependabot).
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
check-version:
|
|
13
|
+
name: Check tag matches package version
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
outputs:
|
|
16
|
+
version: ${{ steps.version.outputs.version }}
|
|
17
|
+
prerelease: ${{ steps.version.outputs.prerelease }}
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
20
|
+
with:
|
|
21
|
+
persist-credentials: false
|
|
22
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
23
|
+
with:
|
|
24
|
+
enable-cache: false # never build release artifacts from a cache
|
|
25
|
+
- name: Compare tag with pyproject.toml version
|
|
26
|
+
id: version
|
|
27
|
+
env:
|
|
28
|
+
TAG: ${{ github.ref_name }}
|
|
29
|
+
run: |
|
|
30
|
+
version=$(uv version --short)
|
|
31
|
+
if [[ "${TAG}" != "v${version}" ]]; then
|
|
32
|
+
echo "::error::Tag ${TAG} does not match the package version ${version} in pyproject.toml (expected v${version})."
|
|
33
|
+
exit 1
|
|
34
|
+
fi
|
|
35
|
+
echo "version=${version}" >> "$GITHUB_OUTPUT"
|
|
36
|
+
# PEP 440 pre-releases (e.g. 1.0.0a1, 1.0.0b2, 1.0.0rc1, 1.0.0.dev1)
|
|
37
|
+
if [[ "${version}" =~ (a|b|rc|\.dev)[0-9]+$ ]]; then
|
|
38
|
+
echo "prerelease=true" >> "$GITHUB_OUTPUT"
|
|
39
|
+
else
|
|
40
|
+
echo "prerelease=false" >> "$GITHUB_OUTPUT"
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
ci:
|
|
44
|
+
name: CI
|
|
45
|
+
needs: check-version
|
|
46
|
+
uses: ./.github/workflows/ci.yml
|
|
47
|
+
|
|
48
|
+
build:
|
|
49
|
+
name: Build distributions
|
|
50
|
+
needs: [check-version, ci]
|
|
51
|
+
runs-on: ubuntu-latest
|
|
52
|
+
steps:
|
|
53
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
54
|
+
with:
|
|
55
|
+
persist-credentials: false
|
|
56
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
57
|
+
with:
|
|
58
|
+
enable-cache: false # never build release artifacts from a cache
|
|
59
|
+
- name: Build sdist and wheel
|
|
60
|
+
run: uv build --no-sources
|
|
61
|
+
- name: Check distribution metadata
|
|
62
|
+
run: uvx twine check --strict dist/*
|
|
63
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
64
|
+
with:
|
|
65
|
+
name: dist
|
|
66
|
+
path: dist/
|
|
67
|
+
if-no-files-found: error
|
|
68
|
+
|
|
69
|
+
github-release:
|
|
70
|
+
name: Create GitHub release
|
|
71
|
+
needs: [check-version, build]
|
|
72
|
+
runs-on: ubuntu-latest
|
|
73
|
+
permissions:
|
|
74
|
+
contents: write
|
|
75
|
+
steps:
|
|
76
|
+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
77
|
+
with:
|
|
78
|
+
name: dist
|
|
79
|
+
path: dist/
|
|
80
|
+
- name: Create release with distributions attached
|
|
81
|
+
env:
|
|
82
|
+
GH_TOKEN: ${{ github.token }}
|
|
83
|
+
TAG: ${{ github.ref_name }}
|
|
84
|
+
PRERELEASE: ${{ needs.check-version.outputs.prerelease }}
|
|
85
|
+
run: |
|
|
86
|
+
flags=()
|
|
87
|
+
if [[ "${PRERELEASE}" == "true" ]]; then
|
|
88
|
+
flags+=(--prerelease)
|
|
89
|
+
fi
|
|
90
|
+
gh release create "${TAG}" dist/* \
|
|
91
|
+
--repo "${GITHUB_REPOSITORY}" \
|
|
92
|
+
--title "${TAG}" \
|
|
93
|
+
--generate-notes \
|
|
94
|
+
--verify-tag \
|
|
95
|
+
"${flags[@]}"
|
|
96
|
+
|
|
97
|
+
# A dry run on TestPyPI; if the upload or the install check fails, nothing is published to PyPI.
|
|
98
|
+
publish-testpypi:
|
|
99
|
+
name: Publish to TestPyPI
|
|
100
|
+
needs: [check-version, build]
|
|
101
|
+
runs-on: ubuntu-latest
|
|
102
|
+
# Trusted publishing, like PyPI below, but configured on test.pypi.org.
|
|
103
|
+
environment:
|
|
104
|
+
name: testpypi
|
|
105
|
+
url: https://test.pypi.org/project/objbase/${{ needs.check-version.outputs.version }}/
|
|
106
|
+
permissions:
|
|
107
|
+
id-token: write
|
|
108
|
+
steps:
|
|
109
|
+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
110
|
+
with:
|
|
111
|
+
name: dist
|
|
112
|
+
path: dist/
|
|
113
|
+
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
|
114
|
+
with:
|
|
115
|
+
repository-url: https://test.pypi.org/legacy/
|
|
116
|
+
# TestPyPI rejects re-uploads, so re-running a release whose PyPI step failed would fail here.
|
|
117
|
+
skip-existing: true
|
|
118
|
+
- uses: astral-sh/setup-uv@c18668ad3cf93ea998bef934396af7bb5c839dc7 # v10.2.0
|
|
119
|
+
with:
|
|
120
|
+
enable-cache: false
|
|
121
|
+
# The minimum supported version (requires-python). Without it uv uses the runner's
|
|
122
|
+
# system Python, which may be too old to install the package.
|
|
123
|
+
python-version: "3.13"
|
|
124
|
+
- name: Install from TestPyPI
|
|
125
|
+
env:
|
|
126
|
+
VERSION: ${{ needs.check-version.outputs.version }}
|
|
127
|
+
# Only TestPyPI is used as the index, which works because the package has no
|
|
128
|
+
# required dependencies. New uploads can take a minute to appear, so retry.
|
|
129
|
+
run: |
|
|
130
|
+
for attempt in 1 2 3 4 5 6; do
|
|
131
|
+
if uv run --isolated --no-project --no-cache \
|
|
132
|
+
--index-url https://test.pypi.org/simple/ --with "objbase==${VERSION}" \
|
|
133
|
+
python -c "import importlib.metadata as m, objbase; assert m.version('objbase') == '${VERSION}'"; then
|
|
134
|
+
exit 0
|
|
135
|
+
fi
|
|
136
|
+
echo "objbase ${VERSION} not installable from TestPyPI yet (attempt ${attempt}), retrying in 20s ..."
|
|
137
|
+
sleep 20
|
|
138
|
+
done
|
|
139
|
+
echo "::error::objbase ${VERSION} could not be installed from TestPyPI."
|
|
140
|
+
exit 1
|
|
141
|
+
|
|
142
|
+
publish-pypi:
|
|
143
|
+
name: Publish to PyPI
|
|
144
|
+
needs: [check-version, publish-testpypi]
|
|
145
|
+
runs-on: ubuntu-latest
|
|
146
|
+
# Trusted publishing: configure a publisher for this repository, workflow
|
|
147
|
+
# (release.yml) and environment on PyPI; no API token is needed.
|
|
148
|
+
environment:
|
|
149
|
+
name: pypi
|
|
150
|
+
url: https://pypi.org/project/objbase/${{ needs.check-version.outputs.version }}/
|
|
151
|
+
permissions:
|
|
152
|
+
id-token: write
|
|
153
|
+
steps:
|
|
154
|
+
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
|
155
|
+
with:
|
|
156
|
+
name: dist
|
|
157
|
+
path: dist/
|
|
158
|
+
- uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # v1.14.2
|
objbase-0.3.0/.gitignore
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
.idea/
|
|
2
|
+
|
|
3
|
+
# Data written by the examples
|
|
4
|
+
data/
|
|
5
|
+
|
|
6
|
+
### Python template
|
|
7
|
+
# Byte-compiled / optimized / DLL files
|
|
8
|
+
__pycache__/
|
|
9
|
+
*.py[cod]
|
|
10
|
+
*$py.class
|
|
11
|
+
|
|
12
|
+
# C extensions
|
|
13
|
+
*.so
|
|
14
|
+
|
|
15
|
+
# Distribution / packaging
|
|
16
|
+
.Python
|
|
17
|
+
build/
|
|
18
|
+
develop-eggs/
|
|
19
|
+
dist/
|
|
20
|
+
downloads/
|
|
21
|
+
eggs/
|
|
22
|
+
.eggs/
|
|
23
|
+
lib/
|
|
24
|
+
lib64/
|
|
25
|
+
parts/
|
|
26
|
+
sdist/
|
|
27
|
+
var/
|
|
28
|
+
wheels/
|
|
29
|
+
share/python-wheels/
|
|
30
|
+
*.egg-info/
|
|
31
|
+
.installed.cfg
|
|
32
|
+
*.egg
|
|
33
|
+
MANIFEST
|
|
34
|
+
|
|
35
|
+
# PyInstaller
|
|
36
|
+
# Usually these files are written by a python script from a template
|
|
37
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
38
|
+
*.manifest
|
|
39
|
+
*.spec
|
|
40
|
+
|
|
41
|
+
# Installer logs
|
|
42
|
+
pip-log.txt
|
|
43
|
+
pip-delete-this-directory.txt
|
|
44
|
+
|
|
45
|
+
# Unit test / coverage reports
|
|
46
|
+
htmlcov/
|
|
47
|
+
.tox/
|
|
48
|
+
.nox/
|
|
49
|
+
.coverage
|
|
50
|
+
.coverage.*
|
|
51
|
+
.cache
|
|
52
|
+
nosetests.xml
|
|
53
|
+
coverage.xml
|
|
54
|
+
*.cover
|
|
55
|
+
*.py,cover
|
|
56
|
+
.hypothesis/
|
|
57
|
+
.pytest_cache/
|
|
58
|
+
cover/
|
|
59
|
+
|
|
60
|
+
# Translations
|
|
61
|
+
*.mo
|
|
62
|
+
*.pot
|
|
63
|
+
|
|
64
|
+
# Django stuff:
|
|
65
|
+
*.log
|
|
66
|
+
local_settings.py
|
|
67
|
+
db.sqlite3
|
|
68
|
+
db.sqlite3-journal
|
|
69
|
+
|
|
70
|
+
# Flask stuff:
|
|
71
|
+
instance/
|
|
72
|
+
.webassets-cache
|
|
73
|
+
|
|
74
|
+
# Scrapy stuff:
|
|
75
|
+
.scrapy
|
|
76
|
+
|
|
77
|
+
# Sphinx documentation
|
|
78
|
+
docs/_build/
|
|
79
|
+
|
|
80
|
+
# PyBuilder
|
|
81
|
+
.pybuilder/
|
|
82
|
+
target/
|
|
83
|
+
|
|
84
|
+
# Jupyter Notebook
|
|
85
|
+
.ipynb_checkpoints
|
|
86
|
+
|
|
87
|
+
# IPython
|
|
88
|
+
profile_default/
|
|
89
|
+
ipython_config.py
|
|
90
|
+
|
|
91
|
+
# pyenv
|
|
92
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
93
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
94
|
+
# .python-version
|
|
95
|
+
|
|
96
|
+
# pipenv
|
|
97
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
98
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
99
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
100
|
+
# install all needed dependencies.
|
|
101
|
+
#Pipfile.lock
|
|
102
|
+
|
|
103
|
+
# poetry
|
|
104
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
105
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
106
|
+
# commonly ignored for libraries.
|
|
107
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
108
|
+
#poetry.lock
|
|
109
|
+
|
|
110
|
+
# pdm
|
|
111
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
112
|
+
#pdm.lock
|
|
113
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
114
|
+
# in version control.
|
|
115
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
116
|
+
.pdm.toml
|
|
117
|
+
.pdm-python
|
|
118
|
+
.pdm-build/
|
|
119
|
+
|
|
120
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
121
|
+
__pypackages__/
|
|
122
|
+
|
|
123
|
+
# Celery stuff
|
|
124
|
+
celerybeat-schedule
|
|
125
|
+
celerybeat.pid
|
|
126
|
+
|
|
127
|
+
# SageMath parsed files
|
|
128
|
+
*.sage.py
|
|
129
|
+
|
|
130
|
+
# Environments
|
|
131
|
+
.env
|
|
132
|
+
.venv
|
|
133
|
+
env/
|
|
134
|
+
venv/
|
|
135
|
+
ENV/
|
|
136
|
+
env.bak/
|
|
137
|
+
venv.bak/
|
|
138
|
+
|
|
139
|
+
# Spyder project settings
|
|
140
|
+
.spyderproject
|
|
141
|
+
.spyproject
|
|
142
|
+
|
|
143
|
+
# Rope project settings
|
|
144
|
+
.ropeproject
|
|
145
|
+
|
|
146
|
+
# mkdocs documentation
|
|
147
|
+
/site
|
|
148
|
+
|
|
149
|
+
# mypy
|
|
150
|
+
.mypy_cache/
|
|
151
|
+
.dmypy.json
|
|
152
|
+
dmypy.json
|
|
153
|
+
|
|
154
|
+
# Pyre type checker
|
|
155
|
+
.pyre/
|
|
156
|
+
|
|
157
|
+
# pytype static type analyzer
|
|
158
|
+
.pytype/
|
|
159
|
+
|
|
160
|
+
# Cython debug symbols
|
|
161
|
+
cython_debug/
|
|
162
|
+
|
|
163
|
+
# PyCharm
|
|
164
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
165
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
166
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
167
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
168
|
+
#.idea/
|
|
169
|
+
|
objbase-0.3.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 fm-labs
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|