Control and setup of SDSS tree environment and modules
Project description
tree
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
- GitHub: https://github.com/sdss/tree
- Documentation: https://sdss-tree.readthedocs.org
- Issues: https://github.com/sdss/tree/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sdss_tree-4.1.2.tar.gz.
File metadata
- Download URL: sdss_tree-4.1.2.tar.gz
- Upload date:
- Size: 60.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e5b1c4c128f3f987cdd87c216efbff4ee4f8882cdf4104df098dda7ef6fa65c
|
|
| MD5 |
529b52b83f16662700d9de43d3a9fd9e
|
|
| BLAKE2b-256 |
f15f8469fc50f1e90fa5797870d386ca76352cd10a3a42d01d9affa2c121ed64
|
Provenance
The following attestation bundles were made for sdss_tree-4.1.2.tar.gz:
Publisher:
release.yml on sdss/tree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdss_tree-4.1.2.tar.gz -
Subject digest:
3e5b1c4c128f3f987cdd87c216efbff4ee4f8882cdf4104df098dda7ef6fa65c - Sigstore transparency entry: 1186444391
- Sigstore integration time:
-
Permalink:
sdss/tree@a8813cc97a829917a4f68df9c535655981d48500 -
Branch / Tag:
refs/tags/4.1.2 - Owner: https://github.com/sdss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a8813cc97a829917a4f68df9c535655981d48500 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sdss_tree-4.1.2-py3-none-any.whl.
File metadata
- Download URL: sdss_tree-4.1.2-py3-none-any.whl
- Upload date:
- Size: 67.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea8592e1f0380ae82925c273d38611406b9575c29ff2595bf6a4afadcad81847
|
|
| MD5 |
84ff8b17083026fff42a5be4ae22b255
|
|
| BLAKE2b-256 |
4386742c8693e71a113088c080852c8e086b8c52af0aeab61ee643da7382e784
|
Provenance
The following attestation bundles were made for sdss_tree-4.1.2-py3-none-any.whl:
Publisher:
release.yml on sdss/tree
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdss_tree-4.1.2-py3-none-any.whl -
Subject digest:
ea8592e1f0380ae82925c273d38611406b9575c29ff2595bf6a4afadcad81847 - Sigstore transparency entry: 1186444398
- Sigstore integration time:
-
Permalink:
sdss/tree@a8813cc97a829917a4f68df9c535655981d48500 -
Branch / Tag:
refs/tags/4.1.2 - Owner: https://github.com/sdss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@a8813cc97a829917a4f68df9c535655981d48500 -
Trigger Event:
push
-
Statement type: