semvec/pypi-packages huggingface dataset:
unred 0.1.2
Determine the interstellar extinction for observed stars
Keywords: reddening,extinction,stars

# Unredden-stars
[![Build Status](https://travis-ci.org/pbrus/unredden-stars.svg?branch=master)](https://travis-ci.org/pbrus/unredden-stars) [![Code](https://img.shields.io/badge/code-Python-blue.svg "Python")](https://www.python.org/) [![PyPI version](https://badge.fury.io/py/unred.svg)](https://badge.fury.io/py/unred) [![License](https://img.shields.io/badge/license-MIT-yellow.svg "MIT license")](https://github.com/pbrus/unredden-stars/blob/master/LICENSE)

This package allows to determine the interstellar extinction for stars lying on the color-color plane. Using:
1. theoretical stars sequence
2. reddening line slope
3. positions of stars

package functions calculate which part of the sequence the reddened stars come from. This allows to determine the color excess and hence the extinction of each star.

![unredden-stars](http://www.astro.uni.wroc.pl/ludzie/brus/img/github/unred-stars.gif)

## Installation

To install the package please type from the command line:
```bash
$ sudo pip3 install unred
```
or alternatively:
```bash
$ git clone https://github.com/pbrus/unredden-stars
$ cd unredden-stars
$ sudo python3 setup.py install
```

## Usage

At the beginning call the script from the terminal window with the `-h` option:
```bash
$ unred_stars.py -h
```
This will give you a description of available options. If you need to see the program in action immediately, you can use files from the `example_data/` directory:
```bash
$ unred_stars.py example_data/stars.dat example_data/ub_bv_dwarfs.dat 0.72 3.1
```
Moreover, you can filter the output (by extinction value for each star) using `--min` or `--max` option:
```bash
$ unred_stars.py example_data/stars.dat example_data/ub_bv_dwarfs.dat 0.72 3.1 --min
```

I encourage to visit my website to see more detailed description of this program. The current link can be found on my [GitHub profile](https://github.com/pbrus).

## License

**Unredden-stars** is licensed under the [MIT license](http://opensource.org/licenses/MIT).
nima-cast 0.1.12
This is a project that could connect to a minio server and sream the conents on a chromecast device.

nima_cast CLI
=============

Usage
=====

.. code:: bash

   $ nima_cast
   Welcome! Type ? to list commands. options: --no-minio and --show-debug

   (nima.cast) select
   INFO:pychromecast:Querying device status
   INFO:pychromecast:Querying device status
   [0] - Bedroom speaker
   [1] - Living Room TV
   Please choose an index: 1

   (nima.cast) list
   [ 0]-   example_video.mp4

   (nima.cast) play 0
   INFO:pychromecast.controllers:Receiver:Launching app CC1AD845

   (nima.cast) pause

   (nima.cast) goto 0:10:0

   (nima.cast) pause

   (nima.cast) stop

   (nima.cast) quit
   INFO:pychromecast:Quiting current app
   INFO:pychromecast.controllers:Receiver:Stopping current app 'CC1AD845'

   (nima.cast) exit

Commands
========

You can get a list of commands by enterring ``?``:

.. code:: bash

   (nima.cast) ?

   Documented commands (type help <topic>):
   ========================================
   EOF     exit  help  play  search  select  stream
   device  goto  list  quit  seek    stop

   Undocumented commands:
   ======================
   pause  resume

Look at the documentation for each of them by entering ``help CMD``:

.. code:: bash

   (nima.cast) help play
   play [num] starts playing the file specified by the number in results of list

Installation
============

Install using pip:

.. code:: bash

   $ pip install nima_cast

Upgrading:

.. code:: bash

   pip install nima_cast --upgrade

Minio Configuration
===================

On windows:

.. code:: bash

   set ACCESS_KEY=XXXXXXXXXXXXXXXXX
   set SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   set MINIO_SERVER=YOUR_MINIO_SERVER:9000

On ubuntu:

.. code:: bash

   export ACCESS_KEY=XXXXXXXXXXXXXXXXX
   export SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   export MINIO_SERVER=YOUR_MINIO_SERVER:9000

Running the app
===============

.. code:: bash

   $ nima_cast

Options
=======

-  use ``--no-minio`` for streaming purposes (no need to connect to
   minio).
-  use ``--show-debug`` to see debug messages from the cast.