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:
```bash
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:
```python
from mallerenga.twitter.twitter import Twitter


twitter = Twitter()
status = twitter.tweet(msg)
print(status.link)
```

### 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.

Source Distribution

mallerenga-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file mallerenga-0.1.0.tar.gz.

File metadata

  • Download URL: mallerenga-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for mallerenga-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0275abe6f047c12e1d2c351fd94f17de58b9db2d007bca67132c977cfc0db207
MD5 130d951c58092588eb9e098c48be06d6
BLAKE2b-256 662ac646b2a2a502ab1eb1a38c2991712a473d3f3977de2e8b8dd8105525a76b

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