semvec/pypi-packages huggingface dataset:
huekit 0.1.1
Enables ANSI escape code support for Windows 10 terminal. Has 8-bit ANSI color presets.
Requires Python: >=3.9

# HueKit

Huekit is a simple package which lets you style and color text. Unlike colorama and other python text color-izers, huekit also lets you style text, and has more color variety than colorama.

# How To Use

The following is a code block which will later be explained, showing how to use huekit:

```Python
from huekit import huekit

print(huekit.color("red") + huekit.bgcolor("blue") + "This text is red (with a blue background)," + huekit.style("bold") + " And this text is bold!")
```

```from huekit import huekit```: import the library.

```huekit.color("red")"```: this is huekit's color function. For a full list of the avaliable colors, please run ```huekit.colors()```.

```huekit.bgcolor("blue")```: this is huekit's background color function. For a full list of the avaliable background colors, please run ```huekit.bgcolors()```.

```huekit.style("bold")```: this is huekit's style function. For a full list of the avaliable styles, please run ```huekit.styles()```.

# Notes

* ```huekit.color("white")``` resets all effects, doesn't just change the color to white.
* You can concatenate styles, background colors and colors together.

If you just want to fix the Windows (10) terminal ANSI support, run ```huekit.fix_windows_please()```. It is safe to run this multiple times and run this on other OSes (this won't do anything).

# Warnings

* This has not been tested on Windows versions below Windows 10.
* When this module is imported, ```fix_windows_please()``` is automatically called.

Be cautious of these factors. These are most probably not going to be fixed.
spheroidal 0.1.1
Library for computing spin-weighted spheroidal harmonics

[![GitHub release (with filter)](https://img.shields.io/github/v/release/syp2001/spheroidal)](https://github.com/syp2001/spheroidal/releases)
[![Test Status](https://github.com/syp2001/spheroidal/actions/workflows/python-package.yml/badge.svg)](https://github.com/syp2001/spheroidal/actions)
[![PyPI - Version](https://img.shields.io/pypi/v/spheroidal)](https://pypi.org/project/spheroidal/)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/spheroidal.svg)](https://anaconda.org/conda-forge/spheroidal)
[![Documentation Status](https://readthedocs.org/projects/spheroidal/badge/?version=latest)](https://spheroidal.readthedocs.io/en/latest/?badge=latest)
[![GitHub License](https://img.shields.io/github/license/syp2001/spheroidal)](https://github.com/syp2001/spheroidal/blob/main/LICENSE)

# Spheroidal

`spheroidal` is a python library for computing spin weighted spheroidal
harmonics along with their eigenvalues and derivatives. It supports both integer
and half integer spin weights. The library provides implementations of the 
spherical expansion method described in [(Hughes, 2000)](https://journals.aps.org/prd/abstract/10.1103/PhysRevD.61.084004)
and the continued fraction method from [(Leaver, 1985)](https://www.edleaver.com/Misc/EdLeaver/Publications/AnalyticRepresentationForQuasinormalModesOfKerrBlackHoles.pdf).
Also included is code for computing spin weighted spherical harmonics and 
spherical-spheroidal mixing coefficients. See the [documentation](https://spheroidal.readthedocs.io)
for more information.

![](https://raw.githubusercontent.com/syp2001/spheroidal/main/docs/source/images/s-2g1.5.png)

## Installation

Install using Anaconda

```bash
   conda install -c conda-forge spheroidal
```

or using pip

```bash
   pip install spheroidal
```

## Basic Usage

```python
   import spheroidal
   from math import pi

   # Compute the spin weighted spheroidal eigenvalue with s = -2, l = 2, m = 2, gamma = 1.5
   spheroidal.eigenvalue(-2, 2, 2, 1.5)
   # -5.5776273646788255

   # Compute the corresponding spin weighted spheroidal harmonic
   S = spheroidal.harmonic(-2, 2, 2, 1.5)

   # Evaluate at theta = pi/2, phi = 0
   S(pi/2, 0)
   # (0.06692950919170575+0j)

   # Compute the derivative wrt theta at the same point
   spheroidal.harmonic_deriv(-2, 2, 2, 1.5)(pi/2, 0)
   # (-0.20852146386265577+0j)
```

## Authors

* Seyong Park
* Zach Nasipak