Skip to main content

Know Your Meme scraper, a rewrite of memedict.

Project description

culturgen

culturgen is a Know Your Meme scraper.

It's originally based on an older scraper package called memedict (GitHub, PyPI).

Install

pip install culturgen

Usage

Use search() to get a quick meme definition based on keywords:

>>> import culturgen
>>> culturgen.search('all your base')
All Your Base Are Belong To Us. "All Your Base Are Belong to Us" is a popular
engrish catchphrase that grew popular across the internet as early as in 1998.
An awkward translation of "all of your bases are now under our control", the
quote originally appeared in the opening dialogue of Zero Wing, a 16-bit
shoot'em up game released in 1989. Marked by poor grammar, the "All Your Base"
phrase and the dialogue scene went viral on popular discussion forums in 2000,
spawning thousands of image macros and flash animations featuring the slogan
both on the web and in real life.

Changelog

0.1.2

  • Fixed incorrect return value format of search_meme() URL field

0.1.1

  • Made similarity threshold check case-insensitive

0.1.0

  • Updated to fix apparent changes from KYM that broke the old library
  • Modernized package metadata
  • Made a few miscellaneous tweaks

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

culturgen-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

culturgen-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file culturgen-0.1.2.tar.gz.

File metadata

  • Download URL: culturgen-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for culturgen-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d296f3fb218cc707fe3c26a2857f3f479bbf528dee1cb6016b9247e5e8b1b702
MD5 9fbc9e03b64944081f3aa83c19096444
BLAKE2b-256 9dbfa4ca342bf7f0024c5aaa48f21ed7c1bd2d73c66402c13fdd024eed6db053

See more details on using hashes here.

Provenance

The following attestation bundles were made for culturgen-0.1.2.tar.gz:

Publisher: pypi.yml on dgw/culturgen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file culturgen-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: culturgen-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for culturgen-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8e997a89657c8b566ff7c10338721addd5d5cc466605f928f61972f047816fda
MD5 9b1c4792330adc14f9ace37b181bb6be
BLAKE2b-256 9fc43b8d8b4be0a62ae1e0a2823c7ba51f6861834646f19c2f8258590e9a447e

See more details on using hashes here.

Provenance

The following attestation bundles were made for culturgen-0.1.2-py3-none-any.whl:

Publisher: pypi.yml on dgw/culturgen

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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