pzserver 0.3.4__tar.gz → 0.3.6__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 (72) hide show
  1. {pzserver-0.3.4 → pzserver-0.3.6}/.devcontainer/Dockerfile +2 -4
  2. {pzserver-0.3.4 → pzserver-0.3.6}/.devcontainer/devcontainer.json +3 -3
  3. {pzserver-0.3.4 → pzserver-0.3.6}/.github/workflows/build-documentation.yml +2 -2
  4. {pzserver-0.3.4 → pzserver-0.3.6}/.github/workflows/linting.yml +1 -3
  5. {pzserver-0.3.4 → pzserver-0.3.6}/.github/workflows/publish-to-pypi.yml +1 -1
  6. {pzserver-0.3.4 → pzserver-0.3.6}/.github/workflows/smoke-test.yml +1 -2
  7. {pzserver-0.3.4 → pzserver-0.3.6}/.github/workflows/testing-and-coverage.yml +1 -2
  8. {pzserver-0.3.4 → pzserver-0.3.6}/PKG-INFO +3 -6
  9. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/pzserver_tutorial.ipynb +5 -17
  10. {pzserver-0.3.4 → pzserver-0.3.6}/pyproject.toml +1 -5
  11. {pzserver-0.3.4 → pzserver-0.3.6}/requirements.txt +2 -1
  12. {pzserver-0.3.4 → pzserver-0.3.6}/src/.pylintrc +2 -4
  13. pzserver-0.3.6/src/pzserver/_version.py +24 -0
  14. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/communicate.py +249 -42
  15. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/core.py +181 -6
  16. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/process.py +39 -4
  17. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver.egg-info/PKG-INFO +3 -6
  18. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver.egg-info/SOURCES.txt +5 -1
  19. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver.egg-info/requires.txt +1 -0
  20. pzserver-0.3.6/src/pzserver.egg-info/scm_file_list.json +65 -0
  21. pzserver-0.3.6/src/pzserver.egg-info/scm_version.json +8 -0
  22. {pzserver-0.3.4 → pzserver-0.3.6}/tests/.pylintrc +2 -4
  23. pzserver-0.3.6/tests/pzserver/test_download.py +239 -0
  24. pzserver-0.3.6/tests/pzserver/test_get_product.py +296 -0
  25. pzserver-0.3.4/src/pzserver/_version.py +0 -34
  26. {pzserver-0.3.4 → pzserver-0.3.6}/.copier-answers.yml +0 -0
  27. {pzserver-0.3.4 → pzserver-0.3.6}/.devcontainer/docker-compose.yml +0 -0
  28. {pzserver-0.3.4 → pzserver-0.3.6}/.gitignore +0 -0
  29. {pzserver-0.3.4 → pzserver-0.3.6}/.pre-commit-config.yaml +0 -0
  30. {pzserver-0.3.4 → pzserver-0.3.6}/.readthedocs.yml +0 -0
  31. {pzserver-0.3.4 → pzserver-0.3.6}/LICENSE +0 -0
  32. {pzserver-0.3.4 → pzserver-0.3.6}/README.md +0 -0
  33. {pzserver-0.3.4 → pzserver-0.3.6}/__init__.py +0 -0
  34. {pzserver-0.3.4 → pzserver-0.3.6}/docs/Makefile +0 -0
  35. {pzserver-0.3.4 → pzserver-0.3.6}/docs/conf.py +0 -0
  36. {pzserver-0.3.4 → pzserver-0.3.6}/docs/index.rst +0 -0
  37. {pzserver-0.3.4 → pzserver-0.3.6}/docs/installation.rst +0 -0
  38. {pzserver-0.3.4 → pzserver-0.3.6}/docs/make.bat +0 -0
  39. {pzserver-0.3.4 → pzserver-0.3.6}/docs/nbs.rst +0 -0
  40. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/examples/upload_example.csv +0 -0
  41. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/examples/upload_example.html +0 -0
  42. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/examples/upload_example.ipynb +0 -0
  43. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/images/crc.png +0 -0
  44. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/images/tsm1.png +0 -0
  45. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/images/tsm2.png +0 -0
  46. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/rst/output_70_1.png +0 -0
  47. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/rst/output_71_1.png +0 -0
  48. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/rst/output_78_1.png +0 -0
  49. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/rst/output_79_1.png +0 -0
  50. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/rst/pzserver_tutorial.rst +0 -0
  51. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_dr1_qa_from_disk/DESI-DR1-QA-Notebook-NO-CODE.html +0 -0
  52. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_dr1_qa_from_disk/DESI-DR1-QA-Notebook-WITH-CODE.html +0 -0
  53. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_dr1_qa_from_disk/DESI-DR1-QA-Notebook.ipynb +0 -0
  54. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_dr1_qa_from_disk/desi_qa_env.yaml +0 -0
  55. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_dr1_qa_from_disk/desi_qa_instructions.md +0 -0
  56. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_dr1_qa_from_disk/mollweide_spatial_distribution.html +0 -0
  57. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_dr1_qa_from_disk/plate_carree_spatial_distribution.html +0 -0
  58. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/desi_edr_galaxies.ipynb +0 -0
  59. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/public-specz-compilation.ipynb +0 -0
  60. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/public-training-set-des-dr2.ipynb +0 -0
  61. {pzserver-0.3.4 → pzserver-0.3.6}/docs/notebooks/templates/ztrue_tract_3833.ipynb +0 -0
  62. {pzserver-0.3.4 → pzserver-0.3.6}/requirements-dev.txt +0 -0
  63. {pzserver-0.3.4 → pzserver-0.3.6}/setup.cfg +0 -0
  64. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/__init__.py +0 -0
  65. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/catalog.py +0 -0
  66. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/pipeline.py +0 -0
  67. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/product.py +0 -0
  68. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver/upload.py +0 -0
  69. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver.egg-info/dependency_links.txt +0 -0
  70. {pzserver-0.3.4 → pzserver-0.3.6}/src/pzserver.egg-info/top_level.txt +0 -0
  71. {pzserver-0.3.4 → pzserver-0.3.6}/tests/pzserver/conftest.py +0 -0
  72. {pzserver-0.3.4 → pzserver-0.3.6}/tests/pzserver/test_catalog.py +0 -0
