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

Uploaded Source

Built Distributions

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

Uploaded Python 3

tweetcal-0.4.5-py2-none-any.whl (23.3 kB view details)

Uploaded Python 2

File details

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

File metadata

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

File hashes

Hashes for tweetcal-0.4.5.tar.gz
Algorithm Hash digest
SHA256 ede9dc6b60d77e9ef4ad8b1aa4fca9f71e0d2924794a3c7762bfa275e2e66246
MD5 35c7b39dc11a683c519de7af0426e0e7
BLAKE2b-256 77de48313a33f192074dfc7968618e2ba209b1916d63a8d2f5f007f0737a950c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tweetcal-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 77ad220d68a642f5630e19401817c9f6e3adfa644d4a01446434f81fbfc42c67
MD5 099fc22bc3fb661406f68c39944cefb6
BLAKE2b-256 0f2efba6a363acdb7b52f0b7df6210c4f425926d0815796c3cc6e64af96a22b4

See more details on using hashes here.

File details

Details for the file tweetcal-0.4.5-py2-none-any.whl.

File metadata

File hashes

Hashes for tweetcal-0.4.5-py2-none-any.whl
Algorithm Hash digest
SHA256 f403155fcbd34f3208c28e63dd03ab944984dc5fac79cf554144f5dabe144e17
MD5 93630cd4df1e0f4cebebce231af23ca8
BLAKE2b-256 0e8a3229a1a4e749d76a3235c8d1183b8cc7665364998a72db2c8fe0317f3ab4

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