Skip to main content

Convert a tweet stream to ics calendar

Project description

Tweetcal converts a Twitter feed into .ics (calendar) format.

Install

Install with pip install tweetcal

How to

Tweetcal has two commands. The first converts a Twitter archive to ics, the second saves recent tweets to ics.

Reading an archive

Download your Twitter archive and unzip it. Let’s say it’s in ~/Downloads/archive/. Run this command:

$ tweetcal read-archive ~/Downloads/archive calendar-file.ics

This will create calendar-file.ics. Test it by opening in your favorite calendaring program.

Saving recent tweets

For this section, you’ll need Twitter OAuth credentials.

Save those tokens to a yaml or json file. Use the sample format in the repo as a guide. Let’s say you’ve saved the file to ~/tweetcal.yaml and your username is ‘screen_name1’. Once that’s set up, run:

$ tweetcal stream --config ~/tweetcal.yaml --user screen_name1

Tweetcal leaves a note in ics files it creates to tell it where in an account’s stream to start downloading. Because of this, you should only use a file created by Tweetcal with tweetcal-stream.

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

tweetcal-0.4.7.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

tweetcal-0.4.7-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file tweetcal-0.4.7.tar.gz.

File metadata

  • Download URL: tweetcal-0.4.7.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tweetcal-0.4.7.tar.gz
Algorithm Hash digest
SHA256 a3b07b6d6af98b237a1a936bf4830b257f4ec90eb04428e4db69c58d2923d9f1
MD5 7fdbeeb9b9baca6c242ad848fe4e9661
BLAKE2b-256 fd3faad794a23b41b4303be8e8088826017be70e324e274b0d5875b6a32715b1

See more details on using hashes here.

File details

Details for the file tweetcal-0.4.7-py3-none-any.whl.

File metadata

File hashes

Hashes for tweetcal-0.4.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7627b11e2fc8165cc40c334efcd8465e35cabdd5e9ac03f7b15ea7370d95627a
MD5 d5180baed9b202e340f315b4d7bdf1a1
BLAKE2b-256 ae4e67288a950a9a8fc76e1408183fed30f8c3a22b69b5a7ece38e00c3331661

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