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.
Files changed (48) hide show
  1. {pzserver-0.2.0/src/pzserver.egg-info → pzserver-0.2.1}/PKG-INFO +4 -4
  2. {pzserver-0.2.0 → pzserver-0.2.1}/README.md +3 -3
  3. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/intro_notebook.ipynb +1 -13
  4. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/_version.py +2 -2
  5. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/catalog.py +0 -13
  6. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/core.py +4 -4
  7. {pzserver-0.2.0 → pzserver-0.2.1/src/pzserver.egg-info}/PKG-INFO +4 -4
  8. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/SOURCES.txt +0 -1
  9. pzserver-0.2.0/docs/.nojekyll +0 -0
  10. {pzserver-0.2.0 → pzserver-0.2.1}/.build-documentation.yml +0 -0
  11. {pzserver-0.2.0 → pzserver-0.2.1}/.copier-answers.yml +0 -0
  12. {pzserver-0.2.0 → pzserver-0.2.1}/.devcontainer/Dockerfile +0 -0
  13. {pzserver-0.2.0 → pzserver-0.2.1}/.devcontainer/devcontainer.json +0 -0
  14. {pzserver-0.2.0 → pzserver-0.2.1}/.devcontainer/docker-compose.yml +0 -0
  15. {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/build-documentation.yml +0 -0
  16. {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/linting.yml +0 -0
  17. {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/publish-to-pypi.yml +0 -0
  18. {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/smoke-test.yml +0 -0
  19. {pzserver-0.2.0 → pzserver-0.2.1}/.github/workflows/testing-and-coverage.yml +0 -0
  20. {pzserver-0.2.0 → pzserver-0.2.1}/.gitignore +0 -0
  21. {pzserver-0.2.0 → pzserver-0.2.1}/.pre-commit-config.yaml +0 -0
  22. {pzserver-0.2.0 → pzserver-0.2.1}/.readthedocs.yml +0 -0
  23. {pzserver-0.2.0 → pzserver-0.2.1}/LICENSE +0 -0
  24. {pzserver-0.2.0 → pzserver-0.2.1}/__init__.py +0 -0
  25. {pzserver-0.2.0 → pzserver-0.2.1}/docs/Makefile +0 -0
  26. {pzserver-0.2.0 → pzserver-0.2.1}/docs/conf.py +0 -0
  27. {pzserver-0.2.0 → pzserver-0.2.1}/docs/index.rst +0 -0
  28. {pzserver-0.2.0 → pzserver-0.2.1}/docs/installation.rst +0 -0
  29. {pzserver-0.2.0 → pzserver-0.2.1}/docs/make.bat +0 -0
  30. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/README.md +0 -0
  31. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/ScreenShotTokenGenerator.png +0 -0
  32. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/ScreenShotTokenMenu.png +0 -0
  33. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/linea.png +0 -0
  34. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/images/rubin.png +0 -0
  35. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks/intro_notebook.html +0 -0
  36. {pzserver-0.2.0 → pzserver-0.2.1}/docs/notebooks.rst +0 -0
  37. {pzserver-0.2.0 → pzserver-0.2.1}/docs/requirements.txt +0 -0
  38. {pzserver-0.2.0 → pzserver-0.2.1}/pyproject.toml +0 -0
  39. {pzserver-0.2.0 → pzserver-0.2.1}/setup.cfg +0 -0
  40. {pzserver-0.2.0 → pzserver-0.2.1}/src/.pylintrc +0 -0
  41. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/__init__.py +0 -0
  42. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver/communicate.py +0 -0
  43. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/dependency_links.txt +0 -0
  44. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/requires.txt +0 -0
  45. {pzserver-0.2.0 → pzserver-0.2.1}/src/pzserver.egg-info/top_level.txt +0 -0
  46. {pzserver-0.2.0 → pzserver-0.2.1}/tests/.pylintrc +0 -0
  47. {pzserver-0.2.0 → pzserver-0.2.1}/tests/pzserver/conftest.py +0 -0
  48. {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.0
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
- # pzserver
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/pz-server).
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/pz-server-lib/html/index.html).
43
+ The API documentation is available [here](https://linea-it.github.io/pzserver/html/index.html).
@@ -1,8 +1,8 @@
1
- # pzserver
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/pz-server).
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/pz-server-lib/html/index.html).
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.10.11"
879
+ "version": "3.9.16"
892
880
  },
893
881
  "nbsphinx": {
894
882
  "execute": "never"
@@ -1,4 +1,4 @@
1
1
  # file generated by setuptools_scm
2
2
  # don't change, don't track in version control
3
- __version__ = version = '0.2.0'
4
- __version_tuple__ = version_tuple = (0, 2, 0)
3
+ __version__ = version = '0.2.1'
4
+ __version_tuple__ = version_tuple = (0, 2, 1)
@@ -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[dict]:
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[dict]:
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[dict]:
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[dict]:
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.0
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
- # pzserver
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/pz-server).
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/pz-server-lib/html/index.html).
43
+ The API documentation is available [here](https://linea-it.github.io/pzserver/html/index.html).
@@ -15,7 +15,6 @@ pyproject.toml
15
15
  .github/workflows/publish-to-pypi.yml
16
16
  .github/workflows/smoke-test.yml
17
17
  .github/workflows/testing-and-coverage.yml
18
- docs/.nojekyll
19
18
  docs/Makefile
20
19
  docs/conf.py
21
20
  docs/index.rst
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