Skip to main content

Everyone likes Twitter, right? We all think it’s awesome.

However, Twitter suffers from one critical problem: it lacks GPG integration. In this modern era, we believe it’s vital to wed the two most important technologies of our generation: message integrity, and 140-character witticisms.

Enter Entweet.

Entweet is a tool for taking Twitter and making it 100 times nerdier. No longer will you have to be content with tweeting in plaintext, like your non-tech-savvy uncle, Barry. Instead, you can take your Twitter conversations to the next level, by guaranteeing the integrity of everything you tweet, while making it really inconvenient for other people to read your messages.

How Do I Use It?

Simple. First, install Entweet from the Python Package Index. You can trust it, it’s over TLS.

pip install entweet

Make sure you have GPG installed, or obviously nothing will work. If you don’t have GPG installed, then don’t worry: GPG is famously easy to use, so easy that we won’t explain it here.

Next, populate some environment variables. For your security and convenience, Entweet does not link to a built-in Twitter application. You’ll want to create one for yourself, then generate yourself an application key.

Once you have your four Twitter IDs, put them in environment variables, called ENTWEET_CLIENT_KEY, ENTWEET_CLIENT_SECRET, ENTWEET_RESOURCE_OWNER_KEY, and ENTWEET_RESOURCE_OWNER_SECRET.

Now you’re ready to go, it’s easy. To sign a tweet, just run

entweet sign

Enter your tweet at the prompt, and then enter your GPG passphrase.

Entweet will sign the message, and then post a tweet containing your signed message. That’s it!

If you’ve seen a tweet produced by Entweet and want to read it, it’s also really easy. Find the tweet ID (from the URL for the tweet, for example), and then run

entweet decrypt <message_id>

The message will be printed to the screen, along with the ID of the person who signed it. If the signature doesn’t check out, Entweet will error out, and you’ll know the NSA is watching you and your friends. In this eventuality, please contact your local governmental representative for next steps.

Authors

David Gouldin and Cory Benfield.

This awesome idea is the product of DjangoCon EU, with the core idea makers being Andrey Petrov, David Gouldin, Cory Benfield, Kristian Glass, Peter Inglesby, and George Hickman. Don’t blame them, this isn’t their fault. Except Andrey, he came up with the image recognition stuff. Blame him.

Metadata

Release files for entweet 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entweet 2.0.0
File Size Uploaded Provenance
entweet-2.0.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for entweet 2.0.0
File Interpreter ABI Platform
entweet-2.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 63.2 kB

Release files / entweet-2.0.0.tar.gz

Download URL entweet-2.0.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
05bb38d5975b655763f569e0eea18ad4d98d7a23a62ce87efe94d0e0efbf50d0
BLAKE2b-256 checksum
How to use checksums
58123125bc79d57d4036f058888dd0e055c5b8858b9bb97c44b072c9cb946208
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / entweet-2.0.0-py2.py3-none-any.whl

Download URL entweet-2.0.0-py2.py3-none-any.whl
Size 58.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
58db57a41488d9c795cdcb2170ff8520ef6f09cb1ad21c1c0b6961889e169786
BLAKE2b-256 checksum
How to use checksums
f412d44caf9c11bddd1c2f74c2c9a9d00378153a8f31f9de56f3e614a8f5e2d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for entweet 2.0.0

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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page