User Installation#

Note

The mast-table package is actively maintained, and improvements are made regularly. To ensure you have the latest features and bug fixes, we recommend updating to the most recent version. The development version often includes the latest changes ahead of full releases.

Set Up Your Local Environment#

To use mast-table, you need Python 3.11 or later. Below is an example using Python 3.11, but you can replace 3.11 with any supported version (e.g., 3.12).

  1. Create a new Conda environment:

conda create -n mast-table-env python=3.11
conda activate mast-table-env
  1. Install mast-table using pip:

  • To install the latest development version (includes the most recent updates and fixes):

pip install git+https://github.com/spacetelescope/mast-table --upgrade
  • To install the latest stable release

pip install mast-table --upgrade

Setting Up a Local Development Copy#

If you plan to contribute to mast-table or modify the code, follow these steps to set up a local development copy:

  1. Fork the mast-table repository

  1. Clone your fork locally.

  • Replace your-username with your GitHub username:

git clone git@github.com:username/mast-table.git
cd mast-table
  1. Set up the upstream remote

git remote add upstream git@github.com:spacetelescope/mast-table.git
git fetch upstream main
git fetch upstream --tags
  1. Keep your fork updated

  • Before starting new work, update your local main branch with the latest changes from the upstream repository:

git checkout main
git pull upstream main