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 hashes)

Uploaded Source

Built Distribution

twi-0.0.5-py3-none-any.whl (3.8 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