Skip to main content

PZ Server Library

PyPI PyPI - Status GitHub Workflow Status GitHub

A Python library to access data and services from the LSST Photo-z Server.

The Photo-z (PZ) 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 Legacy Survey of Space and Time (LSST) caried out by the Rubin Observatory. The PZ Server is an open source project. The source code is available on the GitHub repository linea-it/pzserver.

An overview of this and other contributions is available here.
The API documentation is available here.

This repo uses the LINCC's Python Project Template, described in the article: A Python Project Template for Healthy Scientific Software.


Instructions for developers:

How to validate a PR

Step-by-step procedure to test a new feature or bug fix from a particular branch not using a previously installed version (not the only way, just a suggestion):

  1. Clone the repository (first time only).

    git clone git@github.com:linea-it/pzserver.git
    # or git clone https://github.com/linea-it/pzserver.git
    

  1. Enter the repository and checkout to the development branch.

    cd pzserver
    git fetch origin
    git checkout <development branch name>
    git pull
    

  1. Create a new Conda environment free from pzserver old version installation. Delete any existing one with the same same, if necessary.

    conda remove --name pzserver --all
    conda create -n pzserver python=3.12
    conda activate pzserver
    conda install pip
    python -m pip install -e '.[dev]'
    python -m ipykernel install --user --name pzserver --display-name "Python (pzserver)"
    

  1. Open Python prompt or notebook and import the library:

    from pzserver import PzServer
    token = "****"  # your toker 
    pz = PzServer(token)                                   
    

Metadata

Release files for pzserver 0.3.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pzserver 0.3.7
File Size Uploaded Provenance
pzserver-0.3.7.tar.gz 1.3 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pzserver 0.3.7
File Interpreter ABI Platform
pzserver-0.3.7-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / pzserver-0.3.7.tar.gz

Download URL pzserver-0.3.7.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
6374b2b1fc7a18df21d03e09ae9380532f59e1cf072c08318f13f0ca4bdab7bc
BLAKE2b-256 checksum
How to use checksums
f31d6513d3115e3bd80dac9270ec093c974bb86e253944704023c39162e3503f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Release files / pzserver-0.3.7-py3-none-any.whl

Download URL pzserver-0.3.7-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ee61259e59a07dd988034759f519d10289505d81ca4755530c193db56f52361
BLAKE2b-256 checksum
How to use checksums
51bfa7f10ee540bcfb39497121f967e9b682eeb65b188d1a772a3b5f2f290d7a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

Security for pzserver 0.3.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pzserver-0.3.7.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page