semvec/pypi-packages huggingface dataset:
pyperclip-cli 0.1.2
Pyperclip CLI - cross-platform clipboard utility
License: MIT
Requires Python: >=3.10,<4.0
Keywords: clipboard,clipboard-cli,cli,pyperclip

# git pp

Pyperclip CLI - cross-platform clipboard utility

- [git pp](#git-pp)
  - [Features](#features)
  - [Installation](#installation)
    - [pipx](#pipx)
    - [pip](#pip)
  - [Usage](#usage)
  - [Develop](#develop)

## Features

- Copy and paste from stdin / stdout or files
- Cross-platform

## Installation

Currently only handles plaintext.

On Windows, no additional modules are needed.

On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.

On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.)

Otherwise on Linux, you will need the gtk or PyQt4 modules installed.

### pipx

This is the recommended installation method.

```
$ pipx install pyperclip-cli
```

### [pip](https://pypi.org/project/pyperclip-cli/)
```
$ pip install pyperclip-cli
```


## Usage

```
$ pyperclip --help

usage: pyperclip [-h] [-f FILE] [-o OUT] [ACTION]

Pyperclip CLI

positional arguments:
  ACTION                copy or paste (default: copy)

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Copy the content of the file (default: <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>)
  -o OUT, --out OUT     Paste to file (default: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)
```

## Develop
```
$ git clone https://github.com/tddschn/pyperclip-cli.git
$ cd pyperclip-cli
$ poetry install
```
pysimhash 1.1.1
a simhash module in cpp for python
License: MIT

# simhash
![https://pypi.python.org/pypi/pysimhash](https://img.shields.io/pypi/v/pysimhash.svg)
![https://pypi.python.org/pypi/pysimhash](https://img.shields.io/pypi/pyversions/pysimhash.svg)
![https://github.com/skiloop/simhash/actions?query=workflow%3ACodeQL](https://github.com/skiloop/simhash/workflows/CodeQL/badge.svg)

simhash cpp module for python, a cpp implement of [simhash](https://github.com/leonsim/simhash), support for large
dimesion such as 128bit

# install

```shell
pip install pysimhash
```

or install from github.com

```shell
git clone https://github.com/skiloop/simhash
cd simhash
python setup.py install
```

# requirements

- boost-python


# how to use

example: 
```python
import pysimhash
import hashlib
document = "google.com hybridtheory.com youtube.com reddit.com"
tokens = [hashlib.md5(s.encode('utf-8')).hexdigest() for s in document.split(" ")]
s2 = pysimhash.SimHash(128, 16) # f=128, hash_bit=16
s2.build(tokens, base=16)
print(s2.hex())
```

# benchmark

With 10000 creating and 100,000 comparing(using [benchmark.py](./benchmark.py)) on the same linux, results
go as follow

| implement   | build time | comparison time |
|-------------|------------|-----------------|
| pure python | 1.73s      | 222.99s         |
| pysimhash   | 0.14s      | 49.89s          |