https://github.com/dhellmann/daily-tweeter
Schedule a series of tweets to be posted on a given day
https://github.com/dhellmann/daily-tweeter
Last synced: 9 months ago
JSON representation
Schedule a series of tweets to be posted on a given day
- Host: GitHub
- URL: https://github.com/dhellmann/daily-tweeter
- Owner: dhellmann
- License: apache-2.0
- Created: 2018-04-11T23:23:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T15:52:31.000Z (almost 5 years ago)
- Last Synced: 2025-07-29T04:33:39.524Z (11 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===============
daily-tweeter
===============
Schedule a series of tweets to be posted on a given day
Use the ``schedule`` command to convert a list of post messages into a
data file scheduling the posts to be published on given dates.
Use the ``publish`` command to read a schedule file and post the
update scheduled for the current date.
Posts File
==========
The input posts file should be a YAML file containing a list of
strings with the full text of the messages to be published.
::
- "trace — Follow Program Flow https://pymotw.com/3/trace/"
- "urllib.robotparser — Internet Spider Access Control https://pymotw.com/3/urllib.robotparser/"
- "compileall — Byte-compile Source Files https://pymotw.com/3/compileall/"
Schedule File
=============
The generated schedule file contains a ``posts`` entry with a list of
the messages and the date on which they should be published.
::
posts:
- date: '2021-06-28'
message: trace — Follow Program Flow https://pymotw.com/3/trace/
- date: '2021-07-05'
message: urllib.robotparser — Internet Spider Access Control https://pymotw.com/3/urllib.robotparser/
- date: '2021-07-12'
message: compileall — Byte-compile Source Files https://pymotw.com/3/compileall/