Compare commits

...

10 Commits

217 changed files with 3599 additions and 3407 deletions

13
.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
# generic py
__pycache__/
.pytest_cache/
localsys.egg-info/
.ipynb_checkpoints/
.python-version
# vendor and build files
dist/
build/
docs/_autoref/
docs/_autosummary/
docs/_build/

View File

@ -1 +0,0 @@
co4

View File

@ -4,7 +4,7 @@ BASH=/usr/bin/bash
## ------------------ docs ------------------ ## ## ------------------ docs ------------------ ##
docs-build: docs-build:
sphinx-apidoc --module-first -o docs/_autoref/ co4 sphinx-apidoc --module-first --separate -o docs/_autoref/ co3
make -C docs/ html make -C docs/ html
docs-serve: docs-serve:
@ -12,5 +12,9 @@ docs-serve:
docs-clean: docs-clean:
make -C docs/ clean make -C docs/ clean
rm -rf docs/_autoref
## ------------------------------------------ ## ## ------------------------------------------ ##
## ----------------- tests ------------------ ##
test:
pytest --pyargs tests -v

View File

@ -43,7 +43,7 @@ def register_table(table_name=None):
return func return func
return decorator return decorator
class Composer[C: Component, M: 'Mapper[C]']: class Composer[C: Component]:
''' '''
Base composer wrapper for table groupings. Base composer wrapper for table groupings.
@ -87,3 +87,4 @@ class Composer[C: Component, M: 'Mapper[C]']:
Retrieve the named table composition, if defined. Retrieve the named table composition, if defined.
''' '''
return self.table_map.get(table_name) return self.table_map.get(table_name)

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/accessor.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/fts.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/sql.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/vss.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/co3.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/collector.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/component.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/components/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/composer.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/database.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/databases/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/databases/fts.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/databases/sql.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/databases/vss.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/indexer.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/manager.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/managers/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/managers/fts.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/managers/sql.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/managers/vss.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/mapper.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/schema.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/schemas/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/util/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/util/db.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/util/regex.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co3/co3/util/types.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/accessor.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/fts.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/table.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/vss.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/co4.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/collector.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/composer.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/databases/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/databases/_base.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/databases/core.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/databases/fts.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/databases/vss.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/indexer.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/manager.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/managers/__init__.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/managers/core.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/managers/fts.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/managers/vss.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/utils/db.py

View File

@ -1 +0,0 @@
/home/smgr/Documents/projects/ontolog/co4/co4/utils/paths.py

View File

@ -6,8 +6,8 @@ co3/accessor.py
co3/co3.py co3/co3.py
co3/collector.py co3/collector.py
co3/component.py co3/component.py
co3/composer.py
co3/database.py co3/database.py
co3/engine.py
co3/indexer.py co3/indexer.py
co3/manager.py co3/manager.py
co3/mapper.py co3/mapper.py
@ -26,10 +26,12 @@ co3/databases/__init__.py
co3/databases/fts.py co3/databases/fts.py
co3/databases/sql.py co3/databases/sql.py
co3/databases/vss.py co3/databases/vss.py
co3/engines/__init__.py
co3/managers/__init__.py co3/managers/__init__.py
co3/managers/fts.py co3/managers/fts.py
co3/managers/sql.py co3/managers/sql.py
co3/managers/vss.py co3/managers/vss.py
co3/mappers/__init__.py
co3/schemas/__init__.py co3/schemas/__init__.py
co3/util/__init__.py co3/util/__init__.py
co3/util/db.py co3/util/db.py

View File

@ -95,17 +95,19 @@ Note: Organization for inheritance over composition
from co3.accessor import Accessor from co3.accessor import Accessor
from co3.co3 import CO3, collate from co3.co3 import CO3, collate
from co3.collector import Collector from co3.collector import Collector
from co3.composer import Composer #from co3.composer import Composer
from co3.database import Database from co3.database import Database
from co3.indexer import Indexer from co3.indexer import Indexer
from co3.manager import Manager from co3.manager import Manager
from co3.mapper import Mapper from co3.mapper import Mapper, ComposableMapper
from co3.component import Component from co3.component import Component
from co3.schema import Schema from co3.schema import Schema
from co3.engine import Engine
from co3 import accessors from co3 import accessors
from co3 import databases from co3 import databases
from co3 import managers from co3 import managers
from co3 import components from co3 import components
from co3 import schemas from co3 import schemas
from co3 import engines
from co3 import util from co3 import util

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More