semvec/pypi-packages huggingface dataset:
altbuf 1.0.2
Tiny package to enter and exit the alternate buffer using ANSI escape sequences.
Requires Python: >=2.0

Alternate Buffer
================

![Demonstration](demo.gif)

Tiny package to enter and exit the alterante buffer using ANSI escape sequences.
There is no need to use ncurses or other legacy packages to do one simple thing,
which is to open a separate terminal buffer (window) temporarily, and return the
terminal to its previous state afterwards.

Tested and working in PowerShell and Gnome-Terminal.
openbt-py 0.0.4
A package to replicate ROpenBT in Python - allows the user to perform BART (Bayesian Additive Regression Trees) predictions on datasets.
Requires Python: >=3.0

# Openbt_py

This package was designed to replicate (almost) all the behavior of the OpenBT project (https://bitbucket.org/mpratola/openbt/wiki/Home). 

OpenBT is a flexible and extensible C++ framework for implementing Bayesian regression tree models. Currently a number of models and inference tools are available for use in the released code with additional models/tools under development. The code makes use of MPI for parallel computing. Currently an R interface is provided via the ROpenbt package to demonstrate use of the software, and this package provides Python functionality.

How to utilize this package:
1. Install the package by typing: python3 -m pip install openbt_py==[version number you want].
2. In scripts, to import the functions in the package, type: from openbt_py import openbt.
3. To utilize the OPENBT class/functions in Python 3 to conduct and interpret fits: create a fit object such as m = openbt.OPENBT() (instance of the class).
4. I attempted to upload example scripts, showing the usage of the OPENBT class on data, to this package. However, if these are difficult to access, you can also simply view them at the github "Homepage": https://github.com/cavan33/openbt_py .

Package Home: https://pypi.org/project/openbt-py/ .

Note: Unfortunately, there's a slight discrepancy in this package's "real" name: try changing openbt_py to openbt-py or vice-versa to solve some tricky setup problems.

Note: The old way to use the class was to type from openbt import OPENBT, but that assumed that you had the openbt.py class-creation file in your working directory.
polyfoto 0.3.0
Create image mosaics.

# Polyfoto

Create image mosaics.

## Showcase

*"Before and After Science" by Brian Eno*|*"Scott 3" by Scott Walker*
-|-
<img src="docs/bna_science_mosaic.jpg" width="100%" height="auto">|<img src="docs/scott3_mosaic.jpg" width="100%" height="auto">

## Installation

Clone this repository to your local machine with git, then install with
Python.

```bash
git clone https://github.com/shanedrabing/polyfoto.git
cd polyfoto
python setup.py install
```

## Getting Started

Run the program with Python.

```bash
python polyfoto.py -f input.png -d sources -o output.png -n 16
```

### Required arguments

- `-f` : Input file name. This is the target to recreate.
- `-d` : Input folder name. Contains images used to recreate the target.
- `-o` : Output file name. Name of the rendered canvas.
- `-n` : Number of rows. How many rows of images should be used in recreation?

### Optional arguments

- `-p` : Proportional center of construction. 0 being the top of the canvas, 1
  being the bottom.
- `-c` : Proportional chance to consume image. 0 means no image is consumed, 1 each image always consumed
- `-s` : Rescaling factor. Normally 4x target size.
- `-t` : Pixel height of thumbnails. Used for the math operations, 16px height
  by default.
- `-x` : Output folder name for thumbnails. "tmp" by default.

## License

[MIT](https://choosealicense.com/licenses/mit/)