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: None)
  • --limit: Number of top posts to fetch (default: 10 per subreddit)
  • --span: Time span for top posts (default: day)
  • --download: Local directory to save memes (default: None)
  • --upload: S3 bucket name for uploading (default: None)

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-2.0.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-2.0.0-py3-none-any.whl (20.8 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: zf_tetris-2.0.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-2.0.0.tar.gz
Algorithm Hash digest
SHA256 157288a2ef0617c94aefcb8ab78861173e76e3c4628700e86403993cb148550e
MD5 8a3a4fb7c93ac971699f25ea79bfc9e7
BLAKE2b-256 60d1fd093c87c4438b27e7be5b0b2b9f14447e5f544a063ce87c3cb935846fcb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zf_tetris-2.0.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-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8aa0165bfb4401b54d6147462d90b12eff43e8930f5c658249a72c05f546cafa
MD5 df6c236cf25b08e8e12c62e6bf520f4d
BLAKE2b-256 961d00d3443617358f2d67346415fecba096311eb637724479486192e9a18e87

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