Metadata-Version: 2.4
Name: sdss-cherno
Version: 1.2.2
Summary: SDSS guider actor
Project-URL: Homepage, https://github.com/sdss/cherno
Project-URL: Repository, https://github.com/sdss/cherno
Project-URL: Documentation, https://sdss-cherno.readthedocs.org
Author-email: José Sánchez-Gallego <gallegoj@uw.edu>
License-Expression: BSD-3-Clause
License-File: LICENSE.md
Requires-Python: >=3.10
Requires-Dist: astropy>=6.0.0
Requires-Dist: click-default-group>=1.2.2
Requires-Dist: click<8.2.0,>=8.0.0
Requires-Dist: contourpy<=1.3.2
Requires-Dist: numexpr<2.11.0
Requires-Dist: numpy<2.0.0,>1
Requires-Dist: pandas<3.0.0,>=2.0.0
Requires-Dist: psycopg2-binary>=2.9.5
Requires-Dist: pyarrow<=20.0.0
Requires-Dist: scipy<1.17.0
Requires-Dist: sdss-clu>=1.8.0
Requires-Dist: sdss-coordio>=1.18.1
Requires-Dist: sdsstools>=1.5.5
Requires-Dist: simple-pid>=1.0.1
Requires-Dist: sqlalchemy>=2.0.0
Requires-Dist: tables
Description-Content-Type: text/markdown

# cherno

![Versions](https://img.shields.io/badge/python->=3.10-blue)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Documentation Status](https://readthedocs.org/projects/sdss-cherno/badge/?version=latest)](https://sdss-cherno.readthedocs.io/en/latest/?badge=latest)
[![Tests Status](https://github.com/sdss/cherno/workflows/Test/badge.svg)](https://github.com/sdss/cherno/actions)
<!-- [![codecov](https://codecov.io/gh/sdss/cherno/branch/main/graph/badge.svg)](https://codecov.io/gh/sdss/cherno) -->


SDSS guider actor

## Installation

In general you should be able to install ``cherno`` by doing

```console
pip install sdss-cherno
```

To build from source, use

```console
git clone git@github.com:sdss/cherno
cd cherno
pip install .
```

## Development

`cherno` uses [uv](https://docs.astral.sh/uv/) for dependency management and packaging. To work with an editable install it's recommended that you setup `uv` and install `cherno` in a virtual environment by doing

```console
uv sync
```

### Style and type checking

This project uses the [black](https://github.com/psf/black) code style with 88-character line lengths for code and docstrings. It is recommended to use [ruff](https://docs.astral.sh/ruff/) for both linting and formatting and the `pyproject.toml` file contains the appropriate configuration. For Visual Studio Code, the following project file is compatible with the project configuration:

```json
{
  "[python]": {
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
      "source.fixAll": "explicit",
      "source.organizeImports.ruff": "explicit"
    },
    "editor.wordWrap": "off",
    "editor.tabSize": 4,
    "editor.defaultFormatter": "charliermarsh.ruff"
  },
  "[markdown]": {
    "editor.wordWrapColumn": 88
  },
  "[restructuredtext]": {
    "editor.wordWrapColumn": 88
  },
  "[json]": {
    "editor.quickSuggestions": {
      "strings": true
    },
    "editor.suggest.insertMode": "replace",
    "editor.formatOnSave": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "editor.tabSize": 2
  },
  "[yaml]": {
    "editor.insertSpaces": true,
    "editor.formatOnSave": true,
    "editor.tabSize": 2,
    "editor.autoIndent": "advanced",
  },
  "prettier.tabWidth": 2,
  "editor.rulers": [88],
  "editor.wordWrapColumn": 88,
  "python.analysis.typeCheckingMode": "basic",
  "ruff.nativeServer": true
}
```

This assumes that the [Python](https://marketplace.visualstudio.com/items?itemName=ms-python.python) and [Pylance](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance) extensions are installed.
