معرفی شرکت ها


dependably-me-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

-
ویژگی مقدار
سیستم عامل -
نام فایل dependably-me-0.1.0
نام dependably-me
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Ken Payne
ایمیل نویسنده me@kenpayne.co.uk
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/dependably-me/
مجوز -
# dependably.me SMS reminders for the things that matter. > Note: dependably.me is new and experimental. Here be dragons 🐉 ## Intro dependably.me helps you keep track of recurring and one-off events by generating and sending SMS messages, via [Twilio](https://www.twilio.com). Stay on top of birthdays, renewals and chores (like watering your houseplants 🌱) with lowest-common-denominator technology; SMS. ## How it works dependably.me allows you to save your reminders in YAML documents, and to express the frequency of each event using crontab expressions. For example: ```yaml # reminders.yml - id: barbossas-birthday title: Captain Barbossas' Birthday description: Send him the monkey. schedule: "0 0 1 1 *" contacts: - jack-sparrow ``` This reminder is for a birthday event that begins every year on the 1st of January at midnight. The contacts who will recieve notifications are `jack-sparrow`. Contacts are also managed in YAML documents: ```yaml # contacts.yml - id: jack-sparrow name: Captain Jack Sparrow ``` Contact phone numbers are secret, and are sourced from the capatalised snake-case form of the contact `id`, prefixed with `DPM_`. Jacks number should be set at `DPM_JACK_SPARROW`, and dependably.me supports sourcing these from a `.env` file at the root of the project directory. Finally, a `project.yml` laces everything together: ```yaml version: 1 reminders_files: - reminders.yml contacts_files: - contacts.yml ``` Reminders and Contacts are sourced from all of the files listed (paths relative to the project root), allowing you to organise your reminders and contacts however you choose. For example, you might like to group by kind of reminder: ```yaml version: 1 reminders_files: - birthdays/family.yml - birthdays/friends.yml - chores/chores.yml - cars/mot.yml - cars/tax.yml contacts_files: - contacts.yml ``` In addition to sourcing telephone numbers from env vars, dependably.me also requires Twilio configuration via env vars too. The following are required for dependably.me to send SMS messages: ``` DPM_TWILIO_ACCOUNT_SID=<twilio account sid> DPM_TWILIO_AUTH_TOKEN=<twilio auth token> DPM_TWILIO_MESSAGING_SERVICE_SID=<twilio messaging service sid> ``` Setting up Twilio to send messages is easy. Check out their [Programable SMS Python Quickstart](https://www.twilio.com/docs/sms/quickstart/python) ## Usage With some reminders added and you project configured, you can send reminders using: ```shell dependably-me reminders remind ``` To view the messages generated without sending any messages, try: ```shell dependably-me reminders remind --dry-run ``` ## Scheduling messages dependably.me is designed to be invoked weekly, to notify of events happening in that week, the rest of the month and next month. Therefore it is recommended to run dependably.me from your preferred scheduler, such as cron locally or github actions (or similar) in the cloud.


نیازمندی

مقدار نام
>=0.6.1,<0.7.0 typer[all]
>=7.13.0,<8.0.0 twilio
>=1.3.7,<2.0.0 croniter
>=0.8.0,<0.9.0 pydantic-yaml[ruamel]
>=4.2,<5.0 tzlocal
>=4.3.0,<5.0.0 humanize
>=0.21.0,<0.22.0 python-dotenv


زبان مورد نیاز

مقدار نام
>=3.8,<4.0 Python


نحوه نصب


نصب پکیج whl dependably-me-0.1.0:

    pip install dependably-me-0.1.0.whl


نصب پکیج tar.gz dependably-me-0.1.0:

    pip install dependably-me-0.1.0.tar.gz