clarc-1.0.0
توضیحات
A simple command-line tool to archive data
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | clarc-1.0.0 |
| نام | clarc |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sanchit Bhavsar |
| ایمیل نویسنده | sanchit.bhavsar@gmail.com |
| آدرس صفحه اصلی | https://github.com/sandiemann/clarc-cli |
| آدرس اینترنتی | https://pypi.org/project/clarc/ |
| مجوز | MIT |
## Clarc (CommandLine Archiva)
clarc is a simple CLI tool to archive data like day-to-day commands, notes, text, passcodes etc.
The data is stored in a shared sqlite in-memory connection and can be archived & retrieved with helpful commands.
The output response is shown in the terminal as json.
## Installation
## Using Pip
```bash
$ pip install clarc
```
## Manual
```bash
$ git clone https://github.com/sandiemann/clarc-cli
$ cd clarc
$ python setup.py install
```
* Install the dependencies:
```sh
$ python -m pip install -r requirements.txt
```
* Initialize the application (database initialize):
```sh
$ python -m clarc init
```
## Usage
```sh
$python -m clarc --help
Usage: clarc [OPTIONS] COMMAND [ARGS]...
Options:
-v, --version Show the application's version and exit.
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or
customize the installation.
--help Show this message and exit.
Commands:
fetch fetch the archived entries --all or by --key ${key}
init initialize the database.
remove remove an archived entry by specefic --key ${key}
upsert update on duplicate key else insert a new entry to db
```
## Features
**clarc** has the following features:
| Command | Description |
| :------------ | :---: |
| `init` | Initializes the application's sqlite database.|
| `upsert` | insert or update a new entry to the database with a `key:value` pair. |
| `fetch` | fetch all or a specific entry by key from database. |
| `remove` | removes an entry from db by `key` from database. |
## Release History
- 0.1.0
نیازمندی
| مقدار | نام |
|---|---|
| ==0.4.0 | typer |
| ==0.4.4 | colorama |
| ==1.4.0 | shellingham |
| ==6.2.4 | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=2.7 | Python |
نحوه نصب
نصب پکیج whl clarc-1.0.0:
pip install clarc-1.0.0.whl
نصب پکیج tar.gz clarc-1.0.0:
pip install clarc-1.0.0.tar.gz