Compare commits
10 Commits
c58bc8cf06
...
fac33b69d3
Author | SHA1 | Date | |
---|---|---|---|
fac33b69d3 | |||
0c61f79f2b | |||
0509487b62 | |||
6caf2631b8 | |||
8e4554ed0d | |||
157ff69b9e | |||
9badda5446 | |||
0f9582c391 | |||
8e5bbac46e | |||
7baa746006 |
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal 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/
|
@ -1 +0,0 @@
|
||||
co4
|
6
Makefile
6
Makefile
@ -4,7 +4,7 @@ BASH=/usr/bin/bash
|
||||
|
||||
## ------------------ docs ------------------ ##
|
||||
docs-build:
|
||||
sphinx-apidoc --module-first -o docs/_autoref/ co4
|
||||
sphinx-apidoc --module-first --separate -o docs/_autoref/ co3
|
||||
make -C docs/ html
|
||||
|
||||
docs-serve:
|
||||
@ -12,5 +12,9 @@ docs-serve:
|
||||
|
||||
docs-clean:
|
||||
make -C docs/ clean
|
||||
rm -rf docs/_autoref
|
||||
## ------------------------------------------ ##
|
||||
|
||||
## ----------------- tests ------------------ ##
|
||||
test:
|
||||
pytest --pyargs tests -v
|
||||
|
@ -43,7 +43,7 @@ def register_table(table_name=None):
|
||||
return func
|
||||
return decorator
|
||||
|
||||
class Composer[C: Component, M: 'Mapper[C]']:
|
||||
class Composer[C: Component]:
|
||||
'''
|
||||
Base composer wrapper for table groupings.
|
||||
|
||||
@ -87,3 +87,4 @@ class Composer[C: Component, M: 'Mapper[C]']:
|
||||
Retrieve the named table composition, if defined.
|
||||
'''
|
||||
return self.table_map.get(table_name)
|
||||
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/__init__.py
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/accessor.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/__init__.py
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/fts.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/sql.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/accessors/vss.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/co3.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/collector.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/component.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/components/__init__.py
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/composer.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/database.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/databases/__init__.py
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/databases/fts.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/databases/sql.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/databases/vss.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/indexer.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/manager.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/managers/__init__.py
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/managers/fts.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/managers/sql.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/managers/vss.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/mapper.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/schema.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/schemas/__init__.py
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/util/__init__.py
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/util/db.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/util/regex.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co3/co3/util/types.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/__init__.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/accessor.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/__init__.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/fts.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/table.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/accessors/vss.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/co4.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/collector.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/composer.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/databases/__init__.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/databases/_base.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/databases/core.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/databases/fts.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/databases/vss.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/indexer.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/manager.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/managers/__init__.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/managers/core.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/managers/fts.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/managers/vss.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/utils/db.py
|
@ -1 +0,0 @@
|
||||
/home/smgr/Documents/projects/ontolog/co4/co4/utils/paths.py
|
@ -6,8 +6,8 @@ co3/accessor.py
|
||||
co3/co3.py
|
||||
co3/collector.py
|
||||
co3/component.py
|
||||
co3/composer.py
|
||||
co3/database.py
|
||||
co3/engine.py
|
||||
co3/indexer.py
|
||||
co3/manager.py
|
||||
co3/mapper.py
|
||||
@ -26,10 +26,12 @@ co3/databases/__init__.py
|
||||
co3/databases/fts.py
|
||||
co3/databases/sql.py
|
||||
co3/databases/vss.py
|
||||
co3/engines/__init__.py
|
||||
co3/managers/__init__.py
|
||||
co3/managers/fts.py
|
||||
co3/managers/sql.py
|
||||
co3/managers/vss.py
|
||||
co3/mappers/__init__.py
|
||||
co3/schemas/__init__.py
|
||||
co3/util/__init__.py
|
||||
co3/util/db.py
|
||||
|
@ -95,17 +95,19 @@ Note: Organization for inheritance over composition
|
||||
from co3.accessor import Accessor
|
||||
from co3.co3 import CO3, collate
|
||||
from co3.collector import Collector
|
||||
from co3.composer import Composer
|
||||
#from co3.composer import Composer
|
||||
from co3.database import Database
|
||||
from co3.indexer import Indexer
|
||||
from co3.manager import Manager
|
||||
from co3.mapper import Mapper
|
||||
from co3.mapper import Mapper, ComposableMapper
|
||||
from co3.component import Component
|
||||
from co3.schema import Schema
|
||||
from co3.engine import Engine
|
||||
|
||||
from co3 import accessors
|
||||
from co3 import databases
|
||||
from co3 import managers
|
||||
from co3 import components
|
||||
from co3 import schemas
|
||||
from co3 import engines
|
||||
from co3 import util
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user