@@ -7,8 +7,6 @@ COPY requirements-dev.txt /tmp/pip-tmp/
7
7
  RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements-dev.txt \
8
8
  && rm -rf /tmp/pip-tmp
9
9
 
10
- RUN apt-get update && apt-get -y install pandoc
11
-
12
-
13
-
10
+ RUN rm -f /etc/apt/sources.list.d/yarn.list
14
11
 
12
+ RUN apt-get update && apt-get -y install pandoc
@@ -6,12 +6,12 @@
6
6
  "service": "app",
7
7
  "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
8
8
  "features": {
9
- "ghcr.io/devcontainers/features/common-utils:2": {},
9
+ // "ghcr.io/devcontainers/features/common-utils:2": {},
10
10
  // "ghcr.io/devcontainers/features/github-cli:1": {},
11
11
  // "ghcr.io/devcontainers-contrib/features/black:2": {},
12
- "ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {},
12
+ // "ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {},
13
13
  // "ghcr.io/dhoeric/features/act:1": {},
14
- "ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
14
+ // "ghcr.io/stuartleeks/dev-container-features/shell-history:0": {}
15
15
  },
16
16
  // Features to add to the dev container. More info: https://containers.dev/features.
17
17
  // "features": {},
@@ -13,10 +13,10 @@ jobs:
13
13
 
14
14
  steps:
15
15
  - uses: actions/checkout@v3
16
- - name: Set up Python 3.10
16
+ - name: Set up Python 3.11
17
17
  uses: actions/setup-python@v4
18
18
  with:
19
- python-version: '3.10'
19
+ python-version: '3.11'
20
20
  - name: Install dependencies
21
21
  run: |
22
22
  sudo apt-get update
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  strategy:
17
17
  matrix:
18
- python-version: ['3.10', '3.11', '3.12']
18
+ python-version: ['3.11', '3.12', '3.13']
19
19
 
20
20
  steps:
21
21
  - uses: actions/checkout@v3
@@ -25,7 +25,6 @@ jobs:
25
25
  python-version: ${{ matrix.python-version }}
26
26
  - name: Install dependencies
27
27
  run: |
28
- sudo apt-get update
29
28
  python -m pip install --upgrade pip
30
29
  pip install .
31
30
  pip install .[dev]
@@ -34,4 +33,3 @@ jobs:
34
33
  # - name: Analyze code with linter
35
34
  # run: |
36
35
  # pylint -rn -sn --recursive=y ./src --rcfile=./src/.pylintrc
