Skip to main content

Website new updates/blogs CLI notifier

Project description

PyURL CircleCI Codacy Badge CodeFactor

PyURL is the CS50x 2020 Final Project. What it does is to let you check if your favourite websites have released/updated new blogs, articles, posts, announcements or releases.

Here's all what you can do:

  • You can add the url or urls of the websites with -a [URL(s)]
  • You can check updates about all the added websites with -s all or specific website with -s [URL(s)]
  • You can open them at once with -o
  • You can list out the updates you haven't opened yet with -nv and open them at once with -o if you want
  • You can also remove the url(s) you wish to remove with -rm [URL(s)]
  • You can print out the added urls with -l

Sample

Adding:

pyurl -a https://pytorch.org/blog,https://blog.tensorflow.org

Syncing:

pyurl -s all -o # or
pyurl -s all # or
pyurl -s https://pytorch.org/blog,https://blog.tensorflow.org

Viewing the updates that haven't opened:

pyurl -nv # or
pyurl -nv -o # to open at once

Removing:

pyurl -rm https://pytorch.org/blog,https://blog.tensorflow.org

Requirements

  • Python 3.6 or greater
  • pip 3
  • requests
  • Beautiful Soup 4
  • SQLite 3
  • lxml

Installation

pip install pyurl

Usage

You can now use pyurl.

usage: pyurl <commands> [URL(s)]

Get notified about new blogs, updates of your favourite webistes and visit
them at once

Commands:
  -a ADD, --add ADD     Add the website url
  -s SYNC, --sync SYNC  Check the added websites update status
  -rm REMOVE, --remove REMOVE
                        Remove the added URL(s)
  -l, --log             Output the urls of the added websites
  -o, --open            Open the new found website links
  -nv, --no-view        Output the un-opened links

Options:
  -V, --version         Output version number
  -h, --help            Output usage information

LICENSE

MIT

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

pyurl-0.1.2.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distributions

pyurl-0.1.2-py3.7.egg (13.1 kB view hashes)

Uploaded Source

pyurl-0.1.2-py2.py3-none-any.whl (7.6 kB view hashes)

Uploaded Python 2 Python 3

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