Skip to main content

Control and setup of SDSS tree environment and modules

Project description

tree

Versions Documentation Status Build Sphinx Documentation Build and Test codecov

This product contains the definition(s) of the SDSS Science Archiver Server (SAS) filesystem environment tree(s). It sets up the SDSS environment configuration files for loading either via the Modules Environment Manager or dynamically with a tree.Tree python package. Available environments are a SDSS "working" environment, i.e. sdsswork or any number of environments for public Data Releases, i.e. dr16.cfg. See full documentation at http://sdss-tree.readthedocs.io/en/latest/.

Developer Install

Local Install

To install tree for development locally:

git clone https://github.com/sdss/tree
cd tree
python bin/copy_data.py
pip install -e ".[dev,docs]"

python bin/copy_data.py must be run ahead of any package install or builds with python -m build to ensure the config files are properly in place.

Install at Utah

To install at Utah for use with modules,

git clone https://github.com/sdss/tree main
cd main
python bin/setup_tree.py -v

Replace main with the desired branch or tag name as needed. Also, see the instructions on the Wiki

Install as a Dependency

To install as a Python package dedendency for software use, install the latest tag straight from PyPi:

pip install sdss-tree

Build Sphinx Docs

Within the top level repo directory, run the sdsstools commands:

# build the Sphinx documentation
sdss docs.build

# open the docs locally in a browser
sdss docs.show

Documentation is automatically built and pushed to Read The Docs.

Testing

Tests are created using pytest. Navigate to the tests directory from the top level and run with pytest.

cd tests
pytest

Creating Releases

New releases of sdss-tree are created automatically, and pushed to PyPi, when new tags are pushed to Github. See the Create Release Github Action and Releases for the list.

New tag names follow the Python semantic versioning syntax, i.e. X.Y.Z.

Useful links

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

sdss_tree-4.1.3.tar.gz (61.7 kB view details)

Uploaded Source

Built Distribution

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

sdss_tree-4.1.3-py3-none-any.whl (68.8 kB view details)

Uploaded Python 3

File details

Details for the file sdss_tree-4.1.3.tar.gz.

File metadata

  • Download URL: sdss_tree-4.1.3.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sdss_tree-4.1.3.tar.gz
Algorithm Hash digest
SHA256 e1d578cdd0c5ef742cef0e4f8fc118428f4be155327ca31b0a4b347850d00ffb
MD5 154503c9f1046da817aa187fac685669
BLAKE2b-256 b177e8fa0646ec2f4df83f96378c2ca8ab7906979c2a0eaa877c131fcb3ca183

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdss_tree-4.1.3.tar.gz:

Publisher: release.yml on sdss/tree

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

File details

Details for the file sdss_tree-4.1.3-py3-none-any.whl.

File metadata

  • Download URL: sdss_tree-4.1.3-py3-none-any.whl
  • Upload date:
  • Size: 68.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sdss_tree-4.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1a191354a0affb485acc5318c6053b9ff972d39b47884a673377c7f5aee5323c
MD5 1d2e79c99de7d49d7d6ba3b5b4675902
BLAKE2b-256 5390c4f3064b6ec6085d178376257c5ebfa01bbcb65a6de79657e94c4da6c504

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdss_tree-4.1.3-py3-none-any.whl:

Publisher: release.yml on sdss/tree

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