tweeterpy


Nametweeterpy JSON
Version 2.0.14 PyPI version JSON
download
home_pagehttps://github.com/iSarabjitDhiman/TweeterPy
SummaryTweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.
upload_time2025-10-09 10:46:08
maintainerNone
docs_urlNone
authorSarabjit Dhiman
requires_python>=3
licenseMIT
keywords tweeterpy twitter scraper tweet scraper twitter data extraction twitter api twitter python tweet api tweetpy
VCS
bugtrack_url
requirements beautifulsoup4 curl-cffi demjson3 lxml pyotp XClientTransaction
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">TweeterPy</h1>

<p align="center">
<a href="https://choosealicense.com/licenses/mit/"> <img src="https://img.shields.io/badge/License-MIT-green.svg"></a>
<a href="https://www.python.org/"><img src="https://img.shields.io/pypi/pyversions/tweeterpy"></a>
<a href="https://pypi.org/project/tweeterpy/"> <img src="https://img.shields.io/pypi/v/tweeterpy"></a>
<a href="https://github.com/iSarabjitDhiman/TweeterPy/commits"> <img src="https://img.shields.io/github/last-commit/iSarabjitDhiman/TweeterPy"></a>
<a href="https://discord.gg/pHY6CU5Ke4"> <img alt="Discord" src="https://img.shields.io/discord/1149281691479851018?style=flat&logo=discord&logoColor=white"></a>
<a href="https://twitter.com/isarabjitdhiman"> <img src="https://img.shields.io/twitter/follow/iSarabjitDhiman?style=social"></a>

## Overview

TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.

> _Note_ : `Use it on Your Own Risk. Scraping with Residential proxies is advisable while extracting data at scale/in bulk. If possible, use multiple accounts to fetch data from Twitter.` **_DON'T USE YOUR PERSONAL ACCOUNT FOR SCRAPING PURPOSES._**

## Installation

Install TweeterPy with pip

```python
  pip install tweeterpy
```

## Usage/Examples

```python
python quickstart.py
```

OR

```python
from twitter import TweeterPy
# proxy = {'http': 'proxy_here', 'https': 'proxy_here'}
proxy = None
TweeterPy(proxies=proxy, log_level="INFO")
```

> ### Example - Get User ID of a User.

```python
from tweeterpy import TweeterPy

twitter = TweeterPy()

print(twitter.get_user_id('elonmusk'))

```

## Documentation

Check out step by step guide.

[Documentation](docs/docs.md)

## Features

- Extracts Tweets
- Extracts User's Followers
- Extracts User's Followings
- Extracts User's Profile Details
- Extracts Twitter Profile Media and much more.

## Authors

