Skip to main content

SDSS guider actor

Project description

cherno

Versions Code style: black Documentation Status Build codecov

SDSS guider actor

Installation

In general you should be able to install cherno by doing

pip install sdss-cherno

To build from source, use

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

Development

cherno uses poetry for dependency management and packaging. To work with an editable install it's recommended that you setup poetry and install cherno in a virtual environment by doing

poetry install

Style and type checking

This project uses the black code style with 88-character line lengths for code and docstrings. It is recommended that you run black on save. Imports must be sorted using isort. The GitHub test workflow checks all the Python file to make sure they comply with the black formatting.

Configuration files for flake8, isort, and black are provided and will be applied by most editors. For Visual Studio Code, the following project file is compatible with the project configuration:

{
    "python.formatting.provider": "black",
    "[python]" : {
        "editor.codeActionsOnSave": {
            "source.organizeImports": true
        },
        "editor.formatOnSave": true
    },
    "[markdown]": {
        "editor.wordWrapColumn": 88
    },
    "[restructuredtext]": {
        "editor.wordWrapColumn": 88
    },
    "editor.rulers": [88],
    "editor.wordWrapColumn": 88,
    "python.analysis.typeCheckingMode": "basic"
}

This assumes that the Python and Pylance extensions are installed.

This project uses type hints. Typing is enforced by the test workflow using pyright (in practice this means that if Pylance doesn't produce any errors in basic mode, pyright shouldn't).

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_cherno-0.4.0b1.tar.gz (35.9 kB view details)

Uploaded Source

Built Distribution

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

sdss_cherno-0.4.0b1-py3-none-any.whl (45.9 kB view details)

Uploaded Python 3

File details

Details for the file sdss_cherno-0.4.0b1.tar.gz.

File metadata

  • Download URL: sdss_cherno-0.4.0b1.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.4 Darwin/22.1.0

File hashes

Hashes for sdss_cherno-0.4.0b1.tar.gz
Algorithm Hash digest
SHA256 c1c513c73456623da77cc289b4d1d21cef385a0d5d51b24d03254d54a3a34c35
MD5 f8b8fc36b3e9a5517506f25b405bd4d8
BLAKE2b-256 364649e0f2c7dedc7a65d3bab4b46789028d4997776fcce9c941951c83ef3985

See more details on using hashes here.

File details

Details for the file sdss_cherno-0.4.0b1-py3-none-any.whl.

File metadata

  • Download URL: sdss_cherno-0.4.0b1-py3-none-any.whl
  • Upload date:
  • Size: 45.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.4 Darwin/22.1.0

File hashes

Hashes for sdss_cherno-0.4.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 58b949c7844dfd85a2cd1f9a9befecdcc74869690b03d1c2a63badea93db083f
MD5 3858355d158e77698561688f96c908b4
BLAKE2b-256 dc53cedd3f1e9f8d9b4312360c52c7f23c15e6ff75c9692a3e13e6ad5280fcf2

See more details on using hashes here.

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