Python command-line script to download (or sync) and create markdown copy of tweets (for static sites) using Twitter API and Nitter.
Project description
TwitterStatic aka twitter-sync
Python command-line script to automatically download and create markdown copy of all or subset of tweets (and keep in sync going forward). Ideal for making a replicate on a static site. Uses combination of Twitter's own API and Nitter.net to iterate through and parse clean body of messages.
Available as a direct install, e.g. pip install twitter-sync
Dependency on Twitter library - if not doing a full package installation above, make sure to install the dependency https://github.com/bear/python-twitter via "pip install python-twitter".
Once installed, use sample from https://github.com/ILAsoft/TwitterStatic/blob/master/TwitterSyncSettings.sample to create TwitterSyncSettings.ini one folder above your site's folder and then run "TwitterSync.py" from the website's folder itself. Feel free to add appropriate styles to your website if you want to adjust the look and feel of the "tweets".
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
Built Distribution
File details
Details for the file twitter-sync-0.1.0.tar.gz
.
File metadata
- Download URL: twitter-sync-0.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9993263536ebd3c15b6768c947eaf2ba9741277d7fb4ea776a5e8ad6c4e620b |
|
MD5 | f63caa907aa9f60c0a5885f6f82be548 |
|
BLAKE2b-256 | 064faeb54bf5fbd56a78695d4a389860f521e7af4c4d47511af55538130e5f79 |
File details
Details for the file twitter_sync-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: twitter_sync-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bc699a8f6e8c246b555c0ab88063e566ed4183b1de5208f438f444099bf26a6 |
|
MD5 | defd9bf2a8558ae418fa0f79744df8d4 |
|
BLAKE2b-256 | 086c9044bc51dd584dbd798160c614d139d67ee33df48aceb412252bc77d86cb |