Skip to main content

SDSS guider actor

Project description

cherno

Versions Code style: black Documentation Status Tests Status

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

Uploaded Source

Built Distribution

sdss_cherno-1.0.0-py3-none-any.whl (53.4 kB view details)

Uploaded Python 3

File details

Details for the file sdss_cherno-1.0.0.tar.gz.

File metadata

  • Download URL: sdss_cherno-1.0.0.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.3 Darwin/23.5.0

File hashes

Hashes for sdss_cherno-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e0530273138faf4a96ee2fb57e65e24467465760f038812071ddeb5a5712c198
MD5 aa6f93d562852a8db4e29b4b37d1dd2d
BLAKE2b-256 8895dadf5487e7516acf5b3baae5ff07a896b98a00d781d7bbdd40f82b3730b5

See more details on using hashes here.

File details

Details for the file sdss_cherno-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: sdss_cherno-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 53.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.3 Darwin/23.5.0

File hashes

Hashes for sdss_cherno-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b259c98fd46da1271d5de8ddf215dfb00cca21f12467b767edad08977921dcf9
MD5 2f1de53f13cc4977cd135e182f16e2a0
BLAKE2b-256 f66e33a17d9ad4742ba01322de3854e281cd92912e63b5cd99a22733297adf68

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