Redditharbor

Latest version: v0.2.5

Safety actively analyzes 687918 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.2.4

What's Changed
* Avoid platform-specific path by anyhannah in https://github.com/socius-org/RedditHarbor/pull/18

**Full Changelog**: https://github.com/socius-org/RedditHarbor/compare/0.2.3...0.2.4

0.2.3

**Full Changelog**: https://github.com/socius-org/RedditHarbor/compare/0.2.2...0.2.3

* `update()` module has been added to `redditharbor.dock.pipeline`. The module streamlines and automates the process of updating `upvote_ratio`, `score`, and `num_comments` metrics for existing submissions (comments and users will be added in the future release)

0.2.2

**Full Changelog**: https://github.com/socius-org/RedditHarbor/compare/0.2.1...0.2.2

* Updated `download.py` and `pipeline.py` to remove the use of `os.path.abs_path`, enabling users to download files within the working folder instead of automatically to the desktop.

0.2.1

Solved Issue 8 (Full Changelog): https://github.com/socius-org/RedditHarbor/compare/0.2...0.2.1

* Now able to collect and store comments from specified submission id(s).
* Now able to fetch submission ids from the Supabase table. Designed for `collect.comment_from_submission`.

0.2

Collect
python
from redditharbor.dock.pipeline import collect
collect = collect(reddit_client, supabase_client, db_config)

From Subreddit
* `subreddit_submission`: Collects and stores submissions and associated users in specified subreddits.
* `subreddit_comment`: Collects and stores comments and associated users in specified subreddits.
* `subreddit_submission_and_comment`: Collects and stores submissions, comments and associated users in specified subreddits.
From User
* `submission_from_user`: Collects and stores submissions from specified user(s).
* `comment_from_user`: Collects and stores comments from specified user(s).
Keyword Search
* `submission_by_keyword`: Collects and stores submissions with specified keywords from given subreddits.

Download
python
from redditharbor.utils import download

* `submission.to_{filetype}`: Save submission data to .CSV, .JSON, .TXT, .Pickle, .JPEG and .PNG files.
* `comment.to_{filetype}`: Save comment data to .CSV, .JSON, .TXT, and .Pickle files.
* `user.to_{filetype}`: Save user data to .CSV, .JSON, .TXT, and .Pickle files.

Fetch
python
from redditharbor.utils import fetch

* `user.name`: Fetch user names from the Supabase table. Designed mainly for `collect.submission_from_user` and `collect.comment_from_user`.

0.1.6.3

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.