Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Tweet-Only Twitter CLI

Project description

https://img.shields.io/github/license/Udomomo/tweetsender.svg http://img.shields.io/pypi/v/tweetsender.svg

tweet-only Twitter CLI

When to use

  • When you want to tweet while coding
  • But don’t want to be distracted by your friend’s posts

Installation

Before installing, download and install python3. 3.6 or higher is required. Installation is done with pip install command. Installation to venv environment is recommended.

python -m venv myenv
source myenv/bin/activate
pip install tweetsender

Creating a Twitter app

Before posting tweet, you need to create your Twitter app at https://apps.twitter.com. After creating an app, open “permissions” tab and select “Read and Write”. You may need to link your phone number to your Twitter account. Open “Keys and Access Tokens”, and check your Consumer Key, Consumer Secret, Access Token, and Access Token Secret. Do not post them online.

Config

If you use this CLI for the first time, you need to use tweet config and type your API keys. The keys are saved in .tweetsender_config.json on your home directory.

Usage

  • tweet send || tweet s
    • send tweet
  • tweet config
    • config your API keys
  • tweet -s
    • set your Twitter API Token
  • tweet -h
    • show help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tweetsender, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size tweetsender-1.0.1-py3-none-any.whl (6.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page