Skip to main content

ullyses-utils

About

This repository contains utility scripts and data files for use in the ULLYSES program.

Installation

To use the utility scripts and files in this repository, simply install like so:

pip install ullyses-utils

Usage

Utility Scripts

This repo houses several utility scripts that are needed to creates ULLYSES HLSPs. Most are specific to this purpose, but some may be generally useful: specific functions in such scripts are described below.

match_aliases.match_aliases

Given an input target name, an attempt is made to match it to any aliases in the ULLYSES sample. By default, this returns the matched HLSP name, which is the target name used in ULLYSES products. You may alternatively specify that the ULLYSES name (generally recognized target name, with special characters) or the SIMBAD name (target name resolvable by SIMBAD) be returned instead.

from match_aliases import match_aliases
match_aliases("BAT99 105")
match_aliases("BAT99 105", return_name="target_name_ullyses")
match_aliases("BAT99 105", return_name="target_name_simbad")

Utility data files

To use the utility data files, the package should be imported and then relative paths can be determined from your local installation. For example, if you wish to reference the ULLYSES target alias file, you would do so like this:

import os
import ullyses_utils
local_dir = ullyses_utils.__path__[0]
alias_file = os.path.join(local_dir, "data/target_metadata/pd_all_aliases.json")

Metadata

Release files for ullyses-utils 3.1.0

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

Source distribution (sdist)

Source distribution for ullyses-utils 3.1.0
File Size Uploaded Provenance Actions
ullyses_utils-3.1.0.tar.gz 3.6 MB Without provenance Details for ullyses_utils-3.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ullyses-utils 3.1.0
File Interpreter ABI Platform Actions
ullyses_utils-3.1.0-py3-none-any.whl Python 3 none any Details for ullyses_utils-3.1.0-py3-none-any.whl

Total release size: 7.5 MB

Release files / ullyses_utils-3.1.0.tar.gz

Download URL ullyses_utils-3.1.0.tar.gz
Size 3.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ba146ff2d778f93ee76abbde47ef1983b13a2f00a250f3226dbf5d5fb7f02563
BLAKE2b-256 checksum
How to use checksums
129c43dccebc97bf676bf297fca6e6c9e6a1a2be93252540b4a832fdf7b87149
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / ullyses_utils-3.1.0-py3-none-any.whl

Download URL ullyses_utils-3.1.0-py3-none-any.whl
Size 3.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3d810d89be99eef4cb2033fd1afbfb0cc36f4716db2a1e4ce182325e466a78b4
BLAKE2b-256 checksum
How to use checksums
6db32fa4d84606328fb021e01088eb9323ca39292021813c7d050831e0a07145
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.7

Security for ullyses-utils 3.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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