knewkarma


Nameknewkarma JSON
Version 7.1.4 PyPI version JSON
download
home_pageNone
SummaryA Reddit data analysis toolkit
upload_time2024-10-27 23:36:57
maintainerNone
docs_urlNone
authorRichard Mwewa
requires_python<4.0,>=3.10
licenseGPL-3.0+
keywords reddit data-analysis
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center"><strong>Knew Karma</strong> (/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 <strong>Command-Line Interface</strong> (<strong>CLI</strong>), and an <strong>Application Programming Interface</strong> (<strong>API</strong>) to enable easy integration in other Python projects and/or scripts.</p>

<p align="center">
  <a href="https://github.com/knewkarma-io/knewkarma"><img alt="Code Style" src="https://img.shields.io/badge/code%20style-black-000000?logo=github&link=https%3A%2F%2Fgithub.com%2Frly0nheart%2Fknewkarma"></a>
  <a href="https://pepy.tech/project/knewkarma"><img alt="Downloads" src="https://img.shields.io/pepy/dt/knewkarma?logo=pypi"></a>
  <a href="https://pypi.org/project/knewkarma"><img alt="PyPI - Version" src="https://img.shields.io/pypi/v/knewkarma?logo=pypi&link=https%3A%2F%2Fpypi.org%2Fproject%2Fknewkarma"></a>
  <a href="https://snapcraft.io/knewkarma"><img alt="Snap Version" src="https://img.shields.io/snapcraft/v/knewkarma/latest/stable?logo=snapcraft&color=%23BB431A"></a>
  <!--<a href="https://opencollective.com/knewkarma"><img alt="Open Collective backers and sponsors" src="https://img.shields.io/opencollective/all/knewkarma?logo=open-collective"></a>-->
</p>

```commandline
knewkarma subreddit AskScience --posts
```

