Skip to main content

tetris is a tool for identifying social media trends

Project description

Tetris

Tetris

Tetris is a tool for identifying latest trends from news and social media to assist in marketing.

Installation

git clone https://github.com/muqsitnawaz/tetris.git
cd tetris
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Usage

You can download memes from Reddit using the reddit command. The tool supports both local downloads and uploads to MinIO storage.

Basic Usage

python -m tetris reddit --subreddits memes dankmemes

Advanced Options

  • --subreddits: Specify one or more subreddits (default: memes, dankmemes)
  • --limit: Number of top posts to fetch (default: 10)
  • --span: Time span for top posts (default: day)
  • --download: Local directory to save memes (default: output/memes)
  • --upload: MinIO bucket name for uploading (default: memes)

Examples

Download memes to a custom directory:

python -m tetris reddit --subreddits memes dankmemes --limit 20 --download custom/path/memes

Upload memes to a specific MinIO bucket:

python -m tetris reddit --subreddits memes dankmemes --limit 20 --upload custom-bucket

Both download and upload:

python -m tetris reddit --subreddits memes dankmemes --limit 20 --download local/memes --upload memes-bucket

License

All rights reserved (c) 2024 Zeff Muks

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

zf_tetris-1.2.0.tar.gz (20.8 MB view details)

Uploaded Source

Built Distribution

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

zf_tetris-1.2.0-py3-none-any.whl (20.8 MB view details)

Uploaded Python 3

File details

Details for the file zf_tetris-1.2.0.tar.gz.

File metadata

  • Download URL: zf_tetris-1.2.0.tar.gz
  • Upload date:
  • Size: 20.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.11

File hashes

Hashes for zf_tetris-1.2.0.tar.gz
Algorithm Hash digest
SHA256 1502a1fdbed3ff3344cbc453b4fab5793e7e2c938617183af207f8569eac3b40
MD5 9265770fc8689f672deb706e70df9d17
BLAKE2b-256 f6f995345f2e04ac94bfc5c05f5fd880efb6ba924a4df6cdf3c2770f6e4c6709

See more details on using hashes here.

File details

Details for the file zf_tetris-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: zf_tetris-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.11

File hashes

Hashes for zf_tetris-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee7d2156adedf5f660b2f02c6c450fd30218b7134f54b906bcdd48ef07ac8e57
MD5 72892885c90d856ef4e896e82601ebb2
BLAKE2b-256 e7ba6227178a51a115d181657c2b6719c78501e8ac647c94f2685e0ab51b5bd8

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