跳转到主要内容

简单的游戏应用。

项目描述

Python Licence Build Status

asciicast

简介

Readit是命令行书签管理器。它是一个命令行实用程序,用于添加、删除、更新和显示书签。它是一个用Python编写的强大书签管理器。它使用SQLite3数据库来存储书签。

功能

  • 一次添加多个URL书签

  • 带有相应标签的书签URL

  • 按标签搜索和显示书签

  • 以表格格式显示所有书签

  • 删除一个已书签的URL

  • 删除所有已书签的URL

  • 使用特定ID更新已书签的URL

  • URL验证

  • 在浏览器中打开URL

依赖项

功能

依赖项

脚本语言

Python 2.7+

HTTP(S)

requests

命令行选项和参数解析

click

使用的数据库

SQLite3

在表格中显示书签

beautifultable

安装

readit可在PyPi上使用,并可以使用pip3安装

pip3 install --user readit

命令行选项

Usage: readit [OPTIONS] [INSERT]...

  Readit - Command-line bookmark manager tool.

Options:
-a, --add TEXT...     Add URLs with space-separated
-t, --tag TEXT...     Add Tag with space-separated URL
-d, --delete TEXT     Remove a URL of particular ID
-c, --clear TEXT...   Clear bookmarks
-u, --update TEXT...  Update a URL for specific ID
-s, --search TEXT     Search all bookmarks by Tag
-v, --view TEXT...    Show bookmarks
-o, --openurl TEXT    Open URL in Browser
-V, --version         Check latest version
--help                Show this message and exit.

示例

  1. 书签多个URL

$ readit url1 url2 ...
or
$ readit --add url1 url2 ...
or
$ readit -a url1 url2 ...
  1. 查看所有可用书签

$ readit -v
or
$ readit --view
  1. 更新使用其ID的书签

$ readit -u url_id url
or
$ readit --update url_id url
  1. 删除使用其ID的书签URL

$ readit -d url_id
or
$ readit --delete url_id
  1. 清除所有书签

$ readit -c
or
$ readit --clear
  1. 书签带有标签的URL

$ readit -t tag_name url
or
$ readit --tag tag_name url
  1. 搜索并使用标签显示所有书签

$ readit -s tag_name
or
$ readit --search tag_name
  1. 使用特定ID在浏览器中打开URL

$ readit -o urlid
or
$ readit --openurl urlid

如何安装开发源代码

  • 从github克隆项目

$ git clone https://github.com/projectreadit/readit.git
  • 我们建议首先创建并激活一个虚拟环境

$ cd readit/

$ virtualenv venv

$ source venv/bin/activate

(venv) $
  • 使用setup.py文件安装

(venv) $ python setup.py install
  • 构建项目

(venv) $ python setup.py build

许可证

Readit - 命令行工具许可协议为GNU通用公共许可证v3.0。

项目详情


下载文件

下载您平台的文件。如果您不确定选择哪个,请了解更多关于安装包的信息。

源分布

sticks-0.0.12.tar.gz (3.9 kB 查看哈希值)

上传时间:

由以下支持