semvec/pypi-packages huggingface dataset:
colorsnip 0.1.3
"Colorize snippets and copy to rich text clipboard"
License: MIT
Keywords: code,color,copy,clipboard,highlight,powerpoint,keynote

# ColorSnip

[![PyPI version](https://badge.fury.io/py/colorsnip.svg)](https://badge.fury.io/py/colorsnip)
[![GitHub version](https://badge.fury.io/gh/ewjoachim%2Fcolorsnip.svg)](https://badge.fury.io/gh/ewjoachim%2Fcolorsnip)

Command line tool: Copies the content of the given file (or stdin) to the clipboard
with syntax coloring, so it can be pasted into a format-retaining software.

## Installation

Compatible with:
- MacOS via [richxerox](https://pypi.org/project/richxerox/)
- Linux and Windows (untested) via [klemboard](https://pypi.org/project/klembord/)

```console
$ pip install colorsnip
```

## Usage:

```console
$ colorsnip [filename|-]
```

## Use case

Pasting formatted code for a presentation in Keynote or the like.

If you want to access the `HTML`/`RTF` content directly, use `pygments` and the CLI tool
`pygmentize` that it provides.

## Caveats

- richxerox dependency seems to install half of PyPI
- Untested on Linux and Windows
- Linux and Windows get the `HTML` rich text format only, while MacOS get HTML and RTF.

## License

MIT (see top of code file)

## Code of conduct

This project follows the [contributor covenant](https://www.contributor-covenant.org/).

For any feedback, contact the author via an issue, or [twitter](https://twitter.com/ewjoachim)
or by email (first name at last name dot fr).
verarandom 2.0.1
True random numbers in Python
License: MIT

# verarandom

[![PyPI version](https://badge.fury.io/py/verarandom.svg)](https://badge.fury.io/py/verarandom)
[![Build Status](https://travis-ci.org/AliGhahraei/verarandom.svg?branch=master)
](https://travis-ci.org/AliGhahraei/verarandom)
[![codecov](https://codecov.io/gh/AliGhahraei/verarandom/branch/master/graph/badge.svg)
](https://codecov.io/gh/AliGhahraei/verarandom)

True random numbers in Python.

Full documentation: https://alighahraei.github.io/verarandom/

# Usage
This module provides random.Random subclasses, so they implement all [random functions](
https://docs.python.org/3/library/random.html) (except [Bookkeeping functions](
https://docs.python.org/3/library/random.html#bookkeeping-functions)) with true randomness. They
require an internet connection to work and will either raise a ConnectionError or a subclass of
verarandom.errors.VeraRandomError for validation failures and other related error conditions.

```python
>>> from verarandom import RandomOrg
>>> r = RandomOrg()

>>> r.quota_estimate
1000000
>>> r.randint(1, 10, n=5)
[3, 4, 10, 3, 7]
>>> r.quota_estimate  # bits were deducted from quota
999986

>>> r.randint(3, 5, n=1)
[5]
>>> r.randint(-10, 3)  # a single number (like random.randint)
-2

>>> r.random()
0.040120765652295
>>> r.choice(['rock', 'paper', 'scissors'])
'scissors'
```