Skip to main content

do Twitter things via CLI

Project description

twi

Send tweets, change your Twitter profile description, and delete your last tweet, all from the comfort of your sweet-smelling CLI!

Installation

> pip install twi

Then put these variables somewhere in your environment (get them here):

  • TWITTER_CONSUMER_KEY
  • TWITTER_CONSUMER_SECRET
  • TWITTER_ACCESS_TOKEN
  • TWITTER_ACCESS_TOKEN_SECRET
  • TWITTER_USER_ID

Usage

> tw "hey this is my tweet"
Okay, published the tweet at https://twitter.com/yourname/status/12344556
> twd
Okay, deleted this tweet: 'hey this is my tweet'
> tw "hey this is my tweet with a screenshot" --attach=/home/me/screencap.png
Okay, published the tweet with atachment at https://twitter.com/yourname/status/12344557
> twpu "hey this is my new twitter profile description"
Okay, updated profile.
> twp
current profile: 'hey this is my current profile description'

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

twi-0.0.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

twi-0.0.5-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file twi-0.0.5.tar.gz.

File metadata

  • Download URL: twi-0.0.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for twi-0.0.5.tar.gz
Algorithm Hash digest
SHA256 37dde84a98720eb5b9b7eb277ec5aba7d5a86c72896029a07c8974b011a1f9b1
MD5 aed99e75ef753303afba99fd8d917b8d
BLAKE2b-256 168d7be46d4942f0be4bae530dcf01c87726c0bd83ad91195061a50c085e1ea2

See more details on using hashes here.

File details

Details for the file twi-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: twi-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for twi-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c9165ee3ab0dd7b5a83abcaf3d7fd2aef8e509d32d1bd9dfbae91dbd840b7010
MD5 f7af620c3be36bed02bad48d8679447c
BLAKE2b-256 a61acca6c6dfde753476c0d1cbbc396232223e99c40fed870a7030059d9a4e30

See more details on using hashes here.

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