37
-
@@ -29,7 +29,7 @@ jobs:
29
29
  - name: Set up Python
30
30
  uses: actions/setup-python@v4
31
31
  with:
32
- python-version: '3.10'
32
+ python-version: '3.11'
33
33
  - name: Install dependencies
34
34
  run: |
35
35
  python -m pip install --upgrade pip
@@ -13,7 +13,7 @@ jobs:
13
13
  runs-on: ubuntu-latest
14
14
  strategy:
15
15
  matrix:
16
- python-version: ['3.10', '3.11', '3.12']
16
+ python-version: ['3.11', '3.12', '3.13']
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@v3
@@ -23,7 +23,6 @@ jobs:
23
23
  python-version: ${{ matrix.python-version }}
24
24
  - name: Install dependencies
25
25
  run: |
26
- sudo apt-get update
27
26
  python -m pip install --upgrade pip
28
27
  pip install .
29
28
  pip install .[dev]
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  strategy:
17
17
  matrix:
18
- python-version: ['3.10', '3.11', '3.12']
18
+ python-version: ['3.11', '3.12', '3.13']
19
19
 
20
20
  steps:
21
21
  - uses: actions/checkout@v3
@@ -25,7 +25,6 @@ jobs:
25
25
  python-version: ${{ matrix.python-version }}
26
26
  - name: Install dependencies
27
27
  run: |
28
- sudo apt-get update
29
28
  python -m pip install --upgrade pip
30
29
  pip install .
31
30
  pip install .[dev]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pzserver
3
- Version: 0.3.4
3
+ Version: 0.3.6
4
4
  Author-email: LIneA <itteam@linea.org.br>
5
5
  License: MIT License
6
6
 
@@ -28,14 +28,10 @@ Classifier: License :: OSI Approved :: MIT License
28
28
  Classifier: Intended Audience :: Developers
29
29
  Classifier: Intended Audience :: Science/Research
30
30
  Classifier: Operating System :: OS Independent
31
- Classifier: Programming Language :: Python :: 3.7
32
- Classifier: Programming Language :: Python :: 3.8
33
- Classifier: Programming Language :: Python :: 3.9
34
- Classifier: Programming Language :: Python :: 3.10
35
31
  Classifier: Programming Language :: Python :: 3.11
36
32
  Classifier: Programming Language :: Python :: 3.12
37
33
  Classifier: Programming Language :: Python :: 3.13
38
- Requires-Python: <3.14,>=3.7
34
+ Requires-Python: <3.14.9,>=3.11
39
35
  Description-Content-Type: text/markdown
40
36
  License-File: LICENSE
41
37
  Requires-Dist: astropy<8,>=6
@@ -43,6 +39,7 @@ Requires-Dist: Deprecated<2,>=1
43
39
  Requires-Dist: h5py<4,>=3
44
40
  Requires-Dist: ipython<9,>=8
45
41
  Requires-Dist: Jinja2<4,>=3
42
+ Requires-Dist: lsdb<1,>=0.9
46
43
  Requires-Dist: matplotlib<4,>=3
47
44
  Requires-Dist: numpy<3,>=1
48
45
  Requires-Dist: pandas<3,>=2
