semvec/pypi-packages huggingface dataset:
electric-db-cli 0.0.3
Electric DB command line interface utility.
License: MIT
Requires Python: >=3.5

![Status](https://img.shields.io/badge/status-alpha-red.svg)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE.md)
[![CircleCI](https://circleci.com/gh/electric-db/electric-cli/tree/main.svg?style=shield&circle-token=67d43361b7c2aa039a0eef39d3617a9f481e54c5)](https://circleci.com/gh/electric-db/electric-cli/tree/main)

# Electric DB CLI

The Electric DB CLI is the command line interface utility for the [Electric DB](https://electricdb.net) geo-distributed database hosting service. It's developed in Python and the code is published under the [MIT License](https://github.com/electric-db/electric-cli/blob/master/LICENSE) at [github.com/electric-db/electric-cli](https://github.com/electric-db/electric-cli).

## Develop

You can install the CLI for local development by installing the dependencies into a Python3 environment and developing the egg:

```sh
pip install -r requirements.txt
python setup.py develop
```

This will install a `electric` binary in your local Python environment's bin folder. You can check that this is on your path with e.g.:

```sh
which electric
```

## Build

If you want to build standalone binaries, you first need to install the extra development requirements:

```sh
pip install -r dev-requirements.txt
```

Then you can build a [Pex](https://pex.readthedocs.io) executable using:

```sh
python setup.py bdist_pex --bdist-all
```

This will create a `./dist/electric` binary which you can copy and run anywhere
on your system.

Alternatively, you can build a standalone binary with an embedded Python interpretor using [PyOxidizer](https://pyoxidizer.readthedocs.io):

```sh
pyoxidizer run
```

This will create a binary at `./build/:target/debug/install/electric` that you can run on any machine with the same architecture and OS as your build machine.

## Usage

Run the `electric` command without arguments or with the `--help` flag for usage information:

```sh
electric --help
```

You can drill down into usage information for the resources / command groups and for individual commands, e.g.:

```sh
electric auth --help
electric auth login --help
```

Further [documentation is available on the Electric DB website](https://electricdb.net/docs).

## Test

Running the tests requires `nose` and `coverage`, included in the `dev-requirements.txt`.

Then, run e.g.:

```sh
nosetests --with-coverage --cover-package electric
```
deltae 1.1.2
Deltae 2000 written in pure python. See README.md for more
License: MIT
Requires Python: >=3.6,<4.0
Keywords: color difference,colour difference,delta e

# deltae

[![Build Status](https://app.travis-ci.com/kaineyb/deltae.svg?branch=master)](https://app.travis-ci.com/kaineyb/deltae)

Written in Python. 

Requires 3.6 or greater (uses f-strings)

Currently has DeltaE1976, DeltaE2000 with the others looking to be implemented in the future.

Based on the whitepaper by Gaurav Sharma, Wencheng Wu and Endul N. Dala from the University of Rochester NY

## User Dependancies:
None

## Dev Dependancies:
Pandas for creating test_functions.py 

## Background

Uses the data set provided from: http://www2.ece.rochester.edu/~gsharma/ciede2000/dataNprograms/CIEDE2000.xls to test against. (converted to csv as rochester_data.csv)

Based on using Bruce Lindblooms (http://www.brucelindbloom.com/) DE2000 calcuation. Then updated with the maths from the Rochester white paper.

It seems as though Rochester uses a different calculation for hPrime, h1Prime, h2Prime and hBarPrime than Bruce. However the whole dataset does return the correct deltae2000 values for both formulas. Perhaps there are some combinations of lab values that would be different.

## Installation

Pip: 

```console
    pip install deltae
```


## Example Usage:
```python
    import deltae
```
##### Takes CIELAB values as a dictionary - example below:
```python
    Lab1 = {'L': 50.00, 'a': 2.6772, 'b': -79.7751}
    Lab2 = {'L': 50.00, 'a': 0.00, 'b': -82.7485}
```

##### Get the DeltaE 1976 Formula of 2 Lab Values:
```python
    deltae.delta_e_1976(Lab1, Lab2)
```
##### Get the DeltaE 2000 Formula of 2 Lab Values:
```python
    deltae.delta_e_2000(Lab1, Lab2)
```