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.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

copypasta_search-1.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: copypasta-search-1.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.5

File hashes

Hashes for copypasta-search-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8dbf647aa64e901f5125976f9d2507b7048d87c7c05b72930a011c2c841291dd
MD5 6e3c692a9fd613f2859d3056e194a14a
BLAKE2b-256 243f902a21e6e3e14da84171d105f3caf3271f3056e9e6a5b36d866e588e9f36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: copypasta_search-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.5

File hashes

Hashes for copypasta_search-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cde05ca676f2fb37f23e464282976874bc401fb76aa0d3e6e0cab630c846793
MD5 9aa46ec08b28b1fa09e6abb83814dc28
BLAKE2b-256 e7452371253e3bf029a6f0f3c74e343b7e82e7efeb6fd7118d218b3dfaeb405d

See more details on using hashes here.

Supported by

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