@@ -59,9 +59,7 @@
59
59
  {
60
60
  "cell_type": "code",
61
61
  "execution_count": null,
62
- "metadata": {
63
- "scrolled": true
64
- },
62
+ "metadata": {},
65
63
  "outputs": [],
66
64
  "source": [
67
65
  "# pip install --upgrade --no-cache-dir pzserver"
@@ -200,7 +198,6 @@
200
198
  "cell_type": "code",
201
199
  "execution_count": null,
202
200
  "metadata": {
203
- "scrolled": true,
204
201
  "tags": []
205
202
  },
206
203
  "outputs": [],
@@ -218,9 +215,7 @@
218
215
  {
219
216
  "cell_type": "code",
220
217
  "execution_count": null,
221
- "metadata": {
222
- "scrolled": true
223
- },
218
+ "metadata": {},
224
219
  "outputs": [],
225
220
  "source": [
226
221
  "pz_server.display_products_list(filters={\"release\": \"DP0.2\", \n",
@@ -237,9 +232,7 @@
237
232
  {
238
233
  "cell_type": "code",
239
234
  "execution_count": null,
240
- "metadata": {
241
- "scrolled": true
242
- },
235
+ "metadata": {},
243
236
  "outputs": [],
244
237
  "source": [
245
238
  "pz_server.display_products_list(filters={\"product_type\": \"estimates\"})"
@@ -256,7 +249,6 @@
256
249
  "cell_type": "code",
257
250
  "execution_count": null,
258
251
  "metadata": {
259
- "scrolled": true,
260
252
  "tags": []
261
253
  },
262
254
  "outputs": [],
@@ -765,9 +757,7 @@
765
757
  {
766
758
  "cell_type": "code",
767
759
  "execution_count": null,
768
- "metadata": {
769
- "scrolled": true
770
- },
760
+ "metadata": {},
771
761
  "outputs": [],
772
762
  "source": [
773
763
  "# Show all products\n",
@@ -1016,9 +1006,7 @@
1016
1006
  {
1017
1007
  "cell_type": "code",
1018
1008
  "execution_count": null,
1019
- "metadata": {
1020
- "scrolled": true
1021
- },
1009
+ "metadata": {},
1022
1010
  "outputs": [],
1023
1011
  "source": [
1024
1012
  "# Show all products\n",
@@ -6,17 +6,13 @@ readme = "README.md"
6
6
  authors = [
7
7
  { name = "LIneA", email = "itteam@linea.org.br" }
8
8
  ]
9
- requires-python = ">=3.7,<3.14"
9
+ requires-python = ">=3.11,<3.14.9"
10
10
  classifiers = [
11
11
  "Development Status :: 4 - Beta",
12
12
  "License :: OSI Approved :: MIT License",
13
13
  "Intended Audience :: Developers",
14
14
  "Intended Audience :: Science/Research",
15
15
  "Operating System :: OS Independent",
16
- "Programming Language :: Python :: 3.7",
17
- "Programming Language :: Python :: 3.8",
18
- "Programming Language :: Python :: 3.9",
19
- "Programming Language :: Python :: 3.10",
20
16
  "Programming Language :: Python :: 3.11",
21
17
  "Programming Language :: Python :: 3.12",
22
18
  "Programming Language :: Python :: 3.13",
@@ -3,10 +3,11 @@ Deprecated>=1,<2
3
3
  h5py>=3,<4
4
4
  ipython>=8,<9
5
5
  Jinja2>=3,<4
6
+ lsdb>=0.9,<1
6
7
  matplotlib>=3,<4
7
8
  numpy>=1,<3
8
9
  pandas>=2,<3
9
10
  pyarrow>=17
10
11
  pydantic>=2,<3
11
12
  requests>=2,<3
12
- tables-io>=1,<2
13
+ tables-io>=1,<2
@@ -83,7 +83,7 @@ limit-inference-results=100
83
83
  load-plugins=
84
84
 
85
85
  # Pickle collected data for later comparisons.
86
- persistent=yes
86
+ persistent=no
87
87
 
88
88
  # Minimum Python version to use for version dependent checks. Will default to
89
89
  # the version used to run pylint.
@@ -92,9 +92,7 @@ py-version=3.9
92
92
  # Discover python modules and packages in the file system subtree.
93
93
  recursive=no
94
94
 
95
- # When enabled, pylint would attempt to guess common misconfiguration and emit
96
- # user-friendly hints instead of false-positive error messages.
97
- suggestion-mode=yes
95
+ # suggestion-mode was removed from newer pylint versions.
98
96
 
99
97
  # Allow loading of arbitrary C extensions. Extensions are imported into the
100
98
  # active Python interpreter and may run arbitrary code.
@@ -0,0 +1,24 @@
1
+ # file generated by vcs-versioning
2
+ # don't change, don't track in version control
3
+ from __future__ import annotations
4
+
5
+ __all__ = [
6
+ "__version__",
7
+ "__version_tuple__",
8
+ "version",
9
+ "version_tuple",
10
+ "__commit_id__",
11
+ "commit_id",
12
+ ]
13
+
14
+ version: str
15
+ __version__: str
16
+ __version_tuple__: tuple[int | str, ...]
17
+ version_tuple: tuple[int | str, ...]
18
+ commit_id: str | None
19
+ __commit_id__: str | None
20
+
21
+ __version__ = version = '0.3.6'
22
+ __version_tuple__ = version_tuple = (0, 3, 6)
23
+
24
+ __commit_id__ = commit_id = 'g9c78b4a4e'