Skip to main content

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

Metadata

Release files for zf-tetris 2.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zf-tetris 2.2.0
File Size Uploaded Provenance Actions
zf_tetris-2.2.0.tar.gz 20.8 MB Without provenance Details for zf_tetris-2.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zf-tetris 2.2.0
File Interpreter ABI Platform Actions
zf_tetris-2.2.0-py3-none-any.whl Python 3 none any Details for zf_tetris-2.2.0-py3-none-any.whl

Total release size: 41.7 MB

Release files / zf_tetris-2.2.0.tar.gz

Download URL zf_tetris-2.2.0.tar.gz
Size 20.8 MB
Tags Source
SHA-256 checksum
How to use checksums
0eb5cfc806819ad481160c64ccbe06eca401b2d8c21c6f7bd04df3df9671d454
BLAKE2b-256 checksum
How to use checksums
6011ac4fdd2f6e51d7d180d10799d342a5fa953bef1e674e61d72e738f2ecc2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Release files / zf_tetris-2.2.0-py3-none-any.whl

Download URL zf_tetris-2.2.0-py3-none-any.whl
Size 20.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
fea0c65879c421d17090971d23d0b86d635cbd8a8b2bd60ef03b2a72cade25df
BLAKE2b-256 checksum
How to use checksums
eb1dd24e14ed7a42d4382878dd1c0aa532e2739a256727e6fea39328a13a1047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.11

Security for zf-tetris 2.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page