From c58bc8cf063030cafd2375ea96ea4fe5a142da4e Mon Sep 17 00:00:00 2001 From: "Sam G." Date: Sat, 6 Apr 2024 18:30:06 -0700 Subject: [PATCH] add and integrate Component, Schema objects --- README.md | 16 +- .../co3/__pycache__/__init__.cpython-312.pyc | Bin 0 -> 5065 bytes .../co3/__pycache__/accessor.cpython-312.pyc | Bin 0 -> 1868 bytes .../co3/__pycache__/co3.cpython-312.pyc | Bin 0 -> 4625 bytes .../co3/__pycache__/collector.cpython-312.pyc | Bin 0 -> 6025 bytes .../co3/__pycache__/component.cpython-312.pyc | Bin 0 -> 1355 bytes .../co3/__pycache__/composer.cpython-312.pyc | Bin 0 -> 4557 bytes .../co3/__pycache__/database.cpython-312.pyc | Bin 0 -> 4423 bytes .../co3/__pycache__/indexer.cpython-312.pyc | Bin 0 -> 15132 bytes .../co3/__pycache__/manager.cpython-312.pyc | Bin 0 -> 2370 bytes .../co3/__pycache__/mapper.cpython-312.pyc | Bin 0 -> 8185 bytes .../co3/__pycache__/schema.cpython-312.pyc | Bin 0 -> 2268 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 1612 bytes .../accessors/__pycache__/fts.cpython-312.pyc | Bin 0 -> 6191 bytes .../accessors/__pycache__/sql.cpython-312.pyc | Bin 0 -> 6069 bytes .../accessors/__pycache__/vss.cpython-312.pyc | Bin 0 -> 4289 bytes .../co3/component.py | 1 + .../co3/components/__init__.py | 1 + .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 4779 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 353 bytes .../databases/__pycache__/fts.cpython-312.pyc | Bin 0 -> 579 bytes .../databases/__pycache__/sql.cpython-312.pyc | Bin 0 -> 2284 bytes .../databases/__pycache__/vss.cpython-312.pyc | Bin 0 -> 579 bytes .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 363 bytes .../managers/__pycache__/fts.cpython-312.pyc | Bin 0 -> 10172 bytes .../managers/__pycache__/sql.cpython-312.pyc | Bin 0 -> 17989 bytes .../managers/__pycache__/vss.cpython-312.pyc | Bin 0 -> 6493 bytes .../co3/relation.py | 1 - .../co3/relations/__init__.py | 1 - .../co3/schema.py | 1 + .../co3/schemas/__init__.py | 1 + .../__pycache__/__init__.cpython-312.pyc | Bin 0 -> 1543 bytes .../util/__pycache__/__init__.cpython-312.pyc | Bin 0 -> 268 bytes .../co3/util/__pycache__/db.cpython-312.pyc | Bin 0 -> 14870 bytes .../util/__pycache__/regex.cpython-312.pyc | Bin 0 -> 541 bytes .../util/__pycache__/types.cpython-312.pyc | Bin 0 -> 442 bytes .../co3/util/types.py | 1 + co3.egg-info/PKG-INFO | 21 +- co3.egg-info/SOURCES.txt | 9 +- co3/__init__.py | 8 +- co3/accessor.py | 5 +- co3/accessors/sql.py | 98 ++++++--- co3/co3.py | 2 + co3/collector.py | 3 +- co3/component.py | 19 ++ co3/components/__init__.py | 79 +++++++ co3/composer.py | 4 +- co3/database.py | 6 +- co3/databases/sql.py | 18 +- co3/manager.py | 5 +- co3/managers/sql.py | 23 +- co3/mapper.py | 159 +++++++------- co3/mappers/__init__.py | 74 +++++++ co3/relation.py | 37 ---- co3/relations/__init__.py | 16 -- .../__pycache__/__init__.cpython-312.pyc | Bin 1269 -> 0 bytes co3/schema.py | 32 +++ co3/schemas/__init__.py | 21 ++ co3/util/types.py | 6 + .../mapper-checkpoint.ipynb | 145 +++++++++++++ .../vegetables-checkpoint.py | 80 +++++++ .../__pycache__/vegetables.cpython-312.pyc | Bin 0 -> 4049 bytes examples/mapper.ipynb | 200 ++++++++++++++++++ examples/vegetables.py | 80 +++++++ tests/co4_example.py | 17 +- 65 files changed, 977 insertions(+), 213 deletions(-) create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/__init__.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/accessor.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/co3.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/collector.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/component.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/composer.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/database.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/indexer.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/manager.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/mapper.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/schema.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/__init__.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/fts.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/sql.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/vss.cpython-312.pyc create mode 120000 build/__editable__.co3-0.1.1-py3-none-any/co3/component.py create mode 120000 build/__editable__.co3-0.1.1-py3-none-any/co3/components/__init__.py create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/components/__pycache__/__init__.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/__init__.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/fts.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/sql.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/vss.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/__init__.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/fts.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/sql.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/vss.cpython-312.pyc delete mode 120000 build/__editable__.co3-0.1.1-py3-none-any/co3/relation.py delete mode 120000 build/__editable__.co3-0.1.1-py3-none-any/co3/relations/__init__.py create mode 120000 build/__editable__.co3-0.1.1-py3-none-any/co3/schema.py create mode 120000 build/__editable__.co3-0.1.1-py3-none-any/co3/schemas/__init__.py create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/schemas/__pycache__/__init__.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/__init__.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/db.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/regex.cpython-312.pyc create mode 100644 build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/types.cpython-312.pyc create mode 120000 build/__editable__.co3-0.1.1-py3-none-any/co3/util/types.py create mode 100644 co3/component.py create mode 100644 co3/components/__init__.py create mode 100644 co3/mappers/__init__.py delete mode 100644 co3/relation.py delete mode 100644 co3/relations/__init__.py delete mode 100644 co3/relations/__pycache__/__init__.cpython-312.pyc create mode 100644 co3/schema.py create mode 100644 co3/schemas/__init__.py create mode 100644 co3/util/types.py create mode 100644 examples/.ipynb_checkpoints/mapper-checkpoint.ipynb create mode 100644 examples/.ipynb_checkpoints/vegetables-checkpoint.py create mode 100644 examples/__pycache__/vegetables.cpython-312.pyc create mode 100644 examples/mapper.ipynb create mode 100644 examples/vegetables.py diff --git a/README.md b/README.md index fff4fd0..45c7486 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,21 @@ a known schema. - **Collector** to collect data for updating storage state - **Database** to collect data for updating storage state - **Mapper** to collect data for updating storage state -- **Relation** to collect data for updating storage state +- **Component** to collect data for updating storage state **CO3** is an abstract base class that makes it easy to integrate this model with object hierarchies that mirror a storage schema. + +# Detailed structural breakdown +There are a few pillars of the CO3 model that meaningfully group up functionality: + +- Database: generic to a Component type, provides basic connection to a database at a + specific address/location. The explicit Component type makes it easy to hook into + appropriately typed functional objects: + * Manager: generic to a Component and Database type, provides a supported set of + state-modifying operations to a constituent database + * Accessor: generic to a Component and Database type, provides a supported set of + state inspection operations on a constituent database + * Indexer: +- Mapper: generic to a Component, serves as the fundamental connective component between + types in the data representation hierarchy (CO3 subclasses) and database Components. diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/__init__.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..09e92407cc1988402c45b74a84744428a1db1cb2 GIT binary patch literal 5065 zcmai2TW=h<6`qx3OIlf$FG+n#iZV42Tfu78KyOMBK$YRvKog^|ffkDbJKP!W?nIp7 zfSi%MLH|cz`Um=3+Fu|*?L*OrzO@MYlBa&>kaLj(xWa0|;gE;t@}2J-?q7CyhY|jM z@~6G|n|o384|-_+*23VszhdymD2*mjI!M>_AYYrT4QRZs*Yl0ZMt);*gP%9_&3tpR z$>SS(E8m`M^Z2G7<~x%e9&hSf`R-(w$6NY#zBk$9@wUE`-<{m$@lfB(?@#XYct?Mb ze>nM&$G7y4@&}U#Jl@6l;p8EYZ)5yu@`%TK7(bpo=J6ejKbm~RhCtm;N*C#qzs(f`oYg6IqL5ft( zvm&c9Q#jfrlSDaZtn+)%RgtM8Q6g8>(xgtzjTL@PRxCu?oUDqExSL&=1Sy34gd#hr%_gPN&{9g5$fspo6_%)!WiI zXht@-8Y3InnQkPslII-n#wW`xO;s@#FCbUFm3ax%hpb+k7>E2wQENQhP9z3emaFy| z_@hUDj_G9|mrGM4Wl6L66t7M~;)Nx^Q8yDDJQ7y9QY95T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zVAo+CnQ}D7zumx-y+KpEekzz{Z_*s^!yIXM(bpexV|D zkH$G$Zg*%R92Xp5Z?%iOC3cr4)=90sj1&{hv=uiL6qDfSioqrKo%bz&T3p}P)ZegHTv-dS87Zj{A~RB`16Bu zb#zdGf(~S{;?=#5;QOtgds_L@KEas-{JSsl_3!n;VDO){-wy^G|NX;SG?aWMKSn5#%m4rY literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/accessor.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/accessor.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..ad10a815d363a9f2d81088dc3859e85c79f7611f GIT binary patch literal 1868 zcmZ8h&1)Pt6qjZ{J@z^uEjZ8y6asA)vbznrg%IL8p%l{K;zD8CFvuhA?zEcGSekV* z#s(h@aRa%v_}pViTlxp|KjgdTcJa7x;o`krPti90Y)Pft%zKk5D6`?b^Y z34A9Ti^H87Ay05J`@E@g_$4R@M38_8Dm+C43S&)qNiC>RwAEETX#@?YH&ioe1+AnV zwB6iObAb;&O*Nk^1PhdSM6~wE!)frKQ+VC>)+2v8ilnvL`2MQVo3W6Vac5$=W;|t+ zR7j(WI2|z?jb*}FJ~nzX8Z*x9B+InPrC?U(Ob?mPq~Uq2Q`=`Nid*X^G9PPUS)?aQ zuyx5sG6f%Xo{i(txToZ%RBY|j8|=2>8SJ*_nKs~^Zpt*4X(ZWjl145h8@iPw(WzfS z>Df$1@i30q#zdM}+P?o6-tT6Ymi1Mhk71k_a>yqt7jcw#y|T6Z;mRj6=j9?_x4Gd_ zULkxy%efVuWIB~;9!(#~4NZ`cB67G2;;whMhA9zrkNo7_p*uu)qE_kmYD4dy=aG-d zzPAs$sPDB!;~Vcse}`_<+yz7NL-S$1nyis-tE4MOj-#;j7W{{cAP&guZENHKy=hut zeLxODl9$n7tP?q~$;b?@>1dJwbUVn5{z^um=rq?#j|P#xI9Q*=N({nKia6)%N`_${ z%)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z=xN2r@KKHx^N zn>U?=(HZW~9B@+br(5<8Yo+Blu|O&Jfrvt2G}484K&OsAAct9i54!@0{- z0ahDqG((F_Ii7$q0LD~d;NfYkwk4}yro)-jnap))Bh7jPcAyY4Ad6)|UxFjta{$SJ zp-hhpT{c4)hjUf0V&4uj!LknL8D$$C&jLftwCf^)8eG;K-!i!LOv~bs!MDxVeer#@OzBR_5TQPGXSq| zc@n7Eb?OIMQxp1pbHwnWjnhHvMGo9WS>n}nyTcLFgmojo)%ikAkg*VFMiFow=$>K) z0{Ruf7jy_qVOU3+syHYqMqh)hgj*EGxm%T@E=!h-8V7)tOqR4^bSg2{kJ%63SME9&+Tx|UOPM0bGhl3#qC|Zz-%s#qG?|5Ln(6s;<>{^zHC%XX0i!D8A|ehf z;SxM>$IyJu1_#uk4Gz9vp`}?g0PwKE;A%EhzYV7`!w9qz-~ASvs|3Q>9C~*?^O~FY zI&^a#sC%%^&|2DWnGySayd7W~YvOwS?fhEWQINK}gE2k@`PDH+hZpjJFZOekL4;tV z;kbx-+%67-DoEk>Qw3s68e+z;7833mj4GfN^h5wncdN2<)p~7#J|!Vbim332Cj`3K zLqQYeyug4Ya0&?3b9m#0Ka_u6-svgc>>d2&(`!#}T-bVe>)6MyZXccawD*bKp(B4A zDy@%Qz4*?>&GDU~(w299Xl%Q8Oc{8pka3G(-sj(^uH7*kCfVcao+0Z^e?y{C*t0J?i1+6pjsc#s>HMlgTq7 zP$4!1rBTy#1yo(S0u}n)3wXIyA%ZlS6wwxB6;^f}OS+U5E*UMz0!}}zY#!=0PBSER zkf5YhNJt5LhZbLD9t&aE1@{T8rc{%c(d@-FO}iCKYl;0qrVads_5YRK56GIkXZ6U9 tYhhh literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/collector.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/collector.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..407a99145e1e2308eba80e0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k7u^pvq`ti!^i^yMkiM(h@apX zQ(S~Im#>B`DpVjs3SP`7bi#p6SWqF50C|RjC6+v3!xdy4GRG#dQGw#6Y_Vl%6BUIn z?CK_hKsW+0OJd+e3O=nZTi`)kWl6{zq0*LIkY-z*DGb3kjR6Q8V-#8&h?L_CBIN)F z9nv=tP{)21r6CvzjtPNG8O=$P!L2hO21?l?%q)nK0J>nm8K~lOXhw!@Xjd%BJp>L*SPMn_ek%c&AsQq9q$_cPBPb zDXMY&>*f7OD_ZE~f#SWQVRo9*n(VNpqW0l+X>6lPHVW%3e$h*KEVH#;Y;^a#@y&Q8 z|IZ;dvirT`cea1A{qRSPzl?o>mI0!riOy4c~eC!T6E;<469q z>)Ewo>|GmS`wp(;-`Qb{GAk)qVyT8HO8aU2pV{90pd`&6^XNMLga^%VmTH4YzA8bG z!9Gm}60Bu09eh|JbE-US^a=V#B*CbxcM)jJ$>$~rTiDg`APbhB7-YZQS7hJ5A6ahi6?0L3rA}vNd?+r8)G8u29o|kr7 z(rXDNnwk;``IGpbr=B9a=nO?P1aLXxZjv;xxommUlO#kB!)s{r?c40@+(@zXaNH?A z^>ApccyPU1D7wZdBWd_irC=!+QKH@scUH#uMD{&u%xVg2njjDvcg`I19Y2*xaAPdG zs6tIQ24Bu+)G^2#8}?%I?J|3(`@!og-EY{lj%yxkG_yt!GF7%IlJ0G5iF7UsXB5T1 zw*!>heumPAnxecn+;+omtAR-HccoL-uV>T=yb_G+19+_E9mn}Px6dj3>jZQ5{f!-3 Q9~yD?eDedGzhT6`0j+@3_5c6? literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/database.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/__pycache__/database.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..c089b45d006faf66d680783dcb9dd9412d5674e7 GIT binary patch literal 4423 zcmbtX-ES1v6~D8evmdqr(;BcL7cdPQd3S?S6+$Qt;Dkm{q86G;`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V(o oandvK+&Q0*aF3mnK$pf;oH;GEWz{F!*u!lI7$A9ANyz2 z58h8Pc$3KFB9W;a>9iSLjM6wh(nrnsV%&|#`nWl{I7yT3@#IAOHcpc4l?_ax7J>YF zQEA~ldr}5d%EzfzR99lfBpj1(wF)HFa>XWKrrvV$8GB5#-ES+uW7JCK#R4XXm`DtU_zEs=gQYt$s_Zo~(}%g{$hzBKtF5fRps*?%5A7 z_k_jIL3Q!-$FoE0zM9;*xl@+XR%Lnfd1W6LJ3VlL6#f_Oju7zEd32S-ZTY|XYwsPd zJQOW?tKd=e}9F`BPi1aqR>@Z=L-a_4~Os!D_pjBk6pxR$9)>lBMeCE6W1Y zvxmi_;?b<#KAss6G!tgq?LI)n31w8k?sog(vv1HmYt2vGDYB>d`!DhO`zTG*e@0)V T<9{C{>4V>s$-89Y?qcOXy{{qX literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/fts.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/fts.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..4b6455e326222be2dabf3bcc5f5e055af7db950c GIT binary patch literal 6191 zcmZ`-OKcn0dLF(ciVu@EX+0_DB$h3)k;u3X(m>YLjS?x5Uvg@xO=C2mMl(m^$io?W zW+++g2*@G}7VtvpCNfeZLeYgTd>01Vg%@3+u0W_)kXozlc})X&RNU1X+*+s&FrWZ%_?Z zLia)e))rF3mB_tFKnMyS33B)gL5|SK(~vv&Ue8V--}5~qmhu57T(cAv-{_nqQPb27 z$sOjF7d+ype?a9cf%3KP1^a}b`zN23gESydCL{%z^<%C&>(`V`TsixGa;Y2qK zy;d!)?Kn|!W5Z>W*e+9pDq2ZaB+KcmY085dE$Nz+It4atEifDXltu~L26j_c!0)$% zPrbSo^xJBJ0kk)LpYWUU?Tp?H+94xmhmEKlvO{0P8|?7c!jtfB%8nROJ0(Z#2p0xwu6t!cR8QMK3_t`|us6Db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R7Z|gNxW)8EZaF;o?cQED(j0G?@G`7uP1tM1T8a~YM3_3Rsn8NFDBi|Jm z5L`D^-v&P0Z2y86bs^z;Bc^nGjpYQG1b^@hwqNCmMz^?oVv|4$Je7q$77d^e-+d*r zI|pGxrrAEk_q0xOhh**^+a=7YQ!-|mRZ)TqP`EXBCj%z+J zxqzrt+rXh{0_>;BJ8ySO&_2ju9?<-QU^D{HWrmO18avNgTr!v5T*-t^56CapCR) z!P?~d5|LC98kn68_%7dOUy0Ir|I~q;#Ey<$X!yWSc&8RW7W~ui>BCB%AD(=Gy2L|X z5M|L4J773MJvd2T2L7TR-UZ+<1Ek(JvoqJWIuv*WxIW8~U zTKHh4O){P9{oO(4*?giNnk3`(@Hi`DtOO|d)W`B+L|Jx12$1{*yf{#G-C*~0BgzVP zS2oy_k%0@6U?f<6Xoe;X6 zWV=bUFs0XjD`78AZjk(3`LbLr{DHYH>^;Y3Z;mTBX=jxQEYjg^CH9lJOp1{l^R4-I_oE{gR`Z**M|LLgU zwlV0JNvPt#2byp$Xskhk24n< z(N=~udX96K_h$}jho2taY!1EKICByXW|GIr!N%K<=y&O{qx9He2(r)r{rP9s-;F#=KEK<%^xkjNb0;A- zl%X)x8hq`W#N))lXDem3FCEZ>PY&mrslrjT z&`&|_0kW$ z;dJao2=~Q)g2M^_j2lGe$6DPgA zE$X$M^l>uglW|Tad@{+&Gd`K(WZEasa`K!{W;mJk$@84-_sIcH4*KK}Cx?ZB5hmKn z2q$wsIm*ck9{GE&kP8n(Cg1DCkQ_yoJ>Kj%K~rRj@v0F*pOZkX;Aa*i>;q}sV6`^F vFQYTAfo6?6=wNTXW)1~BE)e)PVc@@o?7s`I|Gwu|Fc90D_#c6N`RxA%Le%k~ literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/sql.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/sql.cpython-312.pyc new file mode 100644 index 0000000000000000000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=p&8UhvhDr9&LloKHJuuQBLR6!7Q z}<9wR%i~oF9kcfv0DX-1q>3l8tBkH^P*snw)d2lW3KTfy#q9 zXXK=v!!)09D0u)6sAfP8glM=|gn&ARe=qzsz^890U-;&>?*8Yh{-TzOH=O5FL2w@eLa_~=zlPKcKV;7|x3J?NzhGS%NFfHB>?n4F*gb>Ye(W&fawCf$ivS{WI|ie8#Iw-P;%qHiBluZ^tXge$0u~^~cXAGoz_3QV7aQ;r7g~uubtg7-J2rIlTPv}X^TQuT zb}UEst;RYRj$J#p)Uy)n$GO;YWRE}BwGw+2=i1&la`h-q4qh8vq${xl^TVDOIeh)_ zl5?}~{pgwH@EI>Y3}8&ySPc^4qk$cUTe3dv`mqyHAKGp2X+)M-OAs;JVc2~e{y4tn zoU|5}I=WZ4?O5&DxgLpxn7l?dMR=>75b*7~A4`OulRu1hJ_zB!3*GRn%N_6l)zlQm z=g}^`8jrb+sgz;s5Rf(&pvYjEX@+*sje?Y7Eer~LJfWp^hTh9<1Oo>}I>&9w6d^@| zkd-rZiLP2JNO|HIfc%@GpL3gGlt9J7k}Sjc#cjnY9Zg0a>op?lXM!PU-^JxOrOls* zhrGc0I6DU*=yLff=+*+VEZ{pbJy literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/vss.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/accessors/__pycache__/vss.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6a4221e4e67ca8ca7a9fdce87aa7e31fa7a923bb GIT binary patch literal 4289 zcmb6cU2GFadUm~Q?~k1|Ng%;V$u{8{+>jUuT(5!hmlW;}h^h;v$duc2yqmuGgpgX4iiTLF$d{ zZ@!uN=G*!HXZ{rk2nZT;h?@8(VBe8JwXqds{W2gok&0AGM^U$@q7;m2olbh99?G3# zqKresM!nE`bYGH-aulMGMol+YnbvzvSf<=jRHV^Kq%zl#%4*!Qr!wo$P+{-)WH1`0 zZ05a~H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`sDu?Zu0>(h40{KMMmzR*w22dMZ z__;c!eu#VIqQTn$>siAvzF>#{!iK(NhyTt_e!)&`7VtdVd>$ooU z62-#EP|2dn`Vyo`lkpa#7Led}3kh~fEJ;jCEKUV+!-C;lKTXzKg30;DdMQx(V!h(R z9CV?ylHwv3pn>S(WyQrstU&RV44*;v{mRwP$j?pHFV0Ob(s#*EF3nBND=F45D9X=D zO$IXZ^Gfn_^3(N!_UR{;X6B^m$H%9pWC9(QlNukd2Nc#d&@3F6ILgAD9^#8SgO2-(}Fe$DmmR G3RwUppJMs| literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/fts.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/fts.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..6428624dbd045977e6c905624a51ae5e53d1ddb3 GIT binary patch literal 579 zcmXv~Jx?Ps5FPJF5`~0-?i$k3u|;-4vFAn^m}_zj3( zg08y?twe>cxDF}MP%&QbPBDIO?0MrifBO9{VEo-9=g)Y)S<*yUgT*d_2jIX-4w9sV zSnTDV^i#jWejdm$4GDN~1U$F{9t!g0yZ*E_Z$<6@mPDlN9Iz=nV@4oeIy^nu&oW_* z(nz~Vk6FRSLT9ekWm1#HPXrGjASE19PxxsdLR2S_S4lO>zoT~9p|oI9P+E2=m5R@D zi+hw_&sgqmbbxYYht(g@)^6FB?gNjouv5P-k_#n8V&qsS2P&IMQA|xT(dtTM2vjju zxf&;#+D^`9mpM-;75ow%+IcaSN1O3hyfvE4w?~C4#E2F1>NT&|V3PBxi6?X2#&K0@ zAuv5mcknV8-u!wQtlb{z<>uPD>!EPmC}_Lqa@Cd^FD6D&=WoT;M1& literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/sql.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/sql.cpython-312.pyc new file mode 100644 index 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6+kwj&h1gc7)a|q9nNc+%QfX@2pzRtPz(Y;?z#h&0f_=hm7WMpXg z0hq^^$#iQ;y5ISqbobeNnjZ#PsSZ7T-XY%}+aL>haU87^KEq!Ng3 zg-8aa3`(4kZN(+?a$H`@%@Ong$$t1m4#*N&&#JM{xIa_b7UiMxpfkvNjY{x1)a>LH z;3yGo$E~zUh#EW$aeZU>qiuMY^o{sTRy8IhD&v_IcrAEg;C+%WSPUUq&N4C5!a=KF zs1tF+InAqZ4W?3@0P-Y5DgBM?{*xShOg{LXOgtvljXajm#x4lu(;}rqx38@1>FzxG JjKExa`5)Vu9CH8w literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/vss.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/databases/__pycache__/vss.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..825111d455a76fe5c101212a93a44bc38b1c00d8 GIT binary patch literal 579 zcmXv~u};G<5IrYNTa}iAV4)iu8Jd7t5fTy-EU+LkWU)+a3Mh_?-6C}Zi4S1o8xVg2 zKY$`JAqF<2!otKkPHs5AclN#WyVqW?0~maVoWJ1tVM!f91?Ia59)SZV8Ay^4VzHNb z(og&n`&mNJJmDt|5uiE=y;7=HJ`P(&o6?*~L21#UR4P8rEbdZz zJ!P4@(G8R<+N}D3wswn_bRT$vxt;oV5nm`NVk1X7-dE{VihN??u~t_iMWFJD%G4-M z)pmR~z07z_soH6OCuOh2zR(f$3tp zhqwOV_VBI0c6Xo`>uc+-i^5T@pzWTEWm~Gfm8AB8Duw%q{@Ock jQM-BtsolC6VEXn6A@8vM3E?|z{4_l>c-Z&_Jj&jG&T^C4 literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/__init__.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..f27bd710a5b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9-o{)eWmyhO0dwUy+T z@FN09hkMSg+h&9>M8~2tAI#Z}FC|QEoN>QVkmJwh_;c{dkjvMN%GCynW{Z^IS6~#u zKC!OI9MQ`*lIP*ukd+s?`?a2{Uwiv&Ur$cDvi9mldt=((INN?>^YzUsd*fZZ?_N#q zq%+&nv)HmD-Lhk`Wp}z|ccx`8UDa<-yP77C%vkR?wZ8Y#wU-u~wxpZ3%vXP};kymr zAN;A=#J?V};iyiyZ9s4sK2Oe@;%hn-KXxcf`m#u1o z8d=plUw7Y#8Da_{43x$v?z;EgLw)U?s?O{tZ>qZe{zg`ZStklA?f0asG9`^$+^s`<+Ktv?m#D(AM|tjctr zxLfypwytxrt~XuRJ8%D}?(yXcOksH)w|UR>k(u*%syAh8nrC<3sp-QncGL9Ge~hzQbq}rJmi^y_Zgv-nn)n;lJb2@ z{)TGG^dB|^Cz4@>q_1@->TCGKNWsn!0d&Svd_Nop(q*krag zJ~Sh@Ot}Y6-rBxwGg6bn-i5XTSK-c9 zRcBq5+1iF|jpt$636r($*OKLV-YRI0W10sG#3#W_p-HD9D^8K%I^%6t7EzlkAzw@= zIH*a|Qr&Nbdl6NEM+5Z~ehHVBvWdPd@TH6}pIOd^|6PE5$LkOu8HnTmp@_tMx<^ML zn?ZAuIq`!*IPdAlt=c)^pxN1}uDP5UzdBS%m!&|r$X3 zLB>)E{i+l9F!-4c`|TqmTh0L)e~bl+YQ$$=z&e@+qXoreXeg;h4vu8)M}GU1f50b? zf9fa_m}flyv8j!>d~yT{Td+0R*cAywHryDQamFx7T2UD@{uM`dg- F{|D6)n(Y7p literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/vss.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/managers/__pycache__/vss.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..a8d2a6395a058427bb4cce15c0d07880cf55c5ba GIT binary patch literal 6493 zcmbtYZ*1Gf6+cRpM9P#c+m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w-1c$%> zTevM1AH!j0s&13~Qr+Z(hrmz-2da&KLA>Amngq9vrvPmd5|O~|TM|nc;3H>}OagJG zQ7l89ZQ;!}?+%;pmF7+N6#R;^CBdsz32+hU%4xWXeDPS@ybe_48! z{s1Nifv9!}))5V3KaN!}-#^!1^oC_`cn#=nl&6;5(y=`#|2lYIN<9y**2T_cDri z5S;FvUA=j-NHyUn#|D}5-SxE2d*{4GPgwSZSD1#YgVTcxM1D|Vb{3g{%mfyD7Dp7O z2M~0#Jzu?MM~;S>?-m<_a$`_w3_7Z^0Vy-@zn?35N*}M0J#&Zev_B8HxA_9$$|%clvd0*?D~4HG+?k z-~;m6W%N&z#qyQ)>gNc{GsOCY30b^fgF5V(gcCs4 z%mhJvjCOs5sy{-Gk5JXesOj&h?qlTs2sQo#wSA0S0C?=)d}EPrmg(l%g9_bo$$F2> Q5rloF@t@#p34Ia%3$+M}9RL6T literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/relation.py b/build/__editable__.co3-0.1.1-py3-none-any/co3/relation.py deleted file mode 120000 index 0b07dfb..0000000 --- a/build/__editable__.co3-0.1.1-py3-none-any/co3/relation.py +++ /dev/null @@ -1 +0,0 @@ -/home/smgr/Documents/projects/ontolog/co3/co3/relation.py \ No newline at end of file diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/relations/__init__.py b/build/__editable__.co3-0.1.1-py3-none-any/co3/relations/__init__.py deleted file mode 120000 index 25617d3..0000000 --- a/build/__editable__.co3-0.1.1-py3-none-any/co3/relations/__init__.py +++ /dev/null @@ -1 +0,0 @@ -/home/smgr/Documents/projects/ontolog/co3/co3/relations/__init__.py \ No newline at end of file diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/schema.py b/build/__editable__.co3-0.1.1-py3-none-any/co3/schema.py new file mode 120000 index 0000000..4b513f9 --- /dev/null +++ b/build/__editable__.co3-0.1.1-py3-none-any/co3/schema.py @@ -0,0 +1 @@ +/home/smgr/Documents/projects/ontolog/co3/co3/schema.py \ No newline at end of file diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/schemas/__init__.py b/build/__editable__.co3-0.1.1-py3-none-any/co3/schemas/__init__.py new file mode 120000 index 0000000..3381267 --- /dev/null +++ b/build/__editable__.co3-0.1.1-py3-none-any/co3/schemas/__init__.py @@ -0,0 +1 @@ +/home/smgr/Documents/projects/ontolog/co3/co3/schemas/__init__.py \ No newline at end of file diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/schemas/__pycache__/__init__.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/schemas/__pycache__/__init__.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..387aa6ef790f0e4dd9d75555eee0adbdf643a976 GIT binary patch literal 1543 zcmZWp&u<$=6n-;nuh))~y0j*yQWXnvh+EliRKY2#I0O(9L?T8)+6pb3-Em^GKiru$ zs;Pr=u+)G!fDrh?A(fCIia`7kNF2BjA=GMB1gPS`E!0G}UP&!B%_OD4@+k5-Joq)5xDMbudYx=RlYB&F?j71BE*%)I z_96W?w?(2P7O@YKO`q(i5?2E%shF&tNP*(O8GJ@_2t#-j+<-l@S|MC=*n<%w9KT!N z41HD?{synFgihCIK_u!O9=4f-Mi@k)7jD#@@N#{<+w$DHWihuE$#Yp&4c*mCwWZop zwbQ#?4Z?s`?VzVt3#Ev_^{t>4;o44*XECD!X$VPU8@^op)PIU=9Fbcy$-WF zHn)9YSy;(@?J(wJ^ zKB=9|C&%aogh$FT%_S_=R!yYlr_iK$*;3Q%ulF<*GK<$Yku^4a7TK;H*$$n?0Ho2D zsYV|l46%p$(+=9AebRnx>BMYLs7)OBo}^uYw@Uz9S|s;Xqdn>Bi38t#txxyIEC_sj zE(Lws06v3L$XQqSQpEauw%28XXV4wznmqI^HG@ku#}iyC8XK)ZM0Vh?IGu#aI+k&$ zLdCNxY;yAV=cjViPE5#~E0z(q;ms)nnT3_pz<@uwun299SO&lUnXY=&-3g&iBO zViFBT96a3@_jqxNaEBpfPAe&4qBA^n4{08&)VE!*S|2tG4=yXz{V_}d?z)B z16MWWRnV>8KjqnB+F&V$Xl%$x2os8Tc1rSjCwJ(y>|Gn=BQ}H6KK8N;_^KNM^bsw# zl0K02V62i=rIm@>+Ulwjv@TX+E!IUhmW4;Ji>)6ob~;D0@g|bkjpymTLp50a5N323 TsQWp^PX+)-w)|wb;hN@ODQiUZ literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/db.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/db.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5d41991200625d471e5fa330d911df3b35984763 GIT binary patch literal 14870 zcmeHOYfv0lcJ7|(o;NTI?}t$9%}5CJwAM%~FOtyPSSzrT)!LaIrW+U-W^i`{0uMIp z^=4sLyF&3+gx0GvPF!Uva%z=d@sA`G?N)82Dn9~7YsPJ*O1s$~$v-5Nl12XHJGZ-s z0U_-(Ra;3e#qHbo-S?h*&Uena^UryCJ`Q1i=%I3HE64pCz1Tsp5(|5Hj=Rjs+&NC> zWk-TP$Fry7oP#}`=bY>*oD=bMCS1Mlb8en%L@q#FDp$%u zl$6PZN_mGv4!tFutMGF6pIn7}v3rj>gWOmtA9iybS`@t{o~x3pZF*eMD=*G6Ri@mqDozHMUASlt|3WJNquT+ATBGibmWlK z7uCCbW-IB7lH6X8jw0rJ?Exx07^d!(^Gd8=SEQ(~OpmDSO*8w~q7kdJT6?luwBD>)dq9u2CzOL>HfAi998gqU zQlozHy}n!918yL0PX4ZB4vk@El};6HTSuxj(1j-zFUZjYT>ddki;_YQZ}k>)=X z>^7}jSZrwvI}A51cv9C4k8(b)>5){=uuppxM@DIEXlS4hQDR-Gu&C114VPKl5PN&% zxN11GsF7!Guyq=!N4Y&hM?$4ZX*5SkT5NCVO7$uYT5qS?a3mG$rvsri;D~i&SG0yy zQcopPoeibqkd=o&h33eySFD(No9L9ImBwy`EDT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^j10f^OCwm0wCoF+-3%WLI1x>u-)XUnsJZ?M28m7WT>vZ8 z%==-qc_u_Q;c*e6;s{M0cMdF*pL!jY;&iIJkYE?YLe-@aOXYKg8)phP z!VP}Mv}f&{XWNWt+lMD-J^OG;WZun%HZ5>M$o2J;qesRzl4rQ^;uprh zFz1(M{L)nMtbg<9k-Prj#KuWs+Fv~_R5P#}=8sx;>RXP6c_<+*M_Z1n7ipy&Ex4CS zukle#ExgunM8B@OJbkV^BS?R%B3!n%Bq86~!-n^sYp_-TVcQ z7e1QPrn|=zVO9!sCZjX3U*UO_vh4SDf$vcCn!2g5xK)nSL6mt z#VH!4h$%j#dN78`*4LB~WTkrJ;w(= ziRZ`Gr~U#!=UT;NYLT@A2@i`=vZzbKk}DTNhkq z{QiYqe!gg-GQgKFRD1c7g;Fmcx?k$!%kG!EP&p{_&n@H^^Of^;UOsp&wg4q5IA6^b zmShT{_!Ps5nhCABS8$5wtM3*RUOYd3esaV3>kA@fESz%`@jd+fuBGbvMVYe7dj-c= QR;P>yZH_$N{58gZ11oN39{>OV literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/regex.cpython-312.pyc b/build/__editable__.co3-0.1.1-py3-none-any/co3/util/__pycache__/regex.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..be0da3384e98d9a7c52b3270eb2c14f9f92d5667 GIT binary patch literal 541 zcmYjOze~eF6n>Y)pFu^`O|)(XNn@-y`2)qNgNs{5Lz_Hm>m^q%30iS*a2A~kPOj2F z#ii0gh;B}9LI=UgyO^pE?t9;R_wK##?jFa+MnTx!^(S5n|0aXJsTt|53DN=&JVK!a z3Lw;#e$k)zls5T^N{XjmK}l^ALwlF0z4M91t@VW?V{vQaVB0Jm8g5pa9?%5JVZEY& z7DQ=MLcK5HHv>Y%1+=sA^?`pI8Et2N9}HzLA&#LYlWy5Zx)KKE6LdIM@hnlpxRMM| zc8c5}i5B5m6iP|CFSL%Ck5=ecxwXsO*vB9Wtp;axbOm8S#3-v;E-P4-xJEt8anP$p zT4t)ANmHGM;L3BIcyBxcr7evBEh4m+-33 zKI^$BJ$FBK?{)R1XWf3%?XF(vXoa4r07FX@j>(YA{6>u;moJevc>u0UJ|f_2c-?1S tOmUM>h)`ZIToCY~5<*^JvXjODI6ZJK4lPG--T44o(d2&Md=ohtXaJLy+xDO{@NKeM6=Q>Dp6 zd}y)#wAi$4g7>^*Ea<#VlfbR2X(8sJ7qpoy>}e_L5sNq-?DJHLtTaDqN!5eI?j@M< zG`B;&faQeu7L2kDV~je~$0+jK3~f*+@o^AGC}gyY9RX+%Q$pLwp$%jw9&wRrV%Lka zQ%utkw7z20jk+H4h91xW>sG)g?j-gI635}l2>DoD^{JZ>yw2vuRw!PC#P=mb2tUBm r5G;NdfVObHd&#c*SN(_Or`ls}P+5DHUX>SRP}zJhZ=DsHCVGAVhO=*n literal 0 HcmV?d00001 diff --git a/build/__editable__.co3-0.1.1-py3-none-any/co3/util/types.py b/build/__editable__.co3-0.1.1-py3-none-any/co3/util/types.py new file mode 120000 index 0000000..df0d193 --- /dev/null +++ b/build/__editable__.co3-0.1.1-py3-none-any/co3/util/types.py @@ -0,0 +1 @@ +/home/smgr/Documents/projects/ontolog/co3/co3/util/types.py \ No newline at end of file diff --git a/co3.egg-info/PKG-INFO b/co3.egg-info/PKG-INFO index 17a54cd..6d2bd8f 100644 --- a/co3.egg-info/PKG-INFO +++ b/co3.egg-info/PKG-INFO @@ -11,7 +11,7 @@ Description-Content-Type: text/markdown Requires-Dist: tqdm # Overview -`co4` is a package for file conversion and associated database operations. The `CO4` base class +`co3` is a package for file conversion and associated database operations. The `CO3` base class provides a standard interface for performing conversions, preparing inserts, and interacting with database schemas that mirror the class hierarchy. @@ -25,6 +25,23 @@ a known schema. - **Indexer** to index/cache access queries - **Manager** to manage storage state (e.g., supported inserts, database syncs) - **Collector** to collect data for updating storage state +- **Database** to collect data for updating storage state +- **Mapper** to collect data for updating storage state +- **Component** to collect data for updating storage state -**CO4** is an abstract base class that makes it easy to integrate this model with object +**CO3** is an abstract base class that makes it easy to integrate this model with object hierarchies that mirror a storage schema. + +# Detailed structural breakdown +There are a few pillars of the CO3 model that meaningfully group up functionality: + +- Database: generic to a Component type, provides basic connection to a database at a + specific address/location. The explicit Component type makes it easy to hook into + appropriately typed functional objects: + * Manager: generic to a Component and Database type, provides a supported set of + state-modifying operations to a constituent database + * Accessor: generic to a Component and Database type, provides a supported set of + state inspection operations on a constituent database + * Indexer: +- Mapper: generic to a Component, serves as the fundamental connective component between + types in the data representation hierarchy (CO3 subclasses) and database Components. diff --git a/co3.egg-info/SOURCES.txt b/co3.egg-info/SOURCES.txt index fde29fa..3b8f27d 100644 --- a/co3.egg-info/SOURCES.txt +++ b/co3.egg-info/SOURCES.txt @@ -5,12 +5,13 @@ co3/__init__.py co3/accessor.py co3/co3.py co3/collector.py +co3/component.py co3/composer.py co3/database.py co3/indexer.py co3/manager.py co3/mapper.py -co3/relation.py +co3/schema.py co3.egg-info/PKG-INFO co3.egg-info/SOURCES.txt co3.egg-info/dependency_links.txt @@ -20,6 +21,7 @@ co3/accessors/__init__.py co3/accessors/fts.py co3/accessors/sql.py co3/accessors/vss.py +co3/components/__init__.py co3/databases/__init__.py co3/databases/fts.py co3/databases/sql.py @@ -28,7 +30,8 @@ co3/managers/__init__.py co3/managers/fts.py co3/managers/sql.py co3/managers/vss.py -co3/relations/__init__.py +co3/schemas/__init__.py co3/util/__init__.py co3/util/db.py -co3/util/regex.py \ No newline at end of file +co3/util/regex.py +co3/util/types.py \ No newline at end of file diff --git a/co3/__init__.py b/co3/__init__.py index 0b6fc93..4e9c770 100644 --- a/co3/__init__.py +++ b/co3/__init__.py @@ -93,17 +93,19 @@ Note: Organization for inheritance over composition ''' from co3.accessor import Accessor -from co3.co3 import CO3 +from co3.co3 import CO3, collate from co3.collector import Collector 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.relation import Relation +from co3.component import Component +from co3.schema import Schema from co3 import accessors from co3 import databases from co3 import managers -from co3 import relations +from co3 import components +from co3 import schemas from co3 import util diff --git a/co3/accessor.py b/co3/accessor.py index ef69d42..c4b98ad 100644 --- a/co3/accessor.py +++ b/co3/accessor.py @@ -8,13 +8,14 @@ schema-specific queries. import inspect from pathlib import Path from collections import defaultdict +from abc import ABCMeta, abstractmethod import sqlalchemy as sa -#from co3.database import Database +from co3.component import Component -class Accessor[D: 'Database']: +class Accessor[C: Component, D: 'Database[C]'](metaclass=ABCMeta): ''' Access wrapper class for complex queries and easy integration with Composer tables. Implements high-level access to things like common constrained SELECT queries. diff --git a/co3/accessors/sql.py b/co3/accessors/sql.py index 1ee0fea..41ce839 100644 --- a/co3/accessors/sql.py +++ b/co3/accessors/sql.py @@ -1,3 +1,42 @@ +''' +Design proposal: variable backends + +One particular feature not supported by the current type hierarchy is the possible use of +different backends to implement a general interface like SQLAccessor. One could imagine, +for instance, using `sqlalchemy` or `sqlite` to define the same methods laid out in a +parent class blueprint. It's not too difficult to imagine cases where both of these may be +useful, but for now it is outside the development scope. Should it ever enter the scope, +however, we might consider a simple `backend` argument on instantiation, keeping just the +SQLAccessor exposed rather than a whole set of backend-specific types: + +```py +class SQLAlchemyAccessor(RelationalAccessor): # may also inherit from a dedicated interface parent + def select(...): + ... + +class SQLiteAccessor(RelationalAccessor): + def select(...): + ... + +class SQLAccessor(RelationalAccessor): + backends = { + 'sqlalchemy': SQLAlchemyAccessor, + 'sqlite': SQLteAccessor, + } + + def __init__(self, backend: str): + self.backend = self.backends.get(backend) + + def select(...): + return self.backend.select(...) + +``` + +For now, we can look at SQLAccessor (and equivalents in other type hierarchies, like +SQLManagers) as being SQLAlchemyAccessors and not supporting any backend swapping. But in +theory, to make the above change, we'd just need to rename it and wrap it up. +''' + from pathlib import Path from collections.abc import Iterable import inspect @@ -7,21 +46,44 @@ import sqlalchemy as sa from co3 import util from co3.accessor import Accessor -from co3.relation import Relation - -#from co3.databases.sql import RelationalDatabase, TabularDatabase, SQLDatabase -from co3.relations import TabularRelation, SQLTable +from co3.components import Relation, SQLTable -class RelationalAccessor[D: 'RelationalDatabase', R: Relation](Accessor[D]): - pass +class RelationalAccessor[R: Relation, D: 'RelationalDatabase[R]'](Accessor[R, D]): + def raw_select(self, sql: str): + raise NotImplementedError + + def select( + self, + relation: R, + cols = None, + where = None, + distinct_on = None, + order_by = None, + limit = 0, + ): + raise NotImplementedError + + def select_one( + self, + relation : R, + cols = None, + where = None, + mappings : bool = False, + include_cols : bool = False, + ): + res = self.select(relation, cols, where, mappings, include_cols, limit=1) + + if include_cols and len(res[0]) > 0: + return res[0][0], res[1] + + if len(res) > 0: + return res[0] + + return None -class TabularAccessor[D: 'TabularDatabase', R: TabularRelation](RelationalAccessor[D, R]): - pass - - -class SQLAccessor(TabularAccessor['SQLDatabase', SQLTable]): +class SQLAccessor(RelationalAccessor[SQLTable, 'SQLDatabase[SQLTable]']): def raw_select( self, sql, @@ -37,7 +99,7 @@ class SQLAccessor(TabularAccessor['SQLDatabase', SQLTable]): def select( self, - table: sa.Table | sa.Subquery | sa.Join, + table: SQLTable, cols = None, where = None, distinct_on = None, @@ -82,15 +144,3 @@ class SQLAccessor(TabularAccessor['SQLDatabase', SQLTable]): stmt = stmt.limit(limit) return res_method(self.engine, stmt, include_cols=include_cols) - - def select_one(self, table, cols=None, where=None, mappings=False, include_cols=False): - res = self.select(table, cols, where, mappings, include_cols, limit=1) - - if include_cols and len(res[0]) > 0: - return res[0][0], res[1] - - if len(res) > 0: - return res[0] - - return None - diff --git a/co3/co3.py b/co3/co3.py index 0018d87..14e8098 100644 --- a/co3/co3.py +++ b/co3/co3.py @@ -29,6 +29,8 @@ logger = logging.getLogger(__name__) def collate(action_key, action_groups=None): def decorator(func): + nonlocal action_groups + if action_groups is None: action_groups = [None] func._action_data = (action_key, action_groups) diff --git a/co3/collector.py b/co3/collector.py index 3880504..305266d 100644 --- a/co3/collector.py +++ b/co3/collector.py @@ -29,12 +29,13 @@ from uuid import uuid4 import sqlalchemy as sa from co3 import util +from co3.component import Component #from localsys.db.schema import tables logger = logging.getLogger(__name__) -class Collector: +class Collector[C: Component, M: 'Mapper[C]']: def __init__(self): self._inserts = defaultdict(lambda: defaultdict(list)) diff --git a/co3/component.py b/co3/component.py new file mode 100644 index 0000000..a648434 --- /dev/null +++ b/co3/component.py @@ -0,0 +1,19 @@ +''' +Component + +General wrapper for storage components to be used in various database contexts. Relations +can be thought of generally as named data containers/entities serving as a fundamental +abstractions within particular storage protocols. +''' + +class Component[T]: + def __init__(self, name, obj: T, schema: 'Schema'): + self.name = name + self.obj = obj + + self.schema = schema + schema.add_component(self) + + def get_attributes(self): + raise NotImplementedError + diff --git a/co3/components/__init__.py b/co3/components/__init__.py new file mode 100644 index 0000000..413f37b --- /dev/null +++ b/co3/components/__init__.py @@ -0,0 +1,79 @@ +from typing import Self +from abc import ABCMeta, abstractmethod + +import sqlalchemy as sa + +from co3.util.types import TableLike +from co3.component import Component + + +class ComposableComponent[T](Component[T], metaclass=ABCMeta): + ''' + Components that can be composed with others of the same type. + ''' + @abstractmethod + def compose(self, component: Self, on) -> Self: + ''' + Abstract composition. + ''' + raise NotImplementedError + + +# relational databases +class Relation[T](ComposableComponent[T]): + ''' + Relation base for tabular components to be used in relation DB settings. Attempts to + adhere to the set-theoretic base outlined in the relational model [1]. Some + terminology: + + Relation: table-like container + | -> Heading: set of attributes + | | -> Attribute: column name + | -> Body: set of tuples with domain matching the heading + | | -> Tuple: collection of values + + + [1]: https://en.wikipedia.org/wiki/Relational_model#Set-theoretic_formulation + + Note: development tasks + As it stands, the Relation skeleton is incredibly lax compared to the properties and + operations that should be formally available, according its pure relational algebra + analog. + + Relations are also generic up to a type T, which ultimately serves as the base object + for Relation instances. We aren't attempting to implement some generally useful + table-like class here; instead we're just exposing a lightweight interface that's + needed for a few CO3 contexts, and commonly off-loading most of the heavy-lifting to + true relation objects like SQLAlchemy tables. + ''' + def compose( + self, + _with: Self, + on, + outer=False + ): + return self + +class SQLTable(Relation[TableLike]): + @classmethod + def from_table(cls, table: sa.Table, schema: 'SQLSchema'): + return cls(table.name, table, schema) + + def get_attributes(self): + return tuple(self.obj.columns) + + +# key-value stores +class Dictionary(Relation[dict]): + def get_attributes(self): + return tuple(self.obj.keys()) + + +# document databases +class Document[T](Component[T]): + pass + + +# graph databases +class Node[T](Component[T]): + pass diff --git a/co3/composer.py b/co3/composer.py index 6161518..4456cb5 100644 --- a/co3/composer.py +++ b/co3/composer.py @@ -26,7 +26,7 @@ class ExampleComposer(Composer): ''' from pathlib import Path -from co3.mapper import Mapper +from co3.component import Component def register_table(table_name=None): @@ -43,7 +43,7 @@ def register_table(table_name=None): return func return decorator -class Composer[M: Mapper]: +class Composer[C: Component, M: 'Mapper[C]']: ''' Base composer wrapper for table groupings. diff --git a/co3/database.py b/co3/database.py index 2b46052..7952296 100644 --- a/co3/database.py +++ b/co3/database.py @@ -21,9 +21,9 @@ from co3.indexer import Indexer logger = logging.getLogger(__name__) -class Database: - accessor: type[Accessor[Self]] = Accessor - manager: type[Manager[Self]] = Manager +class Database[C: Component]: + accessor: type[Accessor[C, Self]] = Accessor[C, Self] + manager: type[Manager[C, Self]] = Manager[C, Self] def __init__(self, resource): ''' diff --git a/co3/databases/sql.py b/co3/databases/sql.py index 9c4b08d..56a3f77 100644 --- a/co3/databases/sql.py +++ b/co3/databases/sql.py @@ -2,30 +2,24 @@ from typing import Self from co3.database import Database -from co3.accessors.sql import RelationalAccessor, TabularAccessor, SQLAccessor -from co3.managers.sql import RelationalManager, TabularManager, SQLManager +from co3.accessors.sql import RelationalAccessor, SQLAccessor +from co3.managers.sql import RelationalManager, SQLManager -from co3.relation import Relation -from co3.relations import TabularRelation, SQLTable +from co3.components import Relation, SQLTable class RelationalDatabase[R: Relation](Database): - accessor: type[RelationalAccessor[Self, R]] = RelationalAccessor[Self, R] - manager: type[RelationalManager[Self, R]] = RelationalManager[Self, R] - - -class TabularDatabase[R: TabularRelation](RelationalDatabase[R]): ''' accessor/manager assignments satisfy supertype's type settings; `TabluarAccessor[Self, R]` is of type `type[RelationalAccessor[Self, R]]` (and yes, `type[]` specifies that the variable is itself being set to a type or a class, rather than a satisfying _instance_) ''' - accessor: type[TabularAccessor[Self, R]] = TabularAccessor[Self, R] - manager: type[TabularManager[Self, R]] = TabularManager[Self, R] + accessor: type[RelationalAccessor[Self, R]] = RelationalAccessor[Self, R] + manager: type[RelationalManager[Self, R]] = RelationalManager[Self, R] -class SQLDatabase[R: SQLTable](TabularDatabase[R]): +class SQLDatabase[R: SQLTable](RelationalDatabase[R]): accessor = SQLAccessor manager = SQLManager diff --git a/co3/manager.py b/co3/manager.py index f8ced6d..e69270b 100644 --- a/co3/manager.py +++ b/co3/manager.py @@ -7,10 +7,11 @@ interacting with an underlying database, like inserts and schema recreation. from pathlib import Path from abc import ABCMeta, abstractmethod +from co3.schema import Schema #from co3.database import Database -class Manager[D: 'Database'](metaclass=ABCMeta): +class Manager[C: Component, D: 'Database[C]'](metaclass=ABCMeta): ''' Management wrapper class for table groupings. @@ -22,7 +23,7 @@ class Manager[D: 'Database'](metaclass=ABCMeta): self.database = database @abstractmethod - def recreate(self): + def recreate(self, schema: Schema[C]): raise NotImplementedError @abstractmethod diff --git a/co3/managers/sql.py b/co3/managers/sql.py index 43b676a..ceafa1a 100644 --- a/co3/managers/sql.py +++ b/co3/managers/sql.py @@ -48,26 +48,21 @@ import sqlalchemy as sa from tqdm.auto import tqdm from co3 import util - +from co3.schema import Schema from co3.manager import Manager -from co3.relation import Relation -#from co3.databases import SQLDatabase +from co3.components import Relation, SQLTable + #from localsys.reloader.router._base import ChainRouter, Event -from co3.relations import TabularRelation, SQLTable logger = logging.getLogger(__name__) -class RelationalManager[D: 'RelationalDatabase', R: Relation](Manager[D]): +class RelationalManager[R: Relation, D: 'RelationalDatabase[R]'](Manager[R, D]): pass -class TabularManager[D: 'TabularDatabase', R: TabularRelation](RelationalManager[D, R]): - pass - - -class SQLManager(TabularManager['SQLDatabase', SQLTable]): +class SQLManager(RelationalManager[SQLTable, 'SQLDatabase[SQLTable]']): ''' Core schema table manager. Exposes common operations and facilitates joint operations needed for highly connected schemas. @@ -80,8 +75,6 @@ class SQLManager(TabularManager['SQLDatabase', SQLTable]): saturates a router with events (dynamically) and sweeps up inserts on session basis from an attached collector. ''' - conversion_formats = ['src', 'html5'] - def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) @@ -99,9 +92,9 @@ class SQLManager(TabularManager['SQLDatabase', SQLTable]): def add_router(self, router): self.routers.append(router) - def recreate(self): - tables.metadata.drop_all(self.engine) - tables.metadata.create_all(self.engine, checkfirst=True) + def recreate(self, schema: Schema[SQLTable]): + schema.metadata.drop_all(self.engine) + schema.metadata.create_all(self.engine, checkfirst=True) def update(self): pass diff --git a/co3/mapper.py b/co3/mapper.py index 813a70e..eb1a587 100644 --- a/co3/mapper.py +++ b/co3/mapper.py @@ -18,27 +18,56 @@ mapper.attach( } ) ''' +from typing import Callable, Self from collections import defaultdict -from co3.co3 import CO3 -from co3.relation import Relation +from co3.co3 import CO3 +from co3.collector import Collector +from co3.composer import Composer +from co3.component import Component +from co3.schema import Schema -class Mapper[R: Relation]: +class Mapper[C: Component]: ''' Mapper base class for housing schema components and managing relationships between CO3 - types and storage targets (of type R). + types and storage components (of type C). ''' - def __init__(self): - self.attribute_comps: dict[CO3, R] = {} - self.collation_groups: dict[CO3, dict[str|None, R]] = defaultdict(dict) + _collector_cls: type[Collector[C, Self]] = Collector[C, Self] + _composer_cls: type[Composer[C, Self]] = Composer[C, Self] + + def __init__(self, co3_root: type[CO3], schema: Schema): + self.co3_root = co3_root + self.schema = schema + + self.collector = self._collector_cls() + self.composer = self._composer_cls() + + self.attribute_comps: dict[type[CO3], C] = {} + self.collation_groups: dict[type[CO3], dict[str|None, C]] = defaultdict(dict) + + def _check_component(self, comp: C | str): + if type(comp) is str: + comp_key = comp + comp = self.schema.get_component(comp_key) + if comp is None: + raise ValueError( + f'Component key {comp_key} not available in attached schema' + ) + else: + if comp not in self.schema: + raise TypeError( + f'Component {comp} not registered to Mapper schema {self.schema}' + ) + + return comp def attach( self, - type_ref : CO3, - attr_comp : R, - coll_comp : R | None = None, - coll_groups : dict[str | None, R] = None + type_ref : type[CO3], + attr_comp : C | str, + coll_comp : C | str | None = None, + coll_groups : dict[str | None, C | str] = None ) -> None: ''' Parameters: @@ -49,24 +78,33 @@ class Mapper[R: Relation]: coll_groups: storage components for named collation groups; dict mapping group names to components ''' + # check for type compatibility with CO3 root + if not issubclass(type_ref, self.co3_root): + raise TypeError( + f'Type ref {type_ref} not a subclass of Mapper CO3 root {self.co3_root}' + ) + + # check attribute component in registered schema + attr_comp = self._check_component(attr_comp) self.attribute_comps[type_ref] = attr_comp + # check default component in registered schema if coll_comp is not None: - self.collation_groups[type_ref][None] = attr_comp + coll_comp = self._check_component(coll_comp) + self.collation_groups[type_ref][None] = coll_comp + # check if any component in group dict not in registered schema if coll_groups is not None: - self.collation_groups[type_ref].update(attr_comp) + for coll_key in coll_groups: + coll_groups[coll_key] = self._check_component(coll_groups[coll_key]) - def join_attribute_relations(self, r1: R, r2: R) -> R: - ''' - Specific mechanism for joining attribute-based relations. - ''' - pass + self.collation_groups[type_ref].update(coll_groups) - def join_collation_relations(self, r1: R, r2: R) -> R: - ''' - Specific mechanism for joining collation-based relations. - ''' + def attach_hierarchy( + self, + type_ref: type[CO3], + obj_name_map: Callable[[type[CO3]], str], + ): pass def get_connective_data( @@ -84,13 +122,13 @@ class Mapper[R: Relation]: ''' return {} - def get_attribute_comp(self, type_ref: CO3) -> R | None: + def get_attribute_comp(self, type_ref: CO3) -> C | None: return self.attribute_comps.get(type_ref, None) - def get_collation_comp(self, type_ref: CO3, group=str | None) -> R | None: + def get_collation_comp(self, type_ref: CO3, group=str | None) -> C | None: return self.collation_group.get(type_ref, {}).get(group, None) - def collect(self, collector, mapper, action_keys=None) -> dict: + def collect(self, obj, action_keys=None) -> dict: ''' Stages inserts up the inheritance chain, and down through components. @@ -105,38 +143,38 @@ class Mapper[R: Relation]: Returns: dict with keys and values relevant for associated SQLite tables ''' if action_keys is None: - action_keys = list(self.action_map.keys()) + action_keys = list(obj.action_map.keys()) receipts = [] - for _cls in reversed(self.__class__.__mro__[:-2]): - attribute_component = mapper.get_attribute_comp(_cls) + for _cls in reversed(obj.__class__.__mro__[:-2]): + attribute_component = self.get_attribute_comp(_cls) # require an attribute component for type consideration if attribute_component is None: continue - collector.add_insert( + self.collector.add_insert( attribute_component, - self.attributes, + obj.attributes, receipts=receipts, ) for action_key in action_keys: - collation_data = self.collate(action_key) + collation_data = obj.collate(action_key) # if method either returned no data or isn't registered, ignore if collation_data is None: continue - _, action_groups = self.action_map[action_key] + _, action_groups = obj.action_map[action_key] for action_group in action_groups: - collation_component = mapper.get_collation_comp(_cls, group=action_group) + collation_component = self.get_collation_comp(_cls, group=action_group) if collation_component is None: continue # gather connective data for collation components - connective_data = mapper.get_connective_data(self, action_key, action_group) + connective_data = self.get_connective_data(_cls, action_key, action_group) collector.add_insert( collation_component, @@ -153,56 +191,3 @@ class Mapper[R: Relation]: return receipts - @classmethod - def compose(cls, outer=False, conversion=False, full=False): - ''' - Note: - Comparing to ORM, this method would likely also still be needed, since it may - not be explicitly clear how some JOINs should be handled up the inheritance - chain (for components / sa.Relationships, it's a little easier). - - Parameters: - outer: whether to use outer joins down the chain - conversion: whether to return conversion joins or base primitives - full: whether to return fully connected primitive and conversion table - ''' - def join_builder(outer=False, conversion=False): - head_table = None - last_table = None - join_table = None - - for _cls in reversed(cls.__mro__[:-2]): - table_str = None - table_prefix = _cls.table_prefix - - if conversion: table_str = f'{table_prefix}_conversions' - else: table_str = f'{table_prefix}s' - - if table_str not in tables.table_map: - continue - - table = tables.table_map[table_str] - - if join_table is None: - head_table = table - join_table = table - else: - if conversion: - join_condition = last_table.c.name_fmt == table.c.name_fmt - else: - join_condition = last_table.c.name == table.c.name - - join_table = join_table.join(table, join_condition, isouter=outer) - - last_table = table - - return join_table, head_table - - if full: - # note how the join isn't an OUTER join b/w the two - core, core_h = join_builder(outer=outer, conversion=False) - conv, conv_h = join_builder(outer=outer, conversion=True) - return core.join(conv, core_h.c.name == conv_h.c.name) - - join_table, _ = join_builder(outer=outer, conversion=conversion) - return join_table diff --git a/co3/mappers/__init__.py b/co3/mappers/__init__.py new file mode 100644 index 0000000..36a60bf --- /dev/null +++ b/co3/mappers/__init__.py @@ -0,0 +1,74 @@ +from typing import Self + +import sqlalchemy as sa + +from co3.mapper import Mapper +from co3.component import ComposableComponent + + +class ComposableMapper[C: ComposableComponent](Mapper[C]): + def join_attribute_relations(self, r1: C, r2: C) -> C: + ''' + Specific mechanism for joining attribute-based relations. + ''' + pass + + def join_collation_relations(self, r1: C, r2: C) -> C: + ''' + Specific mechanism for joining collation-based relations. + ''' + pass + + @classmethod + def compose(cls, outer=False, conversion=False, full=False): + ''' + Note: + Comparing to ORM, this method would likely also still be needed, since it may + not be explicitly clear how some JOINs should be handled up the inheritance + chain (for components / sa.Relationships, it's a little easier). + + Parameters: + outer: whether to use outer joins down the chain + conversion: whether to return conversion joins or base primitives + full: whether to return fully connected primitive and conversion table + ''' + def join_builder(outer=False, conversion=False): + head_table = None + last_table = None + join_table = None + + for _cls in reversed(cls.__mro__[:-2]): + table_str = None + table_prefix = _cls.table_prefix + + if conversion: table_str = f'{table_prefix}_conversions' + else: table_str = f'{table_prefix}s' + + if table_str not in tables.table_map: + continue + + table = tables.table_map[table_str] + + if join_table is None: + head_table = table + join_table = table + else: + if conversion: + join_condition = last_table.c.name_fmt == table.c.name_fmt + else: + join_condition = last_table.c.name == table.c.name + + join_table = join_table.join(table, join_condition, isouter=outer) + + last_table = table + + return join_table, head_table + + if full: + # note how the join isn't an OUTER join b/w the two + core, core_h = join_builder(outer=outer, conversion=False) + conv, conv_h = join_builder(outer=outer, conversion=True) + return core.join(conv, core_h.c.name == conv_h.c.name) + + join_table, _ = join_builder(outer=outer, conversion=conversion) + return join_table diff --git a/co3/relation.py b/co3/relation.py deleted file mode 100644 index b2049ee..0000000 --- a/co3/relation.py +++ /dev/null @@ -1,37 +0,0 @@ -''' -Relation - -Loose wrapper for table-like objects to be used in various database contexts. Relations -can be thought of generally as named data containers that contain tuples of attributes -(adhering to relational algebra terms). Relation subtypes are referred to commonly across -CO3 generics, serving as a fundamental abstraction within particular storage protocols. - -Note: development tasks - As it stands, the Relation skeleton is incredibly lax compared to the properties and - operations that should be formally available, according its pure relational algebra - analog. - - Relations are also generic up to a type T, which ultimately serves as the base object - for Relation instances. We aren't attempting to implement some generally useful - table-like class here; instead we're just exposing a lightweight interface that's - needed for a few CO3 contexts, and commonly off-loading most of the heavy-lifting to - true relation objects like SQLAlchemy tables. -''' -from typing import Self - - -class Relation[T]: - def __init__(self, name, obj: T): - self.name = name - self.obj = obj - - def get_attributes(self): - raise NotImplementedError - - def join( - self, - corelation: Self, - on, - outer=False - ): - raise NotImplementedError diff --git a/co3/relations/__init__.py b/co3/relations/__init__.py deleted file mode 100644 index 5bc5ba3..0000000 --- a/co3/relations/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -import sqlalchemy as sa - -from co3.relation import Relation - - -class DictRelation(Relation[dict]): - def get_attributes(self): - return tuple(self.obj.keys()) - -class TabularRelation(Relation[sa.Table]): - def get_attributes(self): - return tuple(self.obj.columns) - - -class SQLTable(Relation[sa.Table]): - pass diff --git a/co3/relations/__pycache__/__init__.cpython-312.pyc b/co3/relations/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 3916fdebffff0cbb828e71f816187a26645d08ea..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1269 zcmb6YJx|*}^v-sOlLpccKGasKU`S{dqN+=W3RNno9jZtz3@8#h8T)_)JBB-3BB(=$ z3>`tO6quMJeo7Y*L#u1IszbL*Nf)NRX9oxt13l^9d-p!>eSaAq&Js8qPw47ACFCbQ z&d*Sv=za#GO&sD-msBZW&DA`;s#BtoSH#g<#4)(ejr*W?q{mj(R3uA*YzSnup6mZM zfUfALBmFe!n>W%oo3xbqjlWe&RGII%YXvpGVGsOIAfxDX?*eKQ9z|c(9NHpPy{VOS zm7A;C!G-O)J{lQtF_-RZ0BsUn$ljB>2CT%XrxFZ!9`#vAecJ`np%rkN3c^j7E8SnI zD`SHzOdCs>(k2eBY-V}bF+d%k@z<2$%vh6>OuIQ&O z%Z$|;wScji&88Yz;{mgRK-5;kfXkhSgPG1;6{f+hoB;5F{K${)F1DBUmfFjE%b(b3 zzHn?7x|m3%V7NuMchVjqX;gmIF3&QxUd6NoQ`!+a(xwX z@h)c{wnkIt!rM0xsLNp*#T}3fTo7>&LBj0=J4eMxch8>Zf~|nfb5wXo!(vF7l+#i+b83XkvZMVQkwa=y{{db2j)qB>MwzJ6!t%l CaQb=x diff --git a/co3/schema.py b/co3/schema.py new file mode 100644 index 0000000..317165a --- /dev/null +++ b/co3/schema.py @@ -0,0 +1,32 @@ +''' +Schema + +Collection of related storage components, often representing the data structure of an +entire database. Some databases support multiple schemas, however. In general, a Schema +can wrap up a relevant subset of tables within a single database, so long as +`Manager.recreate()` supports creating components in separate calls. + +Schema objects are used to: + +- Semantically group related storage components +- Tell databases what components to create/remove together +- Provide target contexts for connected CO3 type systems within Mappers +''' + +from co3.component import Component + + +class Schema[C: Component]: + def __init__(self): + self._component_set = set() + self._component_map = {} + + def __contains__(self, component: C): + return component in self._component_set + + def add_component(self, component: C): + self._component_set.add(component) + self._component_map[component.name] = component + + def get_component(self, name: str): + return self._component_map.get(name) diff --git a/co3/schemas/__init__.py b/co3/schemas/__init__.py new file mode 100644 index 0000000..be666a5 --- /dev/null +++ b/co3/schemas/__init__.py @@ -0,0 +1,21 @@ +from typing import Self + +import sqlalchemy as sa + +from co3.schema import Schema +from co3.components import Relation, SQLTable + + +class RelationalSchema[R: Relation](Schema[R]): + pass + +class SQLSchema(RelationalSchema[SQLTable]): + @classmethod + def from_metadata(cls, metadata: sa.MetaData): + instance = cls() + + for table in metadata.tables.values(): + SQLTable.from_table(table, instance) + + return instance + diff --git a/co3/util/types.py b/co3/util/types.py new file mode 100644 index 0000000..822d9bc --- /dev/null +++ b/co3/util/types.py @@ -0,0 +1,6 @@ +from typing import TypeVar + +import sqlalchemy as sa + + +TableLike = TypeVar('TableLike', bound=sa.Table | sa.Subquery | sa.Join) diff --git a/examples/.ipynb_checkpoints/mapper-checkpoint.ipynb b/examples/.ipynb_checkpoints/mapper-checkpoint.ipynb new file mode 100644 index 0000000..a519865 --- /dev/null +++ b/examples/.ipynb_checkpoints/mapper-checkpoint.ipynb @@ -0,0 +1,145 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "e02ccafe-e04d-4312-acba-e41cf7b1c021", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "/home/smgr/.pyenv/versions/co4/lib/python3.12/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", + " from .autonotebook import tqdm as notebook_tqdm\n" + ] + } + ], + "source": [ + "from co3 import Mapper\n", + "\n", + "import vegetables" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "id": "7d80f7b9-7458-4ad4-8c1a-3ea56e796b4e", + "metadata": {}, + "outputs": [], + "source": [ + "vegetable_mapper = Mapper(\n", + " vegetables.Vegetable,\n", + " vegetables.vegetable_schema\n", + ")\n", + "\n", + "vegetable_mapper.attach(\n", + " vegetables.Vegetable,\n", + " vegetables.vegetable_table,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "id": "f9408562-bf50-4522-909c-318557f85948", + "metadata": {}, + "outputs": [], + "source": [ + "# manually attach component\n", + "vegetable_mapper.attach(\n", + " vegetables.Tomato,\n", + " vegetables.tomato_table,\n", + " coll_groups={\n", + " 'aging': vegetables.vegetable_schema.get_component('tomato_aging_states'),\n", + " 'cooking': vegetables.vegetable_schema.get_component('tomato_cooking_states'),\n", + " },\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "05fdd404-87ee-4187-832f-2305272758ae", + "metadata": {}, + "outputs": [], + "source": [ + "# attach by name in schema\n", + "vegetable_mapper.attach(\n", + " vegetables.Tomato,\n", + " vegetables.tomato_table,\n", + " coll_groups={\n", + " 'aging': 'tomato_aging_states',\n", + " 'cooking': 'tomato_cooking_states',\n", + " },\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e9b6af49-a69d-41cc-beae-1b6f171cd2f5", + "metadata": {}, + "outputs": [], + "source": [ + "# attach entire type hierarchy w/ type->name map\n", + "vegetable_mapper.attach_hierarchy(\n", + "# this might make more sense during init\n", + " lambda x:x.__name__.lower())\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "2e4336ab-5b5f-484d-815d-164d4b6f40a0", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "defaultdict(dict,\n", + " {vegetables.Tomato: {'aging': ,\n", + " 'cooking': }})" + ] + }, + "execution_count": 9, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "vegetable_mapper.collation_groups" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d416f9cd-2cb6-4a6e-bab7-86ac21216b8c", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "co3", + "language": "python", + "name": "co3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.12.2" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/examples/.ipynb_checkpoints/vegetables-checkpoint.py b/examples/.ipynb_checkpoints/vegetables-checkpoint.py new file mode 100644 index 0000000..488864f --- /dev/null +++ b/examples/.ipynb_checkpoints/vegetables-checkpoint.py @@ -0,0 +1,80 @@ +import random + +import sqlalchemy as sa + +from co3.schemas import SQLSchema +from co3 import CO3, collate +from co3 import util + + +class Vegetable(CO3): + def __init__(self, name, color): + self.name = name + self.color = color + +class Tomato(Vegetable): + def __init__(self, name, radius): + super().__init__(name, 'red') + self.radius = radius + + @property + def attributes(self): + return vars(self) + + @collate('ripe', action_groups=['aging']) + def ripen(self): + return { + 'age': random.randint(1, 6) + } + + @collate('rotten', action_groups=['aging']) + def rot(self): + return { + 'age': random.randint(4, 9) + } + + @collate('diced', action_groups=['cooking']) + def dice(self): + return { + 'pieces': random.randint(2, 12) + } + +''' +VEGETABLE +| +TOMATO -- AGING + | + -- COOKING +''' +metadata = sa.MetaData() +vegetable_table = sa.Table( + 'vegetable', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('name', sa.String), + sa.Column('color', sa.String), +) +tomato_table = sa.Table( + 'tomato', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('vegetable_id', sa.Integer, util.db.deferred_cd_fkey('vegetables.id')), + sa.Column('radius', sa.Integer), +) +tomato_aging_table = sa.Table( + 'tomato_aging_states', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('vegetable_id', sa.Integer, util.db.deferred_cd_fkey('vegetables.id')), + sa.Column('state', sa.String), + sa.Column('age', sa.Integer), +) +tomato_cooking_table = sa.Table( + 'tomato_cooking_states', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('vegetable_id', sa.Integer, util.db.deferred_cd_fkey('vegetables.id')), + sa.Column('state', sa.String), + sa.Column('pieces', sa.Integer), +) +vegetable_schema = SQLSchema.from_metadata(metadata) \ No newline at end of file diff --git a/examples/__pycache__/vegetables.cpython-312.pyc b/examples/__pycache__/vegetables.cpython-312.pyc new file mode 100644 index 0000000000000000000000000000000000000000..02df0c3935547d2aa77b39de8b35850562c4c9eb GIT binary patch literal 4049 zcmd@WO>Y}j@a>1!>$Tmuv6CikffS0U+maMo@gbl>5UHwwqLNbDy{xw07uR9!4R6;d zwsJ61BwPU^mWo_X7;zv`D)ARMaN|OiNJI}1hr%H@SIz-(VrJKCJEZ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%-T(qw6ltpKun^McjS;j1c zgeSVz2Ry?&oDFE1yZj5N$yw$Ujh;2BzP7+GhV3lK49>n^)n|h#d752-Ew&dI1`TOT zf*^cHlDEmepUI&g$-y5;W?PYj1IyAjfn{487qt52Z30XC2}O|Gdq`qm{qYZ^o=c)-r2W8`TwWLq64~&H}a4sI1F}`m}tH z)`=@=u{H!MQe$=Y;li~AU*ry{SDJH;xfN?eKG~O0YKfm~pK2@9Uz}Mz^X>8JTgRur zG}e#5zAj(vGhMwQexiM>t;-LAnv_^efSS?!mtSjMYFyfs$L})!Z>#Bh(^pMFi{8-J z<%v!*Ix2ochTADJHUWMwG{D6J|EBH%x0BH^(47I@nPbaOf15sfD}8k3srB@!TO{RI F%5MSoBc}iW literal 0 HcmV?d00001 diff --git a/examples/mapper.ipynb b/examples/mapper.ipynb new file mode 100644 index 0000000..94d1df3 --- /dev/null +++ b/examples/mapper.ipynb @@ -0,0 +1,200 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "id": "e02ccafe-e04d-4312-acba-e41cf7b1c021", + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "/home/smgr/.pyenv/versions/co4/lib/python3.12/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", + " from .autonotebook import tqdm as notebook_tqdm\n" + ] + } + ], + "source": [ + "from co3 import Mapper\n", + "\n", + "import vegetables" + ] + }, + { + "cell_type": "markdown", + "id": "c0914069-7f3c-4213-8d34-f7566033e054", + "metadata": {}, + "source": [ + "## Development notes\n", + "- No registry actually needs to take place if there's a default type2component map or one supplied on creation. Can just collect right out of the gate\n", + "- Need connective function (type to collation) and attribute map. Do we need to this with a subclass? If a func is passed in on init, I can type it appropriately I guess `Callable[[type[CO3],str,str|None],dict]`" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "id": "7d80f7b9-7458-4ad4-8c1a-3ea56e796b4e", + "metadata": {}, + "outputs": [], + "source": [ + "vegetable_mapper = Mapper(\n", + " vegetables.Vegetable,\n", + " vegetables.vegetable_schema\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d24d31b4-c4a6-4a1e-8bea-c44378aadfdd", + "metadata": {}, + "outputs": [], + "source": [ + "# not valid; tables need to be wrapped in CO3 Components\n", + "vegetable_mapper.attach(\n", + " vegetables.Vegetable,\n", + " vegetables.vegetable_table,\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "id": "f9408562-bf50-4522-909c-318557f85948", + "metadata": {}, + "outputs": [], + "source": [ + "# manually attach component\n", + "vegetable_mapper.attach(\n", + " vegetables.Tomato,\n", + " vegetables.vegetable_schema.get_component('tomato'),\n", + " coll_groups={\n", + " 'aging': vegetables.vegetable_schema.get_component('tomato_aging_states'),\n", + " 'cooking': vegetables.vegetable_schema.get_component('tomato_cooking_states'),\n", + " },\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "id": "05fdd404-87ee-4187-832f-2305272758ae", + "metadata": {}, + "outputs": [], + "source": [ + "# attach by name in schema\n", + "vegetable_mapper.attach(\n", + " vegetables.Tomato,\n", + " 'tomato',\n", + " coll_groups={\n", + " 'aging': 'tomato_aging_states',\n", + " 'cooking': 'tomato_cooking_states',\n", + " },\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "e9b6af49-a69d-41cc-beae-1b6f171cd2f5", + "metadata": {}, + "outputs": [], + "source": [ + "# attach entire type hierarchy w/ type->name map\n", + "vegetable_mapper.attach_hierarchy(\n", + "# this might make more sense during init\n", + " lambda x:x.__name__.lower())\n", + ")" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "id": "2e4336ab-5b5f-484d-815d-164d4b6f40a0", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "{'co3_root': vegetables.Vegetable,\n", + " 'schema': ,\n", + " 'collector': ,\n", + " 'composer': ,\n", + " 'attribute_comps': {vegetables.Tomato: },\n", + " 'collation_groups': defaultdict(dict,\n", + " {vegetables.Tomato: {'aging': ,\n", + " 'cooking': }})}" + ] + }, + "execution_count": 9, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "vars(vegetable_mapper)" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "id": "c16786d4-0b71-42d9-97f7-7893c542104e", + "metadata": {}, + "outputs": [], + "source": [ + "tomato = vegetables.Tomato('t1', 5)" + ] + }, + { + "cell_type": "code", + "execution_count": 11, + "id": "884d6753-c763-4e71-824a-711436e203e1", + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "" + ] + }, + "execution_count": 11, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "tomato" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "137d0bf1-940d-448c-91e9-01e7fc4f31b4", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "co3", + "language": "python", + "name": "co3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.12.2" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/examples/vegetables.py b/examples/vegetables.py new file mode 100644 index 0000000..488864f --- /dev/null +++ b/examples/vegetables.py @@ -0,0 +1,80 @@ +import random + +import sqlalchemy as sa + +from co3.schemas import SQLSchema +from co3 import CO3, collate +from co3 import util + + +class Vegetable(CO3): + def __init__(self, name, color): + self.name = name + self.color = color + +class Tomato(Vegetable): + def __init__(self, name, radius): + super().__init__(name, 'red') + self.radius = radius + + @property + def attributes(self): + return vars(self) + + @collate('ripe', action_groups=['aging']) + def ripen(self): + return { + 'age': random.randint(1, 6) + } + + @collate('rotten', action_groups=['aging']) + def rot(self): + return { + 'age': random.randint(4, 9) + } + + @collate('diced', action_groups=['cooking']) + def dice(self): + return { + 'pieces': random.randint(2, 12) + } + +''' +VEGETABLE +| +TOMATO -- AGING + | + -- COOKING +''' +metadata = sa.MetaData() +vegetable_table = sa.Table( + 'vegetable', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('name', sa.String), + sa.Column('color', sa.String), +) +tomato_table = sa.Table( + 'tomato', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('vegetable_id', sa.Integer, util.db.deferred_cd_fkey('vegetables.id')), + sa.Column('radius', sa.Integer), +) +tomato_aging_table = sa.Table( + 'tomato_aging_states', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('vegetable_id', sa.Integer, util.db.deferred_cd_fkey('vegetables.id')), + sa.Column('state', sa.String), + sa.Column('age', sa.Integer), +) +tomato_cooking_table = sa.Table( + 'tomato_cooking_states', + metadata, + sa.Column('id', sa.Integer, primary_key=True), + sa.Column('vegetable_id', sa.Integer, util.db.deferred_cd_fkey('vegetables.id')), + sa.Column('state', sa.String), + sa.Column('pieces', sa.Integer), +) +vegetable_schema = SQLSchema.from_metadata(metadata) \ No newline at end of file diff --git a/tests/co4_example.py b/tests/co4_example.py index 1758a6b..cee0459 100644 --- a/tests/co4_example.py +++ b/tests/co4_example.py @@ -26,7 +26,13 @@ class Tomato(CO3): return self.size / 2 -tomato_table = sa.Table() +metadata = sa.MetaData() +tomato_table = sa.Table( + 'tomato', + metadata, + sa.Column('id', sa.Integer, primary_key=True), +) +tomato_schema = Schema.from_metadata(metadata) mapper = Mapper() mapper.attach( @@ -39,6 +45,15 @@ tomato = Tomato(5, False) mapper.collect(tomato, for='diced') db = SQLiteDatabse('resource.sqlite') +db.recreate(tomato_schema) + +# for non-raw DB ops, consider requiring a verify step first. Keeps up integrity between +# runs +db.verify(tomato_schema) +# then +# not too straightforward, but can also verify mapper compositions if they use a schema +# that's been verified by the database + db.sync(mapper) dict_results = db.select(