friendly-reminder-1.0.0
توضیحات
A CLI tool to stay on touch with your friends
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | friendly-reminder-1.0.0 |
| نام | friendly-reminder |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Robert Lützner |
| ایمیل نویسنده | robert.luetzner@pm.me |
| آدرس صفحه اصلی | https://github.com/rluetzner/friendly-reminder |
| آدرس اینترنتی | https://pypi.org/project/friendly-reminder/ |
| مجوز | GPL-3.0 |
# Friendly Reminder
[](https://github.com/rluetzner/friendly-reminder/issues)
[](https://github.com/rluetzner/friendly-reminder/network/members)
[](https://github.com/rluetzner/friendly-reminder/stargazers)
[](https://pypi.org/project/friendly-reminder/)
[](COPYING)
This CLI app wants to help you stay in touch with your friends.
## Installation
```bash
pip install friendly-reminder
```
## Usage
Here's a quick overview on how this tool is meant to be used.
```text
# Add a reminder for Mom and Omar Cabbage.
$ friendly-reminder add --name "Mom"
Added Mom succesfully.
$ friendly-reminder add --name "Omar Cabbage"
Added Omar Cabbage succesfully.
# Check if there are any reminders for today.
$ friendly-reminder check
Nothing for today.
# See the list of upcoming check-ins.
$ friendly-reminder check --all
Think about contacting:
Mom (7 days)
Omar Cabbage (7 days)
# Set the date where we last contacted Omar Cabbage.
$ friendly-reminder update --name "Omar Cabbage" --last-contact 2022-03-27
Updated Omar Cabbage succesfully.
# Recheck our reminders for today.
$ friendly-reminder check
Think about contacting:
Omar Cabbage (-9 days)
# I've talked to Omar today.
$ friendly-reminder renew --name "Omar Cabbage"
Updated Omar Cabbage succesfully.
# 'Unfriend' mom. Don't try this at home. ;-)
$ friendly-reminder remove --name Mom
Removed Mom succesfully.
# Use --help if you are stuck.
```
You can easily automate `check` with a cronjob, i.e. if you've got Termux
installed on your Android phone:
```bash
crontab -e
# The following line will send you a notification every morning at 9.
# 0 9 * * * friendly-reminder check | termux-notification --title Friendly-Reminder
```
## Developer setup
```bash
# (optional) Create a new virtual environment for python
python3 -m venv env
source env/bin/activate
# Install dependencies
pip3 install -r requirements.txt
# Initialise the config directory
mkdir $HOME/.config/friendly-reminder
# Run
python3 main.py
```
## Install from source
```bash
python setup.py install
```
## Package
```bash
pip install twine
pip install wheel
# Build the packages
python setup.py sdist bdist_wheel
# Validate the packages
twine check dist/*
# Upload the packages to test.pypi.org
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
# Upload the package to pypi.org
twine upload dist/*
```
نیازمندی
| مقدار | نام |
|---|---|
| ==6.0 | PyYAML |
| ==8.0.4 | click |
| ==2.1.0 | jsonpickle |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl friendly-reminder-1.0.0:
pip install friendly-reminder-1.0.0.whl
نصب پکیج tar.gz friendly-reminder-1.0.0:
pip install friendly-reminder-1.0.0.tar.gz