lsst-felis 26.2024.900__py3-none-any.whl → 29.2025.4500__py3-none-any.whl
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.
- felis/__init__.py +10 -24
- felis/cli.py +437 -341
- felis/config/tap_schema/columns.csv +33 -0
- felis/config/tap_schema/key_columns.csv +8 -0
- felis/config/tap_schema/keys.csv +8 -0
- felis/config/tap_schema/schemas.csv +2 -0
- felis/config/tap_schema/tables.csv +6 -0
- felis/config/tap_schema/tap_schema_std.yaml +273 -0
- felis/datamodel.py +1386 -193
- felis/db/dialects.py +116 -0
- felis/db/schema.py +62 -0
- felis/db/sqltypes.py +275 -48
- felis/db/utils.py +409 -0
- felis/db/variants.py +159 -0
- felis/diff.py +234 -0
- felis/metadata.py +385 -0
- felis/tap_schema.py +767 -0
- felis/tests/__init__.py +0 -0
- felis/tests/postgresql.py +134 -0
- felis/tests/run_cli.py +79 -0
- felis/types.py +57 -9
- lsst_felis-29.2025.4500.dist-info/METADATA +38 -0
- lsst_felis-29.2025.4500.dist-info/RECORD +31 -0
- {lsst_felis-26.2024.900.dist-info → lsst_felis-29.2025.4500.dist-info}/WHEEL +1 -1
- {lsst_felis-26.2024.900.dist-info → lsst_felis-29.2025.4500.dist-info/licenses}/COPYRIGHT +1 -1
- felis/check.py +0 -381
- felis/simple.py +0 -424
- felis/sql.py +0 -275
- felis/tap.py +0 -433
- felis/utils.py +0 -100
- felis/validation.py +0 -103
- felis/version.py +0 -2
- felis/visitor.py +0 -180
- lsst_felis-26.2024.900.dist-info/METADATA +0 -28
- lsst_felis-26.2024.900.dist-info/RECORD +0 -23
- {lsst_felis-26.2024.900.dist-info → lsst_felis-29.2025.4500.dist-info}/entry_points.txt +0 -0
- {lsst_felis-26.2024.900.dist-info → lsst_felis-29.2025.4500.dist-info/licenses}/LICENSE +0 -0
- {lsst_felis-26.2024.900.dist-info → lsst_felis-29.2025.4500.dist-info}/top_level.txt +0 -0
- {lsst_felis-26.2024.900.dist-info → lsst_felis-29.2025.4500.dist-info}/zip-safe +0 -0
felis/__init__.py
CHANGED
|
@@ -19,29 +19,15 @@
|
|
|
19
19
|
# You should have received a copy of the GNU General Public License
|
|
20
20
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
21
21
|
|
|
22
|
-
from . import
|
|
23
|
-
from .
|
|
24
|
-
from .
|
|
25
|
-
from .
|
|
22
|
+
from .datamodel import Schema
|
|
23
|
+
from .db.schema import create_database
|
|
24
|
+
from .diff import DatabaseDiff, FormattedSchemaDiff, SchemaDiff
|
|
25
|
+
from .metadata import MetaDataBuilder
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
"@vocab": "http://lsst.org/felis/",
|
|
29
|
-
"mysql": "http://mysql.com/",
|
|
30
|
-
"postgres": "http://posgresql.org/",
|
|
31
|
-
"oracle": "http://oracle.com/database/",
|
|
32
|
-
"sqlite": "http://sqlite.org/",
|
|
33
|
-
"fits": "http://fits.gsfc.nasa.gov/FITS/4.0/",
|
|
34
|
-
"ivoa": "http://ivoa.net/rdf/",
|
|
35
|
-
"votable": "http://ivoa.net/rdf/VOTable/",
|
|
36
|
-
"tap": "http://ivoa.net/documents/TAP/",
|
|
37
|
-
"tables": {"@container": "@list", "@type": "@id", "@id": "felis:Table"},
|
|
38
|
-
"columns": {"@container": "@list", "@type": "@id", "@id": "felis:Column"},
|
|
39
|
-
"constraints": {"@container": "@list", "@type": "@id"},
|
|
40
|
-
"indexes": {"@container": "@list", "@type": "@id", "@id": "felis:Index"},
|
|
41
|
-
"referencedColumns": {"@container": "@list", "@type": "@id"},
|
|
42
|
-
}
|
|
27
|
+
from importlib.metadata import PackageNotFoundError, version
|
|
43
28
|
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
47
|
-
|
|
29
|
+
try:
|
|
30
|
+
__version__ = version("lsst-felis")
|
|
31
|
+
except PackageNotFoundError:
|
|
32
|
+
# Package not installed or scons not run.
|
|
33
|
+
__version__ = "0.0.0"
|