twb


Nametwb JSON
Version 1.0.2 PyPI version JSON
download
home_page
SummaryTwitter backup crawler
upload_time2022-12-13 20:18:57
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License Copyright (c) 2022 Hykilpikonna Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords twitter backup
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # TwitterBackup

A tool to back up other users' Twitter accounts using the Twitter API. (Currently limited to the last 3200 tweets).

https://user-images.githubusercontent.com/22280294/207434663-a2fa6170-d740-4f35-82f6-df41bdce8837.mp4

## Usage

1. Install python `>= 3.7` (Tested on python 3.11)
2. `pip install twb`
3. [Register for a Twitter API token](https://developer.twitter.com/en/portal/dashboard)
4. Put your tokens in `$HOME/.config/twb/config.toml` or `./config.toml`.   
  You can reference the example config below
5. Run command `twb <username>`, and it will download to `./backups`

#### Example Config

```toml
# The consumer key from the Twitter application portal (https://developer.twitter.com/en/portal/dashboard)
consumer_key = '#########################'
# The consumer secret from the Twitter application portal
consumer_secret = '##################################################'
# The access token of an app from the Twitter application portal
access_token = '##################################################'
# The access secret of an app from the Twitter application portal
access_secret = '#############################################'
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "twb",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "twitter,backup",
    "author": "",
    "author_email": "Azalea Gui <me@hydev.org>",
    "download_url": "https://files.pythonhosted.org/packages/07/12/fc9ac2c8b69906b1c3f88144da2bcb68d3ab9669bcbfa403bc572dc29ef1/twb-1.0.2.tar.gz",
    "platform": null,
    "description": "# TwitterBackup\n\nA tool to back up other users' Twitter accounts using the Twitter API. (Currently limited to the last 3200 tweets).\n\nhttps://user-images.githubusercontent.com/22280294/207434663-a2fa6170-d740-4f35-82f6-df41bdce8837.mp4\n\n## Usage\n\n1. Install python `>= 3.7` (Tested on python 3.11)\n2. `pip install twb`\n3. [Register for a Twitter API token](https://developer.twitter.com/en/portal/dashboard)\n4. Put your tokens in `$HOME/.config/twb/config.toml` or `./config.toml`.   \n  You can reference the example config below\n5. Run command `twb <username>`, and it will download to `./backups`\n\n#### Example Config\n\n```toml\n# The consumer key from the Twitter application portal (https://developer.twitter.com/en/portal/dashboard)\nconsumer_key = '#########################'\n# The consumer secret from the Twitter application portal\nconsumer_secret = '##################################################'\n# The access token of an app from the Twitter application portal\naccess_token = '##################################################'\n# The access secret of an app from the Twitter application portal\naccess_secret = '#############################################'\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022 Hykilpikonna  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Twitter backup crawler",
    "version": "1.0.2",
    "split_keywords": [
        "twitter",
        "backup"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "bc6c70936f148af9e2d333cbc6ee6e4e",
                "sha256": "86ed7e8588ae92e3bac53407e396b076e0e370e72b12c5596a8fc2569c9c9930"
            },
            "downloads": -1,
            "filename": "twb-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bc6c70936f148af9e2d333cbc6ee6e4e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 7896,
            "upload_time": "2022-12-13T20:18:56",
            "upload_time_iso_8601": "2022-12-13T20:18:56.028613Z",
            "url": "https://files.pythonhosted.org/packages/c5/19/15c809db4288b4d22b0ee4bd8b8b46c6272baefef75c1f7bd3f04763883c/twb-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "36558b8c18a874700c187f5a9e898790",
                "sha256": "c1c7ef5d7efe80638cd04284d7b9f1be1050ef554461affe6d0494dc14a0f305"
            },
            "downloads": -1,
            "filename": "twb-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "36558b8c18a874700c187f5a9e898790",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 8823,
            "upload_time": "2022-12-13T20:18:57",
            "upload_time_iso_8601": "2022-12-13T20:18:57.716869Z",
            "url": "https://files.pythonhosted.org/packages/07/12/fc9ac2c8b69906b1c3f88144da2bcb68d3ab9669bcbfa403bc572dc29ef1/twb-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-13 20:18:57",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "twb"
}
        
Elapsed time: 0.01779s