adss 1.1__py3-none-any.whl → 1.2__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.
- adss/auth.py +3 -3
- adss/client.py +9 -9
- adss/endpoints/images.py +2 -2
- adss/endpoints/metadata.py +2 -2
- adss/endpoints/queries.py +3 -3
- adss/endpoints/users.py +3 -3
- adss/models/query.py +1 -1
- adss/models/user.py +1 -1
- adss/utils.py +1 -1
- {adss-1.1.dist-info → adss-1.2.dist-info}/METADATA +1 -1
- {adss-1.1.dist-info → adss-1.2.dist-info}/RECORD +14 -14
- {adss-1.1.dist-info → adss-1.2.dist-info}/LICENSE +0 -0
- {adss-1.1.dist-info → adss-1.2.dist-info}/WHEEL +0 -0
- {adss-1.1.dist-info → adss-1.2.dist-info}/top_level.txt +0 -0
adss/auth.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import requests
|
2
2
|
from typing import Dict, Optional, Tuple
|
3
3
|
|
4
|
-
from .exceptions import AuthenticationError
|
5
|
-
from .utils import handle_response_errors
|
6
|
-
from .models.user import User
|
4
|
+
from adss.exceptions import AuthenticationError
|
5
|
+
from adss.utils import handle_response_errors
|
6
|
+
from adss.models.user import User
|
7
7
|
|
8
8
|
|
9
9
|
class Auth:
|
adss/client.py
CHANGED
@@ -5,16 +5,16 @@ from typing import Optional, Dict, List, Union, BinaryIO, Any
|
|
5
5
|
import pandas as pd
|
6
6
|
import urllib.parse
|
7
7
|
|
8
|
-
from .auth import Auth
|
9
|
-
from .endpoints.queries import QueriesEndpoint
|
10
|
-
from .endpoints.users import UsersEndpoint
|
11
|
-
from .endpoints.metadata import MetadataEndpoint
|
8
|
+
from adss.auth import Auth
|
9
|
+
from adss.endpoints.queries import QueriesEndpoint
|
10
|
+
from adss.endpoints.users import UsersEndpoint
|
11
|
+
from adss.endpoints.metadata import MetadataEndpoint
|
12
12
|
#from .endpoints.admin import AdminEndpoint
|
13
|
-
from .endpoints.images import ImagesEndpoint, LuptonImagesEndpoint, StampImagesEndpoint, TrilogyImagesEndpoint
|
14
|
-
from .models.user import User, Role, SchemaPermission, TablePermission
|
15
|
-
from .models.query import Query, QueryResult
|
16
|
-
from .models.metadata import Column, Table, Schema, DatabaseMetadata
|
17
|
-
from .exceptions import AuthenticationError
|
13
|
+
from adss.endpoints.images import ImagesEndpoint, LuptonImagesEndpoint, StampImagesEndpoint, TrilogyImagesEndpoint
|
14
|
+
from adss.models.user import User, Role, SchemaPermission, TablePermission
|
15
|
+
from adss.models.query import Query, QueryResult
|
16
|
+
from adss.models.metadata import Column, Table, Schema, DatabaseMetadata
|
17
|
+
from adss.exceptions import AuthenticationError
|
18
18
|
|
19
19
|
|
20
20
|
class ADSSClient:
|
adss/endpoints/images.py
CHANGED
@@ -4,8 +4,8 @@ Image operations and management functionality for the Astronomy TAP Client.
|
|
4
4
|
from typing import Dict, List, Optional, Union, Any
|
5
5
|
import os
|
6
6
|
|
7
|
-
from
|
8
|
-
from
|
7
|
+
from adss.exceptions import ResourceNotFoundError
|
8
|
+
from adss.utils import handle_response_errors
|
9
9
|
|
10
10
|
|
11
11
|
class ImagesEndpoint:
|
adss/endpoints/metadata.py
CHANGED
@@ -7,8 +7,8 @@ from typing import Dict, List, Optional, Any
|
|
7
7
|
from ..exceptions import (
|
8
8
|
AuthenticationError, ResourceNotFoundError, PermissionDeniedError
|
9
9
|
)
|
10
|
-
from
|
11
|
-
from
|
10
|
+
from adss.utils import handle_response_errors
|
11
|
+
from adss.models.metadata import Column, Table, Schema, DatabaseMetadata
|
12
12
|
|
13
13
|
|
14
14
|
class MetadataEndpoint:
|
adss/endpoints/queries.py
CHANGED
@@ -7,9 +7,9 @@ from typing import Dict, List, Optional, Union, Any, BinaryIO, Tuple
|
|
7
7
|
import io
|
8
8
|
import pandas as pd
|
9
9
|
|
10
|
-
from
|
11
|
-
from
|
12
|
-
from
|
10
|
+
from adss.exceptions import QueryExecutionError, ResourceNotFoundError
|
11
|
+
from adss.utils import handle_response_errors, parquet_to_dataframe
|
12
|
+
from adss.models.query import Query, QueryResult
|
13
13
|
|
14
14
|
|
15
15
|
class QueriesEndpoint:
|
adss/endpoints/users.py
CHANGED
@@ -4,12 +4,12 @@ User management functionality for the Astronomy TAP Client.
|
|
4
4
|
import requests
|
5
5
|
from typing import Dict, List, Optional, Any
|
6
6
|
|
7
|
-
from
|
7
|
+
from adss.exceptions import (
|
8
8
|
AuthenticationError, ResourceNotFoundError, PermissionDeniedError,
|
9
9
|
ValidationError
|
10
10
|
)
|
11
|
-
from
|
12
|
-
from
|
11
|
+
from adss.utils import handle_response_errors
|
12
|
+
from adss.models.user import User, Role
|
13
13
|
|
14
14
|
|
15
15
|
class UsersEndpoint:
|
adss/models/query.py
CHANGED
adss/models/user.py
CHANGED
adss/utils.py
CHANGED
@@ -8,7 +8,7 @@ import io
|
|
8
8
|
from datetime import datetime
|
9
9
|
from typing import Dict, Any, Optional, Union, List
|
10
10
|
|
11
|
-
from .exceptions import (
|
11
|
+
from adss.exceptions import (
|
12
12
|
ADSSClientError, AuthenticationError, PermissionDeniedError,
|
13
13
|
ResourceNotFoundError, QueryExecutionError, ServerError
|
14
14
|
)
|
@@ -1,30 +1,30 @@
|
|
1
1
|
adss/__init__.py,sha256=TqNjMZ7PuNXc-FnOlVKSNHSAp9ZqcLMdHDuRYt47_Y8,834
|
2
2
|
adss/adss_manager.py,sha256=vaS6y1IycVW8AjpAQeG58VwjCDLyMBUylJzYSeg6D9o,2068
|
3
|
-
adss/auth.py,sha256=
|
4
|
-
adss/client.py,sha256=
|
3
|
+
adss/auth.py,sha256=M8GAN8pdfmJfsEOqv_EW2ru0uP0H1JtK7IfBDrIZMyg,4025
|
4
|
+
adss/client.py,sha256=Ojc6jqZtCBMwRoTGuBiF0SEDkdWs_-xbGwyk03nHkr8,29613
|
5
5
|
adss/exceptions.py,sha256=YeN-xRHvlSmwyS8ni2jOEhhgZK9J1jsG11pOedy3Gfg,1482
|
6
6
|
adss/table.py,sha256=Ua663njPk2sg8BtQPo1wZ-V09YvnjrEyIb_SmBhdOYY,13383
|
7
|
-
adss/utils.py,sha256=
|
7
|
+
adss/utils.py,sha256=0RISndgXnwVy8cLMFa4Mm7CfGqwGdX-X-HZ0NmPDVD0,3558
|
8
8
|
adss/variables.py,sha256=kmbwxJBDC97yKakrnBvONRh1FVvSXU4YKqnjExAU2ZA,51
|
9
9
|
adss/endpoints/__init__.py,sha256=Pr29901fT8ClCS2GasTjTiBNyn7DfVfxILpYDFsMvPA,488
|
10
10
|
adss/endpoints/admin.py,sha256=S6ZrkeA_Lh_LCpF1NHyfMKqjbIiylYXUSV65H_WKg1U,16391
|
11
|
-
adss/endpoints/images.py,sha256=
|
12
|
-
adss/endpoints/metadata.py,sha256=
|
13
|
-
adss/endpoints/queries.py,sha256=
|
14
|
-
adss/endpoints/users.py,sha256=
|
11
|
+
adss/endpoints/images.py,sha256=ItAiBss_jQvWQWRUvy0c9Cjn1r9lDR8eOPauqOcPcZ8,35777
|
12
|
+
adss/endpoints/metadata.py,sha256=RPrRP6Uz6-uPMIcntMgfss9vAd5iN7JXjZbF8SW0EYg,8238
|
13
|
+
adss/endpoints/queries.py,sha256=5BONw_IcGORMPNe-5J6BpoFY6z7lKcktEVhqZ9j17_8,17286
|
14
|
+
adss/endpoints/users.py,sha256=6Abkl3c3_YKdMYR_JWI-uL9HTHxcjlIOnE29GyN5_QE,10811
|
15
15
|
adss/executors/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
16
16
|
adss/executors/async_query.py,sha256=qmSm-Ex8ZJSjn8lmm_F5BufVpDV-w6vOqXie7krCp7k,3977
|
17
17
|
adss/executors/sync_query.py,sha256=3e-ALG3GnA906o_oefci5XHNcdnoPWuc67ml-YATMKE,1243
|
18
18
|
adss/models/__init__.py,sha256=ADWVaGy4dkpEMH3iS_6EnRSBlEgoM5Vy9zORQr-UG6w,404
|
19
19
|
adss/models/metadata.py,sha256=6fdH_0BenVRmeXkkKbsG2B68O-N2FXTTRgxsEhAHRoU,4058
|
20
|
-
adss/models/query.py,sha256=
|
21
|
-
adss/models/user.py,sha256=
|
20
|
+
adss/models/query.py,sha256=Af-iojZb-nO6qj-yMT_PlNM7Hip6EwBfNeaQPMJPNM0,4293
|
21
|
+
adss/models/user.py,sha256=5qVT5qOktokmVLkGszPGCTZWv0wC-7aBMvJ8EeBOqdw,3493
|
22
22
|
adss/operations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
23
23
|
adss/operations/cone_search.py,sha256=qfdFA2TGqnzuggz4nep21_y4LgmHP4ZMpVupxn87dB0,706
|
24
24
|
adss/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
25
25
|
adss/utils/format_table.py,sha256=UYCQ6Xum3dPHrh0cAh_KCj6vHShAvdHlV0rtIv7J09Q,3695
|
26
|
-
adss-1.
|
27
|
-
adss-1.
|
28
|
-
adss-1.
|
29
|
-
adss-1.
|
30
|
-
adss-1.
|
26
|
+
adss-1.2.dist-info/LICENSE,sha256=1aYqcyqjrdNXY9hqgZkCWprcoA112oKvdrfPyvMYPTc,1468
|
27
|
+
adss-1.2.dist-info/METADATA,sha256=l8AVLDMarCFGUu3oHE3IWCLCBn88wFPxVioKYiIiIoQ,378
|
28
|
+
adss-1.2.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
29
|
+
adss-1.2.dist-info/top_level.txt,sha256=ebD44L3R0PEvEFoRCJ-RjTIsQ9Yjpo2aAYC1BMtueLg,5
|
30
|
+
adss-1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|