Skip to main content
# 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
```

Metadata

Release files for mallerenga 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mallerenga 0.1.0
File Size Uploaded Provenance Actions
mallerenga-0.1.0.tar.gz 2.5 kB Without provenance Details for mallerenga-0.1.0.tar.gz

Release files / mallerenga-0.1.0.tar.gz

Download URL mallerenga-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0275abe6f047c12e1d2c351fd94f17de58b9db2d007bca67132c977cfc0db207
BLAKE2b-256 checksum
How to use checksums
662ac646b2a2a502ab1eb1a38c2991712a473d3f3977de2e8b8dd8105525a76b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for mallerenga 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page