django+celery任务队列的实现。

1、在项目配置目录[settting.py同级]下创建celery.py代码如下:import os from celery import Celery # Set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'RwSys

- 阅读全文 -

nodequery-server, 一款开源的LINUX监控系统。

nodequery-server介绍nodequery-server 基于nodequery.com的开源客户端开发的服务端。python版本:https://github.com/cnly1987/nodequery-serverNodejs版本: https://github.com/cnly1987/nq-server-simple软件架构python3django3mysqlmongod

- 阅读全文 -

多线程采集美女图片站

源站:https://fache.co/脚本:from bs4 import BeautifulSoup import threading, time, requests, os, urllib3 import json import sys requests.packages.urllib3.disable_warnings() urls = ['https://fache.co/pic/'

- 阅读全文 -