Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.
/ puput Public archive

Puput is a tool to manage PR and PA

License

Notifications You must be signed in to change notification settings

pybcn/puput

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

puput

Puput is a tool to manage PR and PA

Installation

You can install it using pip install as usual:

pip install puput

Usage

Puput is intended to be used as a command:

$ puput <RSS URL>

The option --to-date limits the output to entries published in the last 24h:

$ puput --to-date <RSS URL>

The option --title-starts allows to specify a string the title must start with to be accepted:

$ puput --title-starts 'Hello' <RSS URL>

The option --format allows to specify a string, using Jinja2 templating system, to format the output based on the entry data:

$ puput --format '{{title}} {{link}}' <RSS URL>

Example

This is how puput is used to tweet job offers sent to the PyBCN mailing list, which is published as RSS:

$ puput <RSS URL> --to-date --title-starts 'Job Offer' --format '#pybcn #jobs {{title[11:]}} {{link}}'

About

Puput is a tool to manage PR and PA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages