Skip to main content

Parse a Twitter achive JSON and produce a PDF file.

Project description

Tweet archive parser

This is a simple tool to parse Twitter archived JSON files and convert to PDF document file format.

Acknowledgements

Installation

Install Python.

Install this package in your current environment using the command below:

pip install tweets2pdf

Upgrade

To update to the latest version of this software:

pip install --upgrade tweets2pdf

Usage

Download your Twitter archive

See: Twitter Help Centre How to download your Twitter archive. Once you have downloaded your archive, look for the tweets.js JSON file which contains all your tweets. This code will process that file.

Run the script

The basic usage is:

tweets2pdf -f tweets.js --images -p output.pdf

The --images option enables the downloading of pictures from Twitter, which will make the process much slower.

For more details:

tweets2pdf --help

Development

Contributing

Please see CONTRIBUTING.md for information about participating in this project.

Please submit bug reports using GitHub Issues.

Deployment status

Upload Python Package

Project details


Download files

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

Source Distribution

tweets2pdf-0.0.5.tar.gz (392.9 kB view hashes)

Uploaded Source

Built Distribution

tweets2pdf-0.0.5-py3-none-any.whl (12.6 kB view hashes)

Uploaded Python 3

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