- [@iSarabjitDhiman](https://www.github.com/iSarabjitDhiman)

## Feedback

If you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman

## Support

For support, email hello@sarabjitdhiman.com

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iSarabjitDhiman/TweeterPy",
    "name": "tweeterpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3",
    "maintainer_email": null,
    "keywords": "tweeterpy, twitter scraper, tweet scraper, twitter data extraction, twitter api, twitter python, tweet api, tweetpy",
    "author": "Sarabjit Dhiman",
    "author_email": "hello@sarabjitdhiman.com",
    "download_url": "https://files.pythonhosted.org/packages/a0/25/7f487bb47d735c61d6768280c1887abadc83c13c2e33752f6805216d48db/tweeterpy-2.0.14.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">TweeterPy</h1>\r\n\r\n<p align=\"center\">\r\n<a href=\"https://choosealicense.com/licenses/mit/\"> <img src=\"https://img.shields.io/badge/License-MIT-green.svg\"></a>\r\n<a href=\"https://www.python.org/\"><img src=\"https://img.shields.io/pypi/pyversions/tweeterpy\"></a>\r\n<a href=\"https://pypi.org/project/tweeterpy/\"> <img src=\"https://img.shields.io/pypi/v/tweeterpy\"></a>\r\n<a href=\"https://github.com/iSarabjitDhiman/TweeterPy/commits\"> <img src=\"https://img.shields.io/github/last-commit/iSarabjitDhiman/TweeterPy\"></a>\r\n<a href=\"https://discord.gg/pHY6CU5Ke4\"> <img alt=\"Discord\" src=\"https://img.shields.io/discord/1149281691479851018?style=flat&logo=discord&logoColor=white\"></a>\r\n<a href=\"https://twitter.com/isarabjitdhiman\"> <img src=\"https://img.shields.io/twitter/follow/iSarabjitDhiman?style=social\"></a>\r\n\r\n## Overview\r\n\r\nTweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.\r\n\r\n> _Note_ : `Use it on Your Own Risk. Scraping with Residential proxies is advisable while extracting data at scale/in bulk. If possible, use multiple accounts to fetch data from Twitter.` **_DON'T USE YOUR PERSONAL ACCOUNT FOR SCRAPING PURPOSES._**\r\n\r\n## Installation\r\n\r\nInstall TweeterPy with pip\r\n\r\n```python\r\n  pip install tweeterpy\r\n```\r\n\r\n## Usage/Examples\r\n\r\n```python\r\npython quickstart.py\r\n```\r\n\r\nOR\r\n\r\n```python\r\nfrom twitter import TweeterPy\r\n# proxy = {'http': 'proxy_here', 'https': 'proxy_here'}\r\nproxy = None\r\nTweeterPy(proxies=proxy, log_level=\"INFO\")\r\n```\r\n\r\n> ### Example - Get User ID of a User.\r\n\r\n```python\r\nfrom tweeterpy import TweeterPy\r\n\r\ntwitter = TweeterPy()\r\n\r\nprint(twitter.get_user_id('elonmusk'))\r\n\r\n```\r\n\r\n## Documentation\r\n\r\nCheck out step by step guide.\r\n\r\n[Documentation](docs/docs.md)\r\n\r\n## Features\r\n\r\n- Extracts Tweets\r\n- Extracts User's Followers\r\n- Extracts User's Followings\r\n- Extracts User's Profile Details\r\n- Extracts Twitter Profile Media and much more.\r\n\r\n## Authors\r\n\r\n- [@iSarabjitDhiman](https://www.github.com/iSarabjitDhiman)\r\n\r\n## Feedback\r\n\r\nIf you have any feedback, please reach out to us at hello@sarabjitdhiman.com or contact me on Social Media @iSarabjitDhiman\r\n\r\n## Support\r\n\r\nFor support, email hello@sarabjitdhiman.com\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "TweeterPy is a python library to extract data from Twitter. TweeterPy API lets you scrape data from a user's profile like username, userid, bio, followers/followings list, profile media, tweets, etc.",
    "version": "2.0.14",
    "project_urls": {
        "Homepage": "https://github.com/iSarabjitDhiman/TweeterPy"
    },
    "split_keywords": [
        "tweeterpy",
        " twitter scraper",
        " tweet scraper",
        " twitter data extraction",
        " twitter api",
        " twitter python",
        " tweet api",
        " tweetpy"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "954be0f4950e3a83da20d5939ebef122ad7b7aafaa86273cee32fc380a6a8f65",
                "md5": "8cfd321d459a08bf9f76bc085f00ca5b",
                "sha256": "a6bcc460896abfaa345cc776915ca49d95396e9a3ec1abbb8bb78ad6a741203b"
            },
            "downloads": -1,
            "filename": "tweeterpy-2.0.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8cfd321d459a08bf9f76bc085f00ca5b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3",
            "size": 39305,
            "upload_time": "2025-10-09T10:46:07",
            "upload_time_iso_8601": "2025-10-09T10:46:07.220615Z",
            "url": "https://files.pythonhosted.org/packages/95/4b/e0f4950e3a83da20d5939ebef122ad7b7aafaa86273cee32fc380a6a8f65/tweeterpy-2.0.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a0257f487bb47d735c61d6768280c1887abadc83c13c2e33752f6805216d48db",
                "md5": "4d8de8e9174b238e4f812a34425ca29e",
                "sha256": "eed8fdafdb9a511c85463b32e7b26c88a1d2c7a9d24155eb7d03ec0c73b307ee"
            },
            "downloads": -1,
            "filename": "tweeterpy-2.0.14.tar.gz",
            "has_sig": false,
            "md5_digest": "4d8de8e9174b238e4f812a34425ca29e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3",
            "size": 23742,
            "upload_time": "2025-10-09T10:46:08",
            "upload_time_iso_8601": "2025-10-09T10:46:08.842953Z",
            "url": "https://files.pythonhosted.org/packages/a0/25/7f487bb47d735c61d6768280c1887abadc83c13c2e33752f6805216d48db/tweeterpy-2.0.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-09 10:46:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "iSarabjitDhiman",
    "github_project": "TweeterPy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    "==",
                    "4.12.2"
                ]
            ]
        },
        {
            "name": "curl-cffi",
            "specs": [
                [
                    "==",
                    "0.13.0"
                ]
            ]
        },
        {
            "name": "demjson3",
            "specs": [
                [
                    "==",
                    "3.0.6"
                ]
            ]
        },
        {
            "name": "lxml",
            "specs": [
                [
                    "==",
                    "5.2.2"
                ]
            ]
        },
        {
            "name": "pyotp",
            "specs": [
                [
                    "==",
                    "2.9.0"
                ]
            ]
        },
        {
            "name": "XClientTransaction",
            "specs": [
                [
                    "==",
                    "1.0.1"
                ]
            ]
        }
    ],
    "lcname": "tweeterpy"
}
        
Elapsed time: 2.77838s