Metadata-Version: 2.1
Name: copypasta-search
Version: 1.1
Summary: Python Copypasta Search using Reddit
Home-page: https://github.com/lolei/copypasta-search
Author: Lorenz Leitner
Author-email: lrnz.ltnr@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: praw
Requires-Dist: pyperclip

# copypasta-search

Search and retrieve copypasta on Reddit with Python

## Installation
```
pip install copypasta-search
```

## Usage
### Command line
```
$ copypasta-search interject --help
usage: copypasta-search [-h] [--hide] [-c] [--version] query

positional arguments:
  query       search term

optional arguments:
  -h, --help  show this help message and exit
  --hide      do not print output to stdout
  -c, --copy  copy pasta to clipboard
  --version   show program's version number and exit
```

### Python module
```python
import copypasta_search as cps

# To store the pasta:
pasta = cps.get_copypasta('interject')
# pasta == 'I'd just like to interject for a moment…'

# Or for direct output to stdout:
cps.get_copypasta('interject', print_pasta=True)
```


