Skip to main content

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.

Files for copypasta-search, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size copypasta_search-1.3-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size copypasta-search-1.3.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page