threador
Threador is a cli tool for formatting tweet threads
Features
- tweet length testing
- add indexing numbers to each tweet
- tracking of images needed for each tweet
- table of contents creation
installation
pip install pythreador
usage
threador <raw_text_file>
threador <raw_text_file> --index
threador --color | less -R
example
this is the first tweet
it is an introduction
-
this is the next tweet
[image: happy_emoji.png]
[image: confused_emoji.png]
-
tweets are separated by either:
- 2 or more blank lines
- a line containing only horizontal dashes (- or ─)
-
this is the final tweet
(note that in a terminal this output is colored for better readability)
> threador raw_thread.txt --index
────────────────────────────────────────────────────────────────────────────────────
this is the first tweet
it is an introduction
length = 46 chars
────────────────────────────────────────────────────────────────────────────────────
this is the next tweet
images
- happy_emoji.png
- confused_emoji.png
length = 22 chars
────────────────────────────────────────────────────────────────────────────────────
tweets are separated by either:
- 2 or more blank lines
- a line containing only horizontal dashes (- or ─)
length = 107 chars
────────────────────────────────────────────────────────────────────────────────────
this is the final tweet
length = 23 chars
────────────────────────────────────────────────────────────────────────────────────
┌──────────────────────┐
│ Tweet thread summary │
└──────────────────────┘
- number of tweets: 4
- number of tweets over char limit: 0
images: 2
- happy_emoji.png
- confused_emoji.png
unknown_annotations: 0
Metadata
Release files for pythreador 0.1.2
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 |
|---|---|---|---|---|
| pythreador-0.1.2.tar.gz | 4.5 kB | Without provenance | Details for pythreador-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pythreador-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for pythreador-0.1.2-py3-none-any.whl |
Total release size: 9.6 kB
Release files / pythreador-0.1.2.tar.gz
| Download URL | pythreador-0.1.2.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baebf33380d5e14c1c47abf23b4c2d90d12cf69891525f2b492a987d4c8ded19
|
|
BLAKE2b-256 checksum How to use checksums |
1649dea0082256461ec6f0e0fac0418903d8ea5fe1e97f0ee06aba07658f1362
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Release files / pythreador-0.1.2-py3-none-any.whl
| Download URL | pythreador-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b871c0701c92eb7349d4309825db8aad10749949aa936978b896b4f0e2677b08
|
|
BLAKE2b-256 checksum How to use checksums |
47480039e0162c3cd7776350b981a58e980ca8d4e9c0e546fed3fffd6328b967
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.27.1
|
Security for pythreador 0.1.2
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.