Tweet archive parser
This is a simple tool to parse Twitter archived JSON files and convert to PDF document file format.
Acknowledgements
- Isaac Koi
- Forked from vrruiz/tweet-js
- qedjoe
- DejaVu Fonts
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
Metadata
Release files for tweets2pdf 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tweets2pdf-0.0.5.tar.gz | 392.9 kB | Without provenance | Details for tweets2pdf-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tweets2pdf-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for tweets2pdf-0.0.5-py3-none-any.whl |
Total release size: 405.5 kB
Release files / tweets2pdf-0.0.5.tar.gz
| Download URL | tweets2pdf-0.0.5.tar.gz |
|---|---|
| Size | 392.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5f80186efcb4ae647f833ca3ca4b83027e626c6add38ee4917296f59e7775fc
|
|
BLAKE2b-256 checksum How to use checksums |
ed0b7ddf4bc9ec95e777af8048222d0185aac4bb55b47064ebcb300aa0824e97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Release files / tweets2pdf-0.0.5-py3-none-any.whl
| Download URL | tweets2pdf-0.0.5-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0829da802df469de694a1e7a4bab397f7a8dbe361eec6971587770eeae90934c
|
|
BLAKE2b-256 checksum How to use checksums |
0e80bb220824eda650b2ae81aafb01044ede9b990c9d86b1c292c40da9fef681
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.15
|
Security for tweets2pdf 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.