Skip to main content

A Reddit data analysis toolkit

Project description

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), and an Application Programming Interface (API) to enable easy integration in other Python projects and/or scripts.

Code Style Downloads PyPI - Version Snap Version

knewkarma subreddit AskScience --posts
import asyncio

import aiohttp
import knewkarma


async def subreddit_posts(subreddit_name, posts_limit):
    subreddit = knewkarma.Subreddit(subreddit_name)

    async with aiohttp.ClientSession() as session:
        posts = await subreddit.posts(session=session, limit=posts_limit)

        for post in posts:
            print(post.data.title)


asyncio.run(subreddit_posts(subreddit_name="AskScience", posts_limit=200))

Documentation

Refer to the documentation for Feature Overview, Installation, API Integration, and Usage instructions.

Sponsorship

If you find Knew Karma useful and would like to support its development, you can sponsor the project through Open Collective.

Your sponsorship will help cover the costs of ongoing maintenance, new feature development, and overall project sustainability.

How to Sponsor

You can sponsor the project by visiting Knew Karma's Open Collective page and choosing a sponsorship tier that fits your budget.

Whether you're a company that relies on Knew Karma for data analysis or an individual who appreciates open-source projects and/or the work put into this project in particular, any sponsorship tier is greatly appreciated.

Become a Sponsor

Star History

Star History Chart

License

GPL-3.0+ License © Richard Mwewa

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

knewkarma-7.1.4.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

knewkarma-7.1.4-py3-none-any.whl (43.4 kB view details)

Uploaded Python 3

File details

Details for the file knewkarma-7.1.4.tar.gz.

File metadata

  • Download URL: knewkarma-7.1.4.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for knewkarma-7.1.4.tar.gz
Algorithm Hash digest
SHA256 05eeed33043d68fb1ba4c2e70cd8c341877a118f52d44644c5a6cd8076e76fb1
MD5 bde0e7174a644bfa4d72db4668ba1ee4
BLAKE2b-256 9ed5d98dbf4c0bf97595ae7523b5d899c2300c31d9b47dcea44b2166ba61eca1

See more details on using hashes here.

File details

Details for the file knewkarma-7.1.4-py3-none-any.whl.

File metadata

  • Download URL: knewkarma-7.1.4-py3-none-any.whl
  • Upload date:
  • Size: 43.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for knewkarma-7.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3f7aa6dcf4022ee109fd5832970d4d2f275bb9ff6ea157d8feab3a4b230a8b12
MD5 9a3f8778a8fbcd80cebfad453bbb3b52
BLAKE2b-256 9b91a6a012c0393c1924515efdeb9d19c9cc8eb1478aa93a554d9b48fe4c801c

See more details on using hashes here.

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