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.

Source Distribution

copypasta-search-1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

copypasta_search-1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file copypasta-search-1.3.tar.gz.

File metadata

  • Download URL: copypasta-search-1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for copypasta-search-1.3.tar.gz
Algorithm Hash digest
SHA256 2df4cac5e06ad8d55568b48ace23ca8ef986077d4b99b54e967c0ef88a7a95cc
MD5 83dfd5ba058f82c7c416a955feaf1d5d
BLAKE2b-256 13f34fc273e8b76eda2bd66de441e0daff0df8284d0668a25b28edd86cdc8517

See more details on using hashes here.

File details

Details for the file copypasta_search-1.3-py3-none-any.whl.

File metadata

  • Download URL: copypasta_search-1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

File hashes

Hashes for copypasta_search-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2c69404d2513131809ab899601a60704a65033a07e5691375f97caf22e498051
MD5 d67a0bda2da8b943ee8168975d986ca8
BLAKE2b-256 9ff840e29665d31560dbe2b7fa6a6ff7a9bc33c81c783ab42c638a36751a0d53

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page