Python Copypasta Search using Reddit
Project description
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
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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
copypasta-search-1.0.1.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for copypasta_search-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1cde05ca676f2fb37f23e464282976874bc401fb76aa0d3e6e0cab630c846793 |
|
MD5 | 9aa46ec08b28b1fa09e6abb83814dc28 |
|
BLAKE2b-256 | e7452371253e3bf029a6f0f3c74e343b7e82e7efeb6fd7118d218b3dfaeb405d |