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 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_app.

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 and checkout to the development branch.

    git clone git@github.com:linea-it/pzserver.git
    cd pzserver 
    git checkout <development branch name>
    

    or just

    cd pzserver 
    git pull
    git checkout <development branch name>
    

    if you already have it.

  2. Create a new Conda environment free from pzserver old version installation

    conda create -n pzserver-dev
    conda activate pzserver-dev
    conda install pip
    pip install -e '.'
    
  3. Open Python prompt or notebook and import the library:

    from pzserver import PzServer
    token = "****"  # your toker 
    host = "pz-dev" # or "localhost" if testing pipeline back-end locally
    pz = PzServer(token, host)                                   
    

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.2.8.tar.gz (7.2 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.2.8-py3-none-any.whl (21.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pzserver-0.2.8.tar.gz
Algorithm Hash digest
SHA256 d290836cc76a60506ddbd3c42554add0f946df4db70b840fe9d47ec7d2e28292
MD5 c74a98a65fdd4b2604fee4dd5f6ccc2c
BLAKE2b-256 fe0683bc5546f4ac0753ff1451215bd1fb5a06e4ba0ee74c698209a327081274

See more details on using hashes here.

Provenance

The following attestation bundles were made for pzserver-0.2.8.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.2.8-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pzserver-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 958ec9029c45f70fa8d35fad467cc89c62f9a2954996831b6c0f117e5f0ddcaf
MD5 07a84a00d2b886dcee533a9efad82847
BLAKE2b-256 f932de08fec42e280010a0eb32b1eb6950b434c6c83869444daa9a3158c8834c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pzserver-0.2.8-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