semvec/pypi-packages huggingface dataset:
pyronic 0.1.1
Suppress command output on success
License: MIT
Requires Python: >=3.4.0

pyronic
=======
Run a program and silence its output, unless it fails.

# Usage
```
usage: pyronic [-h] [-V] [-v] [-s] ...

positional arguments:
  command

optional arguments:
  -h, --help      show this help message and exit
  -V, --version   show program's version number and exit
  -v, --verbose   Include additional output on failure
  -s, --separate  Separate stdout/stderr rather than combining
```

# Background
pyronic is a replacement for [chronic](https://joeyh.name/code/moreutils/).

One key difference is that pyronic, in its default mode, will preserve the
relative order of the lines written by program to stdout and stderr. Some
programs aren't consistent in printing to stdout or stderr, and this order can
make errors much eaiser to comprehend.

```
$ chronic ./test/interleave
1 stdout
2 stdout
4 stdout
7 stdout
9 stdout
3 stderr
5 stderr
6 stderr
8 stderr

$ pyronic ./test/interleave
1 stdout
2 stdout
3 stderr
4 stdout
5 stderr
6 stderr
7 stdout
8 stderr
9 stdout
```
has-flag 0.1.1
Check if argv has a specific flag
License: MIT
Requires Python: >=3.6,<4.0

# has-flag

Check if argv has a specific flag.

This is a port of the Node.js package [`has-flag`](https://github.com/sindresorhus/has-flag) to Python.

## Install

```
python3 -m pip install -U has-flag
```

(That strange-looking setup command is because I've found it to be the most reliable. The `pip` command often aliases to python 2, and `pip3` often installs to the wrong Python package directory.)

## Usage

```py
from has_flag import has_flag

has_flag('unicorn');
#>>> True

has_flag('--unicorn');
#>>> True

has_flag('f');
#>>> True

has_flag('-f');
#>>> True

has_flag('foo=bar');
#>>> True

has_flag('foo');
#>>> False

has_flag('rainbow');
#>>> False
```

```
$ python3 foo.py -f --unicorn --foo=bar -- --rainbow
```


## License

MIT

## Contact

A library by [Shawn Presser](https://www.shawwn.com). If you found it useful, please consider [joining my patreon](https://www.patreon.com/shawwn)!

My Twitter DMs are always open; you should [send me one](https://twitter.com/theshawwn)! It's the best way to reach me, and I'm always happy to hear from you.

- Twitter: [@theshawwn](https://twitter.com/theshawwn)
- Patreon: [https://www.patreon.com/shawwn](https://www.patreon.com/shawwn)
- HN: [sillysaurusx](https://news.ycombinator.com/threads?id=sillysaurusx)
- Website: [shawwn.com](https://www.shawwn.com)
pyrainboweffect 0.1.0
apply the animated rainbow effect to images
License: MIT

# pyrainboweffect
[中文指南](https://github.com/m-yuhas/pyrainboweffect/blob/main/doc/读我档案.md)

[Documentación en español](https://github.com/m-yuhas/pyrainboweffect/blob/main/doc/LÉAME.md)

[Documentation en français](https://github.com/m-yuhas/pyrainboweffect/blob/main/doc/LISEZ-MOI.md)

## Introduction
Take an image like this:

![Loading...](https://github.com/m-yuhas/pyrainboweffect/blob/main/images/demo0_in.png)

And transform it to this:

![Loading...](https://github.com/m-yuhas/pyrainboweffect/blob/main/images/demo0_out.gif)

## Quick Start
* Install the package:

```
pip install pyrainboweffect
```

### Python API
In a Python console, import the package:

```python
>>> import pyrainboweffect
```

Apply the effect to an image file and save the result as a gif:

```python
>>> pyrainboweffect.psychedelic_gif('input.png', 'output.gif')
```

Apply the effect to an image file and save the result as an mp4:

```python
>>> pyrainboweffect.psychedelic_mp4('input.png', 'output.gif')
```

### CLI
To use the CLI:

```bash
$ python -m pyrainboweffect input.png output.gif
```

## API Documentation
For the complete API documentation, [click here](https://github.com/m-yuhas/pyrainboweffect/blob/main/doc/api_documentation.md).

## Theory of Operation
This effect can be generated as follows:
1. Convert the image to greyscale.
2. Partition the intensity space into the same number of partitions as colors
  in the color scheme.
3. Set the intensity regions to their corresponding colors
4. Increase the intensity of all pixels in the original image (restarting at 0
  intensity if overflow occurs).
5. Go to step 2 and repeat until there are enough sequential frames to make an
  animation.

## Dependencies
Only Python version 3.6 and greater are supported.  This package should run on
any POSIX system as well as Windows 7 and greater.

The following Pypi packages are required:
* moviepy
* numpy
* opencv-python

## Contributing
Suggestions and pull requests are welcome.  If you find a bug and don't have
time to fix it yourself, feel free to open an issue.

## Future Tasks
- TODO: Apply the psychedelic effect to an animated image or video.
twfb-wormhole 1.0
Securely transfer data between computers
License: MIT

# Magic Wormhole
[![PyPI](http://img.shields.io/pypi/v/magic-wormhole.svg)](https://pypi.python.org/pypi/magic-wormhole)
![Tests](https://github.com/magic-wormhole/magic-wormhole/workflows/Tests/badge.svg)
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/w1bdniovwm4egfyg/branch/master?svg=true)](https://ci.appveyor.com/project/warner/magic-wormhole)
[![codecov.io](https://codecov.io/github/magic-wormhole/magic-wormhole/coverage.svg?branch=master)](https://codecov.io/github/magic-wormhole/magic-wormhole?branch=master)
[![Docs](https://readthedocs.org/projects/magic-wormhole/badge/?version=latest)](https://magic-wormhole.readthedocs.io)

Get things from one computer to another, safely.

This package provides a library and a command-line tool named `wormhole`,
which makes it possible to get arbitrary-sized files and directories
(or short pieces of text) from one computer to another. The two endpoints are
identified by using identical "wormhole codes": in general, the sending
machine generates and displays the code, which must then be typed into the
receiving machine.

The codes are short and human-pronounceable, using a phonetically-distinct
wordlist. The receiving side offers tab-completion on the codewords, so
usually only a few characters must be typed. Wormhole codes are single-use
and do not need to be memorized.

* PyCon 2016 presentation: [Slides](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf), [Video](https://youtu.be/oFrTqQw0_3c)

For complete documentation, please see https://magic-wormhole.readthedocs.io
or the docs/ subdirectory.

This program uses two servers, whose source code is kept in separate
repositories: the
[mailbox server](https://github.com/magic-wormhole/magic-wormhole-mailbox-server),
and the
[transit relay](https://github.com/magic-wormhole/magic-wormhole-transit-relay).

## License, Compatibility

Magic-Wormhole is released under the MIT license, see the `LICENSE` file for details.

This library is compatible with Python 3.6 and higher (tested against 3.6,
3.7, 3.8, and 3.9). It also still works with Python 2.7 and 3.5, although
these are no longer supported by upstream libraries like Cryptography, so it
may stop working at any time.

## Packaging, Installation

Magic Wormhole packages are included in many operating systems.

[![Packaging status](https://repology.org/badge/vertical-allrepos/magic-wormhole.svg)](https://repology.org/project/magic-wormhole/versions)

To install it without an OS package, follow the [Installation docs](https://magic-wormhole.readthedocs.io/en/latest/welcome.html#installation).