pzserver 0.2.0__tar.gz → 0.2.1__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.
- {pzserver-0.2.0/src/pzserver.egg-info → pzserver-0.2.1}/PKG-INFO +4 -4
- {pzserver-0.2.0 → pzserver-0.2.1}/README.md +3 -3
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/intro_notebook.ipynb +1 -13
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/_version.py +2 -2
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/catalog.py +0 -13
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/core.py +4 -4
- {pzserver-0.2.0 → pzserver-0.2.1/src/pzserver.egg-info}/PKG-INFO +4 -4
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/SOURCES.txt +0 -1
- pzserver-0.2.0/docs/.nojekyll +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.build-documentation.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.copier-answers.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.devcontainer/Dockerfile +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.devcontainer/devcontainer.json +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.devcontainer/docker-compose.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/build-documentation.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/linting.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/publish-to-pypi.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/smoke-test.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/testing-and-coverage.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.gitignore +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.pre-commit-config.yaml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/.readthedocs.yml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/LICENSE +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/__init__.py +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/Makefile +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/conf.py +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/index.rst +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/installation.rst +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/make.bat +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/README.md +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/ScreenShotTokenGenerator.png +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/ScreenShotTokenMenu.png +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/linea.png +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/rubin.png +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/intro_notebook.html +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks.rst +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/docs/requirements.txt +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/pyproject.toml +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/setup.cfg +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/src/.pylintrc +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/__init__.py +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/communicate.py +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/dependency_links.txt +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/requires.txt +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/top_level.txt +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/tests/.pylintrc +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/tests/pzserver/conftest.py +0 -0
- {pzserver-0.2.0 → pzserver-0.2.1}/tests/pzserver/test_catalog.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pzserver
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Author-email: LIneA <itteam@linea.org.br>
|
|
5
5
|
License: MIT License
|
|
6
6
|
|
|
@@ -33,11 +33,11 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
Provides-Extra: dev
|
|
34
34
|
License-File: LICENSE
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
# Pz Server Library
|
|
37
37
|
|
|
38
38
|
A Python library to access data from the [Photo-z Server](https://pz-server-dev.linea.org.br/).
|
|
39
39
|
|
|
40
|
-
The Photo-z Server is an online service based on software developed and delivered as part of the in-kind contribution program BRA-LIN, from LIneA to the Rubin Observatory's LSST. The Photo-z Server is open source and the code is abailable on the Github repository [linea-it/pz-server](https://github.com/linea-it/
|
|
40
|
+
The Photo-z Server is an online service based on software developed and delivered as part of the in-kind contribution program BRA-LIN, from LIneA to the Rubin Observatory's LSST. The Photo-z Server is open source and the code is abailable on the Github repository [linea-it/pz-server](https://github.com/linea-it/pzserver_app).
|
|
41
41
|
|
|
42
42
|
An overview of this and other contributions is available [here](https://linea-it.github.io/pz-lsst-inkind-doc/).
|
|
43
|
-
The API documentation is available [here](https://linea-it.github.io/
|
|
43
|
+
The API documentation is available [here](https://linea-it.github.io/pzserver/html/index.html).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Pz Server Library
|
|
2
2
|
|
|
3
3
|
A Python library to access data from the [Photo-z Server](https://pz-server-dev.linea.org.br/).
|
|
4
4
|
|
|
5
|
-
The Photo-z Server is an online service based on software developed and delivered as part of the in-kind contribution program BRA-LIN, from LIneA to the Rubin Observatory's LSST. The Photo-z Server is open source and the code is abailable on the Github repository [linea-it/pz-server](https://github.com/linea-it/
|
|
5
|
+
The Photo-z Server is an online service based on software developed and delivered as part of the in-kind contribution program BRA-LIN, from LIneA to the Rubin Observatory's LSST. The Photo-z Server is open source and the code is abailable on the Github repository [linea-it/pz-server](https://github.com/linea-it/pzserver_app).
|
|
6
6
|
|
|
7
7
|
An overview of this and other contributions is available [here](https://linea-it.github.io/pz-lsst-inkind-doc/).
|
|
8
|
-
The API documentation is available [here](https://linea-it.github.io/
|
|
8
|
+
The API documentation is available [here](https://linea-it.github.io/pzserver/html/index.html).
|
|
@@ -720,17 +720,6 @@
|
|
|
720
720
|
"train_goldenspike = pz_server.get_product(9)"
|
|
721
721
|
]
|
|
722
722
|
},
|
|
723
|
-
{
|
|
724
|
-
"cell_type": "code",
|
|
725
|
-
"execution_count": null,
|
|
726
|
-
"metadata": {
|
|
727
|
-
"tags": []
|
|
728
|
-
},
|
|
729
|
-
"outputs": [],
|
|
730
|
-
"source": [
|
|
731
|
-
"! conda list h5"
|
|
732
|
-
]
|
|
733
|
-
},
|
|
734
723
|
{
|
|
735
724
|
"cell_type": "code",
|
|
736
725
|
"execution_count": null,
|
|
@@ -833,7 +822,6 @@
|
|
|
833
822
|
{
|
|
834
823
|
"cell_type": "markdown",
|
|
835
824
|
"metadata": {
|
|
836
|
-
"jp-MarkdownHeadingCollapsed": true,
|
|
837
825
|
"tags": []
|
|
838
826
|
},
|
|
839
827
|
"source": [
|
|
@@ -888,7 +876,7 @@
|
|
|
888
876
|
"name": "python",
|
|
889
877
|
"nbconvert_exporter": "python",
|
|
890
878
|
"pygments_lexer": "ipython3",
|
|
891
|
-
"version": "3.
|
|
879
|
+
"version": "3.9.16"
|
|
892
880
|
},
|
|
893
881
|
"nbsphinx": {
|
|
894
882
|
"execute": "never"
|
|
@@ -41,16 +41,6 @@ class SpeczCatalog(Catalog):
|
|
|
41
41
|
Catalog (_type_): _description_
|
|
42
42
|
"""
|
|
43
43
|
|
|
44
|
-
# def __init__(self, data=None, metadata=None, metadata_df=None):
|
|
45
|
-
# """_summary_
|
|
46
|
-
|
|
47
|
-
# Args:
|
|
48
|
-
# data (_type_, optional): _description_. Defaults to None.
|
|
49
|
-
# metadata (_type_, optional): _description_. Defaults to None.
|
|
50
|
-
# metadata_df (_type_, optional): _description_. Defaults to None.
|
|
51
|
-
# """
|
|
52
|
-
# super().__init__(data, metadata, metadata_df)
|
|
53
|
-
|
|
54
44
|
def plot(self, savefig=False):
|
|
55
45
|
"""
|
|
56
46
|
Very basic plots to characterize a Spec-z catalog.
|
|
@@ -101,9 +91,6 @@ class TrainingSet(Catalog):
|
|
|
101
91
|
Catalog (_type_): _description_
|
|
102
92
|
"""
|
|
103
93
|
|
|
104
|
-
# def __init__(self, data=None, metadata=None, metadata_df=None):
|
|
105
|
-
# super().__init__(data, metadata, metadata_df)
|
|
106
|
-
|
|
107
94
|
def plot(self, mag_name=None, savefig=False):
|
|
108
95
|
"""Very basic plots to characterize a Training Set.
|
|
109
96
|
|
|
@@ -46,7 +46,7 @@ class PzServer:
|
|
|
46
46
|
self._token = token
|
|
47
47
|
|
|
48
48
|
# ---- methods to get general info ----#
|
|
49
|
-
def get_product_types(self) -> list
|
|
49
|
+
def get_product_types(self) -> list:
|
|
50
50
|
"""
|
|
51
51
|
Fetches the list of valid product types.
|
|
52
52
|
|
|
@@ -75,7 +75,7 @@ class PzServer:
|
|
|
75
75
|
)
|
|
76
76
|
display(dataframe.style.hide(axis="index"))
|
|
77
77
|
|
|
78
|
-
def get_users(self) -> list
|
|
78
|
+
def get_users(self) -> list:
|
|
79
79
|
"""
|
|
80
80
|
Fetches the list of registered users.
|
|
81
81
|
|
|
@@ -103,7 +103,7 @@ class PzServer:
|
|
|
103
103
|
)
|
|
104
104
|
display(dataframe.style.hide(axis="index"))
|
|
105
105
|
|
|
106
|
-
def get_releases(self) -> list
|
|
106
|
+
def get_releases(self) -> list:
|
|
107
107
|
"""
|
|
108
108
|
Fetches the list of valid data releases.
|
|
109
109
|
|
|
@@ -134,7 +134,7 @@ class PzServer:
|
|
|
134
134
|
)
|
|
135
135
|
display(dataframe.style.hide(axis="index"))
|
|
136
136
|
|
|
137
|
-
def get_products_list(self, filters=None) -> list
|
|
137
|
+
def get_products_list(self, filters=None) -> list:
|
|
138
138
|
"""
|
|
139
139
|
Fetches the list of data products available.
|
|
140
140
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pzserver
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Author-email: LIneA <itteam@linea.org.br>
|
|
5
5
|
License: MIT License
|
|
6
6
|
|
|
@@ -33,11 +33,11 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
Provides-Extra: dev
|
|
34
34
|
License-File: LICENSE
|
|
35
35
|
|
|
36
|
-
#
|
|
36
|
+
# Pz Server Library
|
|
37
37
|
|
|
38
38
|
A Python library to access data from the [Photo-z Server](https://pz-server-dev.linea.org.br/).
|
|
39
39
|
|
|
40
|
-
The Photo-z Server is an online service based on software developed and delivered as part of the in-kind contribution program BRA-LIN, from LIneA to the Rubin Observatory's LSST. The Photo-z Server is open source and the code is abailable on the Github repository [linea-it/pz-server](https://github.com/linea-it/
|
|
40
|
+
The Photo-z Server is an online service based on software developed and delivered as part of the in-kind contribution program BRA-LIN, from LIneA to the Rubin Observatory's LSST. The Photo-z Server is open source and the code is abailable on the Github repository [linea-it/pz-server](https://github.com/linea-it/pzserver_app).
|
|
41
41
|
|
|
42
42
|
An overview of this and other contributions is available [here](https://linea-it.github.io/pz-lsst-inkind-doc/).
|
|
43
|
-
The API documentation is available [here](https://linea-it.github.io/
|
|
43
|
+
The API documentation is available [here](https://linea-it.github.io/pzserver/html/index.html).
|
pzserver-0.2.0/docs/.nojekyll
DELETED
|
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
|
|
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
|