```python
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](https://knewkarma.readthedocs.io) 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](https://opencollective.com/knewkarma) 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](https://opencollective.com/knewkarma)

## Star History

<a href="https://star-history.com/#knewkarma-io/knewkarma&Date">
   <picture>
      <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=knewkarma-io/knewkarma&type=Date&theme=dark" />
      <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=knewkarma-io/knewkarma&type=Date" />
      <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=knewkarma-io/knewkarma&type=Date" />
   </picture>
</a>

## License

GPL-3.0+ License © [Richard Mwewa](https://gravatar.com/rly0nheart)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "knewkarma",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.10",
    "maintainer_email": null,
    "keywords": "reddit, data-analysis",
    "author": "Richard Mwewa",
    "author_email": "rly0nheart@duck.com",
    "download_url": "https://files.pythonhosted.org/packages/9e/d5/d98dbf4c0bf97595ae7523b5d899c2300c31d9b47dcea44b2166ba61eca1/knewkarma-7.1.4.tar.gz",
    "platform": null,
    "description": "<p align=\"center\"><strong>Knew Karma</strong> (/nu\u02d0 \u2018k\u0251\u02d0rm\u0259/) is a Reddit data analysis toolkit designed to provide an extensive range of functionalities for exploring and analysing Reddit data. It includes a <strong>Command-Line Interface</strong> (<strong>CLI</strong>), and an <strong>Application Programming Interface</strong> (<strong>API</strong>) to enable easy integration in other Python projects and/or scripts.</p>\n\n<p align=\"center\">\n  <a href=\"https://github.com/knewkarma-io/knewkarma\"><img alt=\"Code Style\" src=\"https://img.shields.io/badge/code%20style-black-000000?logo=github&link=https%3A%2F%2Fgithub.com%2Frly0nheart%2Fknewkarma\"></a>\n  <a href=\"https://pepy.tech/project/knewkarma\"><img alt=\"Downloads\" src=\"https://img.shields.io/pepy/dt/knewkarma?logo=pypi\"></a>\n  <a href=\"https://pypi.org/project/knewkarma\"><img alt=\"PyPI - Version\" src=\"https://img.shields.io/pypi/v/knewkarma?logo=pypi&link=https%3A%2F%2Fpypi.org%2Fproject%2Fknewkarma\"></a>\n  <a href=\"https://snapcraft.io/knewkarma\"><img alt=\"Snap Version\" src=\"https://img.shields.io/snapcraft/v/knewkarma/latest/stable?logo=snapcraft&color=%23BB431A\"></a>\n  <!--<a href=\"https://opencollective.com/knewkarma\"><img alt=\"Open Collective backers and sponsors\" src=\"https://img.shields.io/opencollective/all/knewkarma?logo=open-collective\"></a>-->\n</p>\n\n```commandline\nknewkarma subreddit AskScience --posts\n```\n\n```python\nimport asyncio\n\nimport aiohttp\nimport knewkarma\n\n\nasync def subreddit_posts(subreddit_name, posts_limit):\n    subreddit = knewkarma.Subreddit(subreddit_name)\n\n    async with aiohttp.ClientSession() as session:\n        posts = await subreddit.posts(session=session, limit=posts_limit)\n\n        for post in posts:\n            print(post.data.title)\n\n\nasyncio.run(subreddit_posts(subreddit_name=\"AskScience\", posts_limit=200))\n```\n\n## Documentation\n\nRefer to the [documentation](https://knewkarma.readthedocs.io) for *Feature Overview*, *Installation*, *API\nIntegration*, and *Usage* instructions.\n\n## Sponsorship\n\nIf you find Knew Karma useful and would like to support its development, you can sponsor the project through **Open\nCollective**.\n\nYour sponsorship will help cover the **costs of ongoing maintenance**, **new feature development**, and **overall\nproject sustainability**.\n\n### How to Sponsor\n\nYou can sponsor the project by visiting Knew Karma's [Open Collective page](https://opencollective.com/knewkarma) and\nchoosing a sponsorship tier that fits your budget.\n\nWhether you're a company that relies on Knew Karma for data analysis or an individual who appreciates open-source\nprojects and/or the work put into this project in particular, any sponsorship tier is greatly appreciated.\n\n[Become a Sponsor](https://opencollective.com/knewkarma)\n\n## Star History\n\n<a href=\"https://star-history.com/#knewkarma-io/knewkarma&Date\">\n   <picture>\n      <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=knewkarma-io/knewkarma&type=Date&theme=dark\" />\n      <source media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=knewkarma-io/knewkarma&type=Date\" />\n      <img alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=knewkarma-io/knewkarma&type=Date\" />\n   </picture>\n</a>\n\n## License\n\nGPL-3.0+ License \u00a9 [Richard Mwewa](https://gravatar.com/rly0nheart)\n\n",
    "bugtrack_url": null,
    "license": "GPL-3.0+",
    "summary": "A Reddit data analysis toolkit",
    "version": "7.1.4",
    "project_urls": {
        "homepage": "https://knewkarma.readthedocs.io",
        "issues": "https://github.com/knewkarma-io/knewkarma/issues",
        "repository": "https://github.com/knewkarma-io/knewkarma",
        "sponsor": "https://opencollective.com/knewkarma"
    },
    "split_keywords": [
        "reddit",
        " data-analysis"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b91a6a012c0393c1924515efdeb9d19c9cc8eb1478aa93a554d9b48fe4c801c",
                "md5": "9a3f8778a8fbcd80cebfad453bbb3b52",
                "sha256": "3f7aa6dcf4022ee109fd5832970d4d2f275bb9ff6ea157d8feab3a4b230a8b12"
            },
            "downloads": -1,
            "filename": "knewkarma-7.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9a3f8778a8fbcd80cebfad453bbb3b52",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.10",
            "size": 43361,
            "upload_time": "2024-10-27T23:36:56",
            "upload_time_iso_8601": "2024-10-27T23:36:56.329673Z",
            "url": "https://files.pythonhosted.org/packages/9b/91/a6a012c0393c1924515efdeb9d19c9cc8eb1478aa93a554d9b48fe4c801c/knewkarma-7.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9ed5d98dbf4c0bf97595ae7523b5d899c2300c31d9b47dcea44b2166ba61eca1",
                "md5": "bde0e7174a644bfa4d72db4668ba1ee4",
                "sha256": "05eeed33043d68fb1ba4c2e70cd8c341877a118f52d44644c5a6cd8076e76fb1"
            },
            "downloads": -1,
            "filename": "knewkarma-7.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "bde0e7174a644bfa4d72db4668ba1ee4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.10",
            "size": 41642,
            "upload_time": "2024-10-27T23:36:57",
            "upload_time_iso_8601": "2024-10-27T23:36:57.466246Z",
            "url": "https://files.pythonhosted.org/packages/9e/d5/d98dbf4c0bf97595ae7523b5d899c2300c31d9b47dcea44b2166ba61eca1/knewkarma-7.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-27 23:36:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "knewkarma-io",
    "github_project": "knewkarma",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "knewkarma"
}
        
Elapsed time: 0.38713s