semvec/pypi-packages huggingface dataset:
ripix 2.5.0
A Rich-compatible library for writing pixel images and ASCII art to the terminal.
Requires Python: >=3.7,<3.12
Keywords: ripix,rich,textual,image,pixels,ascii-art,rich_pixels

# Ripix

A Rich-compatible library for writing pixel images and other colourful grids to the
terminal.

<p align="center">
<img width="700" src="https://user-images.githubusercontent.com/5740731/200676207-8e9c9465-628b-40de-ba0b-410612f2bd7c.svg" />
</p>

## Installation

Get `ripix` from PyPI.

```
pip install ripix
```

## Basic Usage

### Images

#### Image from a file

You can load an image file from a path using `from_image_path`:

```python
from ripix import Pixels
from rich.console import Console

console = Console()
pixels = Pixels.from_image_path("pokemon/bulbasaur.png")
console.print(pixels)
```

#### Pillow image object

You can create a PIL image object yourself and pass it in to `from_image`.

```python
from ripix import Pixels
from rich.console import Console
from PIL import Image

console = Console()

with Image.open("path/to/image.png") as image:
    pixels = Pixels.from_image(image)

console.print(pixels)
```

Using this approach means you can modify your PIL `Image` beforehard.

#### ASCII Art

You can quickly build shapes using a tool like [asciiflow](https://asciiflow.com), and
apply styles the ASCII characters. This provides a quick way of sketching out shapes.

```python
from ripix import Pixels
from rich.console import Console

console = Console()

# Draw your shapes using any character you want
grid = """\
     xx   xx
     ox   ox
     Ox   Ox
xx             xx
xxxxxxxxxxxxxxxxx
"""

# Map characters to different characters/styles
mapping = {
    "x": Segment(" ", Style.parse("yellow on yellow")),
    "o": Segment(" ", Style.parse("on white")),
    "O": Segment(" ", Style.parse("on blue")),
}

pixels = Pixels.from_ascii(grid, mapping)
console.print(pixels)
```

### Using with Textual

`Pixels` can be integrated into [Textual](https://github.com/Textualize/textual)
applications just like any other Rich renderable.
cmeel-glslang 13.1.1
cmeel distribution for glslang
Requires Python: >= 3.8

# CMeel glslang

[![PyPI version](https://badge.fury.io/py/cmeel-glslang.svg)](https://pypi.org/project/cmeel-glslang)
[![Release](https://github.com/cmake-wheel/cmeel-glslang/actions/workflows/release.yml/badge.svg)](https://github.com/cmake-wheel/cmeel-glslang/actions/workflows/release.yml)

[glslang](https://github.com/KhronosGroup/glslang) distribution for cmeel packages.
easystockdata 0.1.10
A python module that gives stock price data and stock symbols.
Requires Python: >=3.9,<4.0

# EasyStocksData

A python module that gives stock price data and stock symbols.

## Installation

Install `easystocksdata` using `pip`:

```{.sourceCode .bash}
$ pip install easystockdata
```

## Description of functions

### get_prices :

- Input:

  `symbol` : Symbol of stock (string)

  `intv` : Interval of time (string, optional, default=1d)

  `rng` : Range of time (string, optional, default=1wk)

  `intv` and `rng` both takes values from `1m`, `2m`, `5m`, `15m`, `30m`, `60m`, `90m`, `1h`, `1d`, `5d`, `1wk`, `1mo` and `3mo`.

  `ohlc` : Specify High, Low, Open and Close prices (string, optional, default='high')

  `stock_exc` : specify stock exchange to get data from (string, optional, default='nse')

- Output:
  list: A list of lists containing the timestamp and corresponding price for each data point.

### get_nse_symbols :

- Input: None

- Output: A list of dictionaries containing the stock names and symbols of nse.

### get_nasdaq_symbols :

- Input: None

- Output: A list of dictionaries containing the stock names and symbols of nasdaq.

### find_nse_stock :

- Input:

  `search_term` : search term to search for stock symbol in nse (string)

- Output: A list of dictionaries containing the stock names and symbols of nse.

### find_nasdaq_stock :

- Input:

  `search_term` : search term to search for stock symbol in nse (string)

- Output: A list of dictionaries containing the stock names and symbols of nasdaq.