hldh214 / iSign

A record of my ugly code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iSign

A record of my ugly code

Table of Contents

Table of contents generated with markdown-toc

requirements

pip install -r requirements.txt

PyCrypto

https://github.com/Legrandin/pycryptodome

usage

C:\Python34\python.exe E:/iSign/iSign.py ./config.json

run immediately && tests

python3 -m unittest tests/test_kittens.py


config.sample

{
    "task_name": {
        "schedule": {
            "interval": 2,  // pause interval * unit between runs (default 1)
            "unit": "hour",  // time units, e.g. 'minutes', 'hours', ...
            "at_time": ""  // optional time at which this job runs
        },
        "enable": false,
        "kitten": "tieba",  // in ./kittens dir
        "config": {
            ... // specific defined by each kitten
        }
    },
    ...
}

About

A record of my ugly code

License:MIT License


Languages

Language:Python 100.0%