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.5.post1.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

tweetcal-0.4.5.post1-py3-none-any.whl (23.4 kB view details)

Uploaded Python 3

File details

Details for the file tweetcal-0.4.5.post1.tar.gz.

File metadata

File hashes

Hashes for tweetcal-0.4.5.post1.tar.gz
Algorithm Hash digest
SHA256 6c5c03c8e9ab795682d57d04552e7970cdefc26bd81924ff0e8d5e93ec2db716
MD5 98a5e9e831a76ee5a4eed82e8460438a
BLAKE2b-256 4fc53c7c72aec2901be3713c816ac7c14588ca31481fa1a6dcdbb1342f3310cf

See more details on using hashes here.

File details

Details for the file tweetcal-0.4.5.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for tweetcal-0.4.5.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7e479744ec0d6a5deae20d0cb76d9d3f83730573ffd086963c5db338230a907
MD5 a923f4316aca78a494fb655f0e7a8754
BLAKE2b-256 d4d4cbdd0dc907e5c73d82fe27420bd7961b1089fcdc74b5f8cc618927e7ad82

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