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

Uploaded Python 3

File details

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

File metadata

  • Download URL: zf_tetris-1.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 5ec057574aaf13cce3f9edc4cb0d4d9d8c3dfdd2658953fde0936a1d0fdf315b
MD5 1167096b8c88a98bdf1be48599db5941
BLAKE2b-256 13cbdf0221ca737e0bcbbeb6b7e6a4ea7c33d3f7315e4f82a351f0d5983e0ab5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: zf_tetris-1.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb630b21e0d316683ca1e85598506c83f0d84edc02c15f99ba6b06fa3ff8fca0
MD5 7f1bf33504ae29cacd6c586f8be696f8
BLAKE2b-256 0fd456b97bb225841439bfbd7588fa1cb98b8b947cf2783a541e5365f9f6545d

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