Skip to main content

A Reddit Data Analysis Toolkit

Project description

Knew Karma

Read the Docs CodeQL Upload PyPI Package PyPI - Version Release Snap Package Snap version BuyMeACoffee

Knew Karma (/nuː ‘kɑːrmə/) is a Reddit Data Analysis Toolkit designed to provide an extensive range of functionalities for exploring and analysing Reddit data. It includes a Command-Line Interface (CLI) (Snap/PyPI Package), and an Application Programming Interface (API) (PyPI Package) to enable an easy integration in other Python Projects.

Feature Overview

Knew Karma provides detailed access to Reddit data across various categories. Refer to the table below for a complete overview of the features available:

Category Feature Description
User Profile Retrieves user profile information.
Posts Retrieves user posts.
Comments Retrieves user comments.
Overview Retrieves user's most recent comment activity.
Search Posts Returns a user's posts that contain the specified keyword.
Search Comments Returns a user's comments that contain the specified keyword.
Top n Subreddits Identifies top subreddits based on user activity.
Moderated Subreddits Lists subreddits moderated by the user.
Users All Retrieves all users.
New Retrieves new users.
Popular Retrieves popular users.
Subreddit Profile Retrieves subreddit profile information.
Posts Retrieves posts from a specified subreddit.
Search Posts Returns a subreddit's posts that contain the specified keyword.
Wiki Pages Lists wiki pages in a subreddit.
Wiki Page Retrieves content from specific wiki pages.
Subreddits All Retrieves all subreddits.
Default Retrieves default subreddits.
New Retrieves new subreddits.
Popular Retrieves popular subreddits.
Post Data Retrieves an individual post's data.
Comments Retrieves an individual post's comments.
Posts New Retrieves new posts.
Reddit Front-Page Retrieves front-page posts.
Listing Retrieves posts from specified Reddit listings.
Search & Discovery Users Searches for users.
Subreddits Searches for subreddits.
Posts Searches for posts.

Documentation

Refer to the Docs for the Installation, Usage and Integration guide.

Important Note on Data Fetching

Knew Karma is designed to fetch recent data from Reddit. It directly interacts with the Reddit API to access up-to-date information, including the latest posts, comments, and user activity.

If you need to access historical Reddit data, I recommend using the Pushshift API, which is specifically designed for retrieving large volumes of historical data, including posts, comments, and other Reddit activity.

Star History

Star History Chart

License

MIT License © Richard Mwewa

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

knewkarma-5.1.0.tar.gz (22.5 kB view hashes)

Uploaded Source

Built Distribution

knewkarma-5.1.0-py3-none-any.whl (24.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page