adss 1.2__py3-none-any.whl → 1.22__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/__init__.py CHANGED
@@ -5,20 +5,25 @@ This package provides a comprehensive client for working with the Astronomy TAP
5
5
  including authentication, query execution, user management, and administrative functions.
6
6
  """
7
7
 
8
- __version__ = "0.1.0"
8
+ #__version__ = "0.1.0"
9
9
 
10
- from .client import ADSSClient
11
- from .exceptions import (
10
+ from adss.client import ADSSClient
11
+ from adss.exceptions import (
12
12
  ADSSClientError, AuthenticationError, PermissionDeniedError,
13
13
  ResourceNotFoundError, QueryExecutionError
14
14
  )
15
- from .models.user import User, Role
16
- from .models.query import Query, QueryResult
17
- from .models.metadata import Schema, Table, Column
15
+ from adss.models.user import User, Role
16
+ from adss.models.query import Query, QueryResult
17
+ from adss.models.metadata import Schema, Table, Column
18
+
19
+ from adss.utils import (
20
+ handle_response_errors, parse_datetime, parquet_to_dataframe
21
+ )
18
22
 
19
23
  __all__ = [
20
24
  'ADSSClient',
21
25
  'ADSSClientError', 'AuthenticationError', 'PermissionDeniedError',
22
26
  'ResourceNotFoundError', 'QueryExecutionError',
23
- 'User', 'Role', 'Query', 'QueryResult', 'Schema', 'Table', 'Column'
27
+ 'User', 'Role', 'Query', 'QueryResult', 'Schema', 'Table', 'Column',
28
+ 'handle_response_errors', 'parse_datetime', 'parquet_to_dataframe'
24
29
  ]
adss/utils.py CHANGED
@@ -13,7 +13,6 @@ from adss.exceptions import (
13
13
  ResourceNotFoundError, QueryExecutionError, ServerError
14
14
  )
15
15
 
16
-
17
16
  def handle_response_errors(response):
18
17
  """Handles HTTP response errors and raises appropriate exceptions."""
19
18
  if 200 <= response.status_code < 300:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: adss
3
- Version: 1.2
3
+ Version: 1.22
4
4
  Summary: Astronomical Data Smart System
5
5
  Home-page: https://github.com/schwarzam/adss
6
6
  Author: Gustavo Schwarz
@@ -1,10 +1,10 @@
1
- adss/__init__.py,sha256=TqNjMZ7PuNXc-FnOlVKSNHSAp9ZqcLMdHDuRYt47_Y8,834
1
+ adss/__init__.py,sha256=3FpHFL3Pk5BvETwd70P2QqYvDq799Cu2AGxGxudGAAE,1020
2
2
  adss/adss_manager.py,sha256=vaS6y1IycVW8AjpAQeG58VwjCDLyMBUylJzYSeg6D9o,2068
3
3
  adss/auth.py,sha256=M8GAN8pdfmJfsEOqv_EW2ru0uP0H1JtK7IfBDrIZMyg,4025
4
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=0RISndgXnwVy8cLMFa4Mm7CfGqwGdX-X-HZ0NmPDVD0,3558
7
+ adss/utils.py,sha256=KeQUtTCcye3W07oHpBnwS7g3gG-RqwWMlaE7UgDWwsU,3557
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
@@ -23,8 +23,8 @@ 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.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,,
26
+ adss-1.22.dist-info/LICENSE,sha256=1aYqcyqjrdNXY9hqgZkCWprcoA112oKvdrfPyvMYPTc,1468
27
+ adss-1.22.dist-info/METADATA,sha256=yDk2Xdp7UNYeI9yUuTSnNRJaPtmwcnRKJveCf8fnrW0,379
28
+ adss-1.22.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
29
+ adss-1.22.dist-info/top_level.txt,sha256=ebD44L3R0PEvEFoRCJ-RjTIsQ9Yjpo2aAYC1BMtueLg,5
30
+ adss-1.22.dist-info/RECORD,,
File without changes
File without changes