semvec/pypi-packages huggingface dataset:
sixel 0.2.0
Display images in the terminal
Requires Python: >=3.0
Keywords: image,sixel,terminal

# python-sixel

Display images in the terminal using [Sixel](https://en.wikipedia.org/wiki/Sixel).

This is a fork of the no longer maintained [PySixel](https://github.com/saitoha/PySixel).

Check [arewesixelyet.com](https://www.arewesixelyet.com/) for supported terminals.

## Installation

### PyPI release
```
pip install sixel
```

### git main branch
```
pip install git+https://github.com/lubosz/python-sixel.git
```

### Local copy
```
git clone https://github.com/lubosz/python-sixel.git
cd python-sixel
pip install -e .
```

## Example

```python
import sys
from sixel import converter

c = converter.SixelConverter("foo.png")
c.write(sys.stdout)
```

See examples directory for more examples.

## sixelconv

python-sixel provides a command line tool.

Display an image in the terminal
```
sixelconv [options] filename
```

Or by using a pipe
```
cat filename | sixelconv [options]
```

### Options

```
-h, --help                                            show this help message and exit
-8, --8bit-mode                                       Generate a sixel image for 8bit terminal or printer
-7, --7bit-mode                                       Generate a sixel image for 7bit terminal or printer
-r, --relative-position                               Treat specified position as relative one
-a, --absolute-position                               Treat specified position as absolute one
-x LEFT, --left=LEFT                                  Left position in cell size, or pixel size with unit 'px'
-y TOP, --top=TOP                                     Top position in cell size, or pixel size with unit 'px'
-w WIDTH, --width=WIDTH                               Width in cell size, or pixel size with unit 'px'
-e HEIGHT, --height=HEIGHT                            Height in cell size, or pixel size with unit 'px'
-t ALPHATHRESHOLD, --alpha-threshold=ALPHATHRESHOLD   Alpha threshold for PNG-to-SIXEL image conversion
-c, --chromakey                                       Enable auto chroma key processing
-n NCOLOR, --ncolor=NCOLOR                            Specify number of colors
-b, --body-only                                       Output sixel without header and DCS envelope
-f, --fast                                            The speed priority mode (default)
-s, --size                                            The size priority mode
```

### Examples

View an image file
```
sixelconv test.png
```

Generate sixel file from an image file
```
sixelconv < test.png > test.six
```

View generated sixel file
```
cat test.six
```
cookies-utilities 0.0.4
Utility functions.
Requires Python: >=3.8

# Cookie's Utilities

Utility functions and classes.

<!-- - [TestPyPI](https://test.pypi.org/project/cookies-utilities/) -->
<!-- - [PyPI](https://pypi.org/project/cookies-utilities/) -->
- [Documentation (released)](https://cookies-utilities.readthedocs.io/en/stable/)
- [Documentation (main branch HEAD)](https://cookies-utilities.readthedocs.io/en/latest/)

---

## Installation (for Users)

You can install the release version from PyPI.

```
pip install cookies_utilities
```

If you want to use the latest version that has not been released, clone this repository and install from the local directory.

```
git clone https://github.com/CookieBox26/cookies_utilities.git
cd cookies_utilities
pip install .
```

## Development Guide (for Developers)

Please execute the following at the root of the repository.

### Test locally

Please run the following commands.

```
git clone https://github.com/CookieBox26/cookies_utilities.git
cd cookies_utilities
# make some changes to the code
pip install -e .  # install the package in editable mode
python -m unittest discover tests -v  # test
```
If an error occurs, you can fix the code and rerun the tests without having to reinstall the package.

### Update documentation

If you add a new function or class, please update the documentation accordingly.

```
cd docs
vi source/cookies_utilities.rst  # add a new function or class
./make.bat html  # or 'make html' (not on Windows)
# Please open 'docs/build/html/index.html' in your browser and check the content.
cd ..
```

If you are not an administrator, please open a pull request at this point.

### Build and upload the distribution archives (for administrator only)

Please run the following commands. More details are [here](https://packaging.python.org/en/latest/tutorials/packaging-projects/#generating-distribution-archives).

```
pip install --upgrade build  # upgrade 'build'
python -m build
```

The following files will be generated.

```
./dist/cookies_utilities-0.0.1.tar.gz
./dist/cookies_utilities-0.0.1-py3-none-any.whl
```

Then please run the following commands. More details are [here](https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives).

```
pip install --upgrade twine
python -m twine upload --repository testpypi dist/*  # TestPyPI
python -m twine upload dist/*  # PyPI
```
pgparagraph 1.0
Pygame paragraph renderer with modifiers and rich text parsing
Requires Python: >=3.11

# pgparagraph 1.0

Pygame easy to use paragraph renderer with modifiers and rich text parsing

## Installation & Usage

Install the module from PyPI like so:
```
pip install pgparagraph
```

Check tests/test.py for usage information

## Contents

![Contents Image](contents.png)
girg-sampling 0.3.0
Efficient sampling of Geometric Inhomogeneous Random Graphs (GIRG). Wrapper for C++ libraries libgirg and libhypergirg.
Requires Python: >=3.8,<4

# GIRG sampling

A Python wrapper for the [GIRGs sampling library](https://github.com/chistopher/girgs) (C++).
Contains a direct wraper of the C++ library and NetworkX Graph generators (optional).
Efficiently generates Geometric Inhomogeneous Random Graphs (GIRGs) and Hyperbolic Random Graphs (HRGs).

See the paper [Efficiently Generating Geometric Inhomogeneous and Hyperbolic Random Graphs](https://arxiv.org/abs/1905.06706)
for details of the algorithm.

## Install

Install from PyPI as `girg-sampling` via `pip`, `poetry` etc.
To build the package locally, install Poetry package manager and run `poetry build`, optionally with `poetry install`.

To use `generateNetworkX` functions, you need to have the `networkx` package (not a default dependency of `girg-sampling`)

## Usage

```python
import girg_sampling

g = girg_sampling.girgs.generateNetworkX(n=135, ple=1.5, dim=4, deg=4.2, alpha=100, seed=41)
h = girg_sampling.hypergirgs.generateNetworkX(n=1001, alpha=0.75, T=0.7, deg=2.2, seed=None)
```

See [tests](https://github.com/gavento/girg-sampling/blob/master/tests/test_basic.py) for sample usage of the raw C++ wrappers.

## Changelog

* 0.1.0: A direct wrapper of the C++ graph generator functions.
* 0.2.0: Minor fixes, unify `seed` param, add e2e tests, build wheels for python up to 3.10
* 0.2.1: Update urllib3 dev-dependency for twine under Python 3.10
* 0.3.0: Add NetworkX wrapper, update python version, add docs.