Skip to content

Instantly share code, notes, and snippets.

View PyNSK's full-sized avatar

PyNSK PyNSK

View GitHub Profile
# -*- encoding: utf-8 -*-
import json
import urllib.parse
import urllib.request
def validate_data(**kwargs) -> bool:
try:
str_args = ['type', 'key', 'title', 'text', 'icon', 'url', 'encode']
for x in str_args:
# coding=utf-8
# requirements.txt
# click
import click
import datetime