Skip to main content

Handle Twitter accounts

Project description

# mallerenga

Mallerenga is a library to help managing Twitter accounts

## Installation

You can install it using `pip install` as usual:
pip install mallerenga

## Requirements

A Twitter account with consumer key and secret and access token and secret is required.
These credentials must be provided in the following environment variables:
- `TWITTER_CONSUMER_KEY`: Consumer key
- `TWITTER_CONSUMER_SECRET`: Consumer secret
- `TWITTER_ACCESS_TOKEN`: Access token
- `TWITTER_ACCESS_TOKEN_SECRET`: Access token secret

## Usage

### As a module

Mallerenga is intended to be user mostly as a module:
from mallerenga.twitter.twitter import Twitter

twitter = Twitter()
status = twitter.tweet(msg)

### As a command

To update the Twitter status, use the following command:
mallerenga New status message

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 mallerenga, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size mallerenga-0.1.0.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page