readit module

Copyright (C) 2017, 2018 projectreadit organization and contributors. This file is part of Readit - Command Line Bookmark Manager Tool.

This project is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with readit. If not, see <http://www.gnu.org/licenses/>.

readit.cli.option_yes_no()[source]

Asks whether to bookmark invalid URLs or Offline URLs to database.

class readit.database.DatabaseConnection[source]

Bases: object

Class to perform database operations.

add_url(url)[source]

URL will be adding to database.

check_id(url_id)[source]

Check this is available in database.

check_tag(url_tag)[source]

Checks this tag is available in database.

check_url_db()[source]

Checks Whether URL is present in database or not.

delete_all_url()[source]

All URLs from database will be deleted.

delete_url(url_id)[source]

URLs can deleted as per id number provided.

export_urls()[source]

Exporting urls to csv file from database.

init_db(cursor, db)[source]

Create database connection. creates or opens file mydatabase with sqlite3 DataBase. get cursor object. create table.

list_all_tags()[source]

Shows list of all available Tags in database.

open_url(url_id_tag)[source]

Opens the URLs in default browser.

search_url(search_value)[source]

Group of URLs displayed with respect to search_value.

show_url()[source]

All URLs from database displayed to user on screen.

tag_url(tag_name, tagged_url)[source]

URLs can be added by respective Tags.

update_url(url_id, url)[source]

URLs can be updated with respect to id.

url_info(url)[source]

Display the information regarding already present URL in database.

readit.__init__.main()

Readit - Command-line bookmark manager tool.

readit.cli.main()

Readit - Command-line bookmark manager tool.