botscheduler-0.1.0
توضیحات
A simple Scheduler.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | botscheduler-0.1.0 |
| نام | botscheduler |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Eduardo S. Pereira |
| ایمیل نویسنده | pereira.somoza@gmail.com |
| آدرس صفحه اصلی | https://github.com/duducosmos/botscheduler |
| آدرس اینترنتی | https://pypi.org/project/botscheduler/ |
| مجوز | Apache License 2.0 |
# BotScheduler
A class used to simplify the scheduder of complex function.
## Usage:
```python
from botscheduler import Bot
def pipeline():
print("Hello World!")
logspath = "./logs/"
cachdir = "./cache/"
deltatime = 60 * 60 * 24
start_hour = 10
start_minutes = 30
bot = Bot(logspath, cachdir, deltatime=deltatime)
bot.operations = pipeline
bot.run(start_hour, start_minutes)
```
## License
Copyright 2020 Eduardo S. Pereira
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
نحوه نصب
نصب پکیج whl botscheduler-0.1.0:
pip install botscheduler-0.1.0.whl
نصب پکیج tar.gz botscheduler-0.1.0:
pip install botscheduler-0.1.0.tar.gz