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
pip install -e ".[dev,docs]"

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.0.6.tar.gz (42.1 kB view details)

Uploaded Source

Built Distribution

sdss_tree-4.0.6-py2.py3-none-any.whl (53.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sdss-tree-4.0.6.tar.gz.

File metadata

  • Download URL: sdss-tree-4.0.6.tar.gz
  • Upload date:
  • Size: 42.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sdss-tree-4.0.6.tar.gz
Algorithm Hash digest
SHA256 4532f19099d39912fb5c725996fbc874367df51faf239a9cb0156badb1d64a86
MD5 6540ec29d6c7a0870fe89cd6351d1590
BLAKE2b-256 0f85aa94fc32c058b9624c89072264e9d9105beb0f0d431a2a6f04faeb3bf0e5

See more details on using hashes here.

File details

Details for the file sdss_tree-4.0.6-py2.py3-none-any.whl.

File metadata

  • Download URL: sdss_tree-4.0.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 53.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for sdss_tree-4.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1035517366d12b801596c46670f21b458c7334c3ee896313d1628c90529a2814
MD5 fd8d8926e25f8d5bc0bfab24b50cb04c
BLAKE2b-256 afec6f804f72990f0d2691e5a91074ac465ce2973dec8f590087cdf2c698f25b

See more details on using hashes here.

Supported by

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