lsst-felis 27.2024.2800__tar.gz → 27.2024.2900__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lsst-felis might be problematic. Click here for more details.
- {lsst_felis-27.2024.2800/python/lsst_felis.egg-info → lsst_felis-27.2024.2900}/PKG-INFO +1 -1
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/README.rst +1 -1
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/db/dialects.py +2 -2
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/db/sqltypes.py +2 -14
- lsst_felis-27.2024.2900/python/felis/version.py +2 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900/python/lsst_felis.egg-info}/PKG-INFO +1 -1
- lsst_felis-27.2024.2800/python/felis/version.py +0 -2
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/COPYRIGHT +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/LICENSE +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/pyproject.toml +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/__init__.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/cli.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/datamodel.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/db/__init__.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/db/utils.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/db/variants.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/metadata.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/py.typed +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/tap.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/felis/types.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/SOURCES.txt +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/dependency_links.txt +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/entry_points.txt +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/requires.txt +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/top_level.txt +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/zip-safe +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/setup.cfg +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/tests/test_cli.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/tests/test_datamodel.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/tests/test_metadata.py +0 -0
- {lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/tests/test_tap.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lsst-felis
|
|
3
|
-
Version: 27.2024.
|
|
3
|
+
Version: 27.2024.2900
|
|
4
4
|
Summary: A vocabulary for describing catalogs and acting on those descriptions
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: GNU General Public License v3 or later (GPLv3+)
|
|
@@ -23,7 +23,7 @@ validity using an internal `Pydantic <https://docs.pydantic.dev/latest/>`_ data
|
|
|
23
23
|
model to ensure strict conformance to the format. SQL Data Definition language
|
|
24
24
|
(DDL) statements can be generated to instantiate corresponding database
|
|
25
25
|
objects, such as tables and columns, in a number of different database
|
|
26
|
-
variants, including MySQL, PostgreSQL,
|
|
26
|
+
variants, including MySQL, PostgreSQL, and SQLite. The schema can also
|
|
27
27
|
be used to update the TAP schema information in a
|
|
28
28
|
`TAP <https://www.ivoa.net/documents/TAP/>`_ service.
|
|
29
29
|
|
|
@@ -30,11 +30,11 @@ from sqlalchemy import dialects
|
|
|
30
30
|
from sqlalchemy.engine import Dialect
|
|
31
31
|
from sqlalchemy.engine.mock import create_mock_engine
|
|
32
32
|
|
|
33
|
-
from .sqltypes import MYSQL,
|
|
33
|
+
from .sqltypes import MYSQL, POSTGRES, SQLITE
|
|
34
34
|
|
|
35
35
|
__all__ = ["get_supported_dialects", "get_dialect_module"]
|
|
36
36
|
|
|
37
|
-
_DIALECT_NAMES = (MYSQL, POSTGRES, SQLITE
|
|
37
|
+
_DIALECT_NAMES = (MYSQL, POSTGRES, SQLITE)
|
|
38
38
|
"""List of supported dialect names.
|
|
39
39
|
|
|
40
40
|
This list is used to create the dialect and module dictionaries.
|
|
@@ -28,7 +28,7 @@ from collections.abc import Callable, Mapping
|
|
|
28
28
|
from typing import Any
|
|
29
29
|
|
|
30
30
|
from sqlalchemy import SmallInteger, types
|
|
31
|
-
from sqlalchemy.dialects import mysql,
|
|
31
|
+
from sqlalchemy.dialects import mysql, postgresql
|
|
32
32
|
from sqlalchemy.ext.compiler import compiles
|
|
33
33
|
|
|
34
34
|
__all__ = [
|
|
@@ -49,7 +49,6 @@ __all__ = [
|
|
|
49
49
|
]
|
|
50
50
|
|
|
51
51
|
MYSQL = "mysql"
|
|
52
|
-
ORACLE = "oracle"
|
|
53
52
|
POSTGRES = "postgresql"
|
|
54
53
|
SQLITE = "sqlite"
|
|
55
54
|
|
|
@@ -88,21 +87,18 @@ def compile_tinyint(type_: Any, compiler: Any, **kwargs: Any) -> str:
|
|
|
88
87
|
|
|
89
88
|
_TypeMap = Mapping[str, types.TypeEngine | type[types.TypeEngine]]
|
|
90
89
|
|
|
91
|
-
boolean_map: _TypeMap = {MYSQL: mysql.BOOLEAN,
|
|
90
|
+
boolean_map: _TypeMap = {MYSQL: mysql.BOOLEAN, POSTGRES: postgresql.BOOLEAN()}
|
|
92
91
|
|
|
93
92
|
byte_map: _TypeMap = {
|
|
94
93
|
MYSQL: mysql.TINYINT(),
|
|
95
|
-
ORACLE: oracle.NUMBER(3),
|
|
96
94
|
POSTGRES: postgresql.SMALLINT(),
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
short_map: _TypeMap = {
|
|
100
98
|
MYSQL: mysql.SMALLINT(),
|
|
101
|
-
ORACLE: oracle.NUMBER(5),
|
|
102
99
|
POSTGRES: postgresql.SMALLINT(),
|
|
103
100
|
}
|
|
104
101
|
|
|
105
|
-
# Skip Oracle
|
|
106
102
|
int_map: _TypeMap = {
|
|
107
103
|
MYSQL: mysql.INTEGER(),
|
|
108
104
|
POSTGRES: postgresql.INTEGER(),
|
|
@@ -110,49 +106,41 @@ int_map: _TypeMap = {
|
|
|
110
106
|
|
|
111
107
|
long_map: _TypeMap = {
|
|
112
108
|
MYSQL: mysql.BIGINT(),
|
|
113
|
-
ORACLE: oracle.NUMBER(38, 0),
|
|
114
109
|
POSTGRES: postgresql.BIGINT(),
|
|
115
110
|
}
|
|
116
111
|
|
|
117
112
|
float_map: _TypeMap = {
|
|
118
113
|
MYSQL: mysql.FLOAT(),
|
|
119
|
-
ORACLE: oracle.BINARY_FLOAT(),
|
|
120
114
|
POSTGRES: postgresql.FLOAT(),
|
|
121
115
|
}
|
|
122
116
|
|
|
123
117
|
double_map: _TypeMap = {
|
|
124
118
|
MYSQL: mysql.DOUBLE(),
|
|
125
|
-
ORACLE: oracle.BINARY_DOUBLE(),
|
|
126
119
|
POSTGRES: postgresql.DOUBLE_PRECISION(),
|
|
127
120
|
}
|
|
128
121
|
|
|
129
122
|
char_map: _TypeMap = {
|
|
130
123
|
MYSQL: mysql.CHAR,
|
|
131
|
-
ORACLE: oracle.CHAR,
|
|
132
124
|
POSTGRES: postgresql.CHAR,
|
|
133
125
|
}
|
|
134
126
|
|
|
135
127
|
string_map: _TypeMap = {
|
|
136
128
|
MYSQL: mysql.VARCHAR,
|
|
137
|
-
ORACLE: oracle.VARCHAR2,
|
|
138
129
|
POSTGRES: postgresql.VARCHAR,
|
|
139
130
|
}
|
|
140
131
|
|
|
141
132
|
unicode_map: _TypeMap = {
|
|
142
133
|
MYSQL: mysql.NVARCHAR,
|
|
143
|
-
ORACLE: oracle.NVARCHAR2,
|
|
144
134
|
POSTGRES: postgresql.VARCHAR,
|
|
145
135
|
}
|
|
146
136
|
|
|
147
137
|
text_map: _TypeMap = {
|
|
148
138
|
MYSQL: mysql.LONGTEXT,
|
|
149
|
-
ORACLE: oracle.CLOB,
|
|
150
139
|
POSTGRES: postgresql.TEXT,
|
|
151
140
|
}
|
|
152
141
|
|
|
153
142
|
binary_map: _TypeMap = {
|
|
154
143
|
MYSQL: mysql.LONGBLOB,
|
|
155
|
-
ORACLE: oracle.BLOB,
|
|
156
144
|
POSTGRES: postgresql.BYTEA,
|
|
157
145
|
}
|
|
158
146
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lsst-felis
|
|
3
|
-
Version: 27.2024.
|
|
3
|
+
Version: 27.2024.2900
|
|
4
4
|
Summary: A vocabulary for describing catalogs and acting on those descriptions
|
|
5
5
|
Author-email: Rubin Observatory Data Management <dm-admin@lists.lsst.org>
|
|
6
6
|
License: GNU General Public License v3 or later (GPLv3+)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{lsst_felis-27.2024.2800 → lsst_felis-27.2024.2900}/python/lsst_felis.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|