adss 1.25__tar.gz → 1.26__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.
- {adss-1.25 → adss-1.26}/PKG-INFO +1 -1
- {adss-1.25 → adss-1.26}/adss/client.py +7 -0
- {adss-1.25 → adss-1.26}/adss/endpoints/images.py +3 -3
- {adss-1.25 → adss-1.26}/adss.egg-info/PKG-INFO +1 -1
- {adss-1.25 → adss-1.26}/adss.egg-info/top_level.txt +0 -1
- {adss-1.25 → adss-1.26}/pyproject.toml +3 -2
- {adss-1.25 → adss-1.26}/LICENSE +0 -0
- {adss-1.25 → adss-1.26}/README.md +0 -0
- {adss-1.25 → adss-1.26}/adss/__init__.py +0 -0
- {adss-1.25 → adss-1.26}/adss/auth.py +0 -0
- {adss-1.25 → adss-1.26}/adss/endpoints/__init__.py +0 -0
- {adss-1.25 → adss-1.26}/adss/endpoints/admin.py +0 -0
- {adss-1.25 → adss-1.26}/adss/endpoints/metadata.py +0 -0
- {adss-1.25 → adss-1.26}/adss/endpoints/queries.py +0 -0
- {adss-1.25 → adss-1.26}/adss/endpoints/users.py +0 -0
- {adss-1.25 → adss-1.26}/adss/exceptions.py +0 -0
- {adss-1.25 → adss-1.26}/adss/models/__init__.py +0 -0
- {adss-1.25 → adss-1.26}/adss/models/metadata.py +0 -0
- {adss-1.25 → adss-1.26}/adss/models/query.py +0 -0
- {adss-1.25 → adss-1.26}/adss/models/user.py +0 -0
- {adss-1.25 → adss-1.26}/adss/utils.py +0 -0
- {adss-1.25 → adss-1.26}/adss.egg-info/SOURCES.txt +0 -0
- {adss-1.25 → adss-1.26}/adss.egg-info/dependency_links.txt +0 -0
- {adss-1.25 → adss-1.26}/adss.egg-info/requires.txt +0 -0
- {adss-1.25 → adss-1.26}/dev/fetch_idr6.py +0 -0
- {adss-1.25 → adss-1.26}/setup.cfg +0 -0
{adss-1.25 → adss-1.26}/PKG-INFO
RENAMED
@@ -60,6 +60,13 @@ class ADSSClient:
|
|
60
60
|
self.stamp_images = StampImagesEndpoint(self.base_url, self.auth)
|
61
61
|
self.trilogy_images = TrilogyImagesEndpoint(self.base_url, self.auth)
|
62
62
|
|
63
|
+
if not username:
|
64
|
+
username = input("Username: ").strip()
|
65
|
+
if not password:
|
66
|
+
# hashed password input for security
|
67
|
+
import getpass
|
68
|
+
password = getpass.getpass("Password: ").strip()
|
69
|
+
|
63
70
|
# Authenticate if credentials provided
|
64
71
|
if username and password:
|
65
72
|
self.login(username, password, **kwargs)
|
@@ -405,7 +405,7 @@ class LuptonImagesEndpoint:
|
|
405
405
|
pattern: Optional[str] = None,
|
406
406
|
output_path: Optional[str] = None,
|
407
407
|
**kwargs) -> Union[bytes, str]:
|
408
|
-
url = f"{self.base_url}/adss/v1/images/
|
408
|
+
url = f"{self.base_url}/adss/v1/images/collections/{collection_id}/rgb_by_coordinates"
|
409
409
|
try:
|
410
410
|
headers = self.auth_manager._get_auth_headers()
|
411
411
|
except:
|
@@ -454,7 +454,7 @@ class LuptonImagesEndpoint:
|
|
454
454
|
pattern: Optional[str] = None,
|
455
455
|
output_path: Optional[str] = None,
|
456
456
|
**kwargs) -> Union[bytes, str]:
|
457
|
-
url = f"{self.base_url}/adss/v1/images/
|
457
|
+
url = f"{self.base_url}/adss/v1/images/collections/{collection_id}/rgb_by_object"
|
458
458
|
try:
|
459
459
|
headers = self.auth_manager._get_auth_headers()
|
460
460
|
except:
|
@@ -679,7 +679,7 @@ class StampImagesEndpoint:
|
|
679
679
|
pattern: Optional[str] = None,
|
680
680
|
output_path: Optional[str] = None,
|
681
681
|
**kwargs) -> Union[bytes, str]:
|
682
|
-
url = f"{self.base_url}/adss/v1/images/
|
682
|
+
url = f"{self.base_url}/adss/v1/images/collections/{collection_id}/stamp_by_object"
|
683
683
|
try:
|
684
684
|
headers = self.auth_manager._get_auth_headers()
|
685
685
|
except:
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
4
4
|
|
5
5
|
[project]
|
6
6
|
name = "adss"
|
7
|
-
version = "1.
|
7
|
+
version = "1.26"
|
8
8
|
description = "Astronomical Data Smart System"
|
9
9
|
readme = "README.md"
|
10
10
|
authors = [{ name = "Gustavo Schwarz", email = "gustavo.b.schwarz@gmail.com" }]
|
@@ -24,4 +24,5 @@ Homepage = "https://github.com/schwarzam/adss"
|
|
24
24
|
where = ["."]
|
25
25
|
|
26
26
|
# python -m build
|
27
|
-
#
|
27
|
+
# twine check dist/*
|
28
|
+
# twine upload dist/*
|
{adss-1.25 → adss-1.26}/LICENSE
RENAMED
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|