Skip to main content

No project description provided

Project description

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)                                   
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pzserver-0.3.4.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pzserver-0.3.4-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file pzserver-0.3.4.tar.gz.

File metadata

  • Download URL: pzserver-0.3.4.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pzserver-0.3.4.tar.gz
Algorithm Hash digest
SHA256 1590b18dce97c9230447cf4331d6a9b7854f86c2cabb2048f4d09799e90e023a
MD5 4da65d2c8d9f8f36ae8642cdc6469c8b
BLAKE2b-256 e7af523091fc0e3ea182f4c8236748771f70a34ecd18e4aca7089e8ade1d7272

See more details on using hashes here.

Provenance

The following attestation bundles were made for pzserver-0.3.4.tar.gz:

Publisher: publish-to-pypi.yml on linea-it/pzserver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pzserver-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: pzserver-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pzserver-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3a2dc3cf6751e4495225e78b830a5103d2a95c2be70fb88ebccb9e717b18aa97
MD5 029d6c15cad59c0b679d305e1482bab4
BLAKE2b-256 677081f0f62a1dec2cfa85158b2d4091039c92fca9a422600da41c414a2fb18a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pzserver-0.3.4-py3-none-any.whl:

Publisher: publish-to-pypi.yml on linea-it/pzserver

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page