Flash implements HTTP token authentication HTTP token auth

Token authentication In restful design, user authentication mode usually uses json web token instead of traditional HTTP Basic authentication (incoming account password) The token authentication mode is as follows: add token to the request header Implementation in Flask Flask extension flask httpauth provides the authentication ...

Posted by hchsk on Thu, 21 May 2020 16:58:01 +0200

B station video download batch splicing synthesis tool

Introduction Station B is very simple for downloading a single video. You can install plug-ins in the browser, which will not be covered here. This paper mainly introduces the batch download and resource integration of multi-P video. There are two ways: Execute py script Run exe tool preparation 1. Download B station client in windows store   ...

Posted by leeroy1 on Fri, 15 May 2020 07:51:47 +0200

Fruit detection for paddlepaddle target detection (yolov3_mobilenet_v1)

1, Create project (1) Go to https://aistudio.baidu.com/aistudio/projectoverview/public (2) Create project Click Add dataset: find these two Then create it. The following projects are generated: 2, Boot environment, select GPU version Then you will enter the following interface Under / home/aistudio/data /, the two selected compr ...

Posted by Lord Brar on Thu, 14 May 2020 01:55:30 +0200

python handles excel (openpyxl, xlrd, xlwt, openpyxl, panda)

1, openpyxl of excel for python operation Preface According to the official documents, openpyxl is a third-party library that can handle Excel files in xlsx/xlsm format (A Python library to read/write Excel 2010 xlsx/xlsm files). There are three main concepts in openpyxl: Workbook, sheet and cell. Main operations in openpyxl: open Workbook, lo ...

Posted by vidyashankara on Fri, 08 May 2020 22:30:08 +0200

RedisLive installation configuration

Installation environment: CentOS release 6.5 (Final) 64 bit 1. Install Python Python 2.6 comes with CentOS, but pip does not support this version. You need to upgrade Python to 2.7 first, and python 2.6 is required for yum, so Python needs to coexist with 2.6 and 2.7 # Install compilation tools and dependency Librari ...

Posted by free2code on Sat, 02 May 2020 08:38:18 +0200

Python module - making the world map of new crown epidemic situation

Catalog pyecharts module brief introduction Installing pyecharts Test the pyecharts module pyecharts Combat: novel coronavirus pneumonia map requirement analysis Request data Extract data Processing data Making visual maps Set up visualization map Full code Achieve ...

Posted by spoco on Wed, 29 Apr 2020 02:48:45 +0200

iOS Automated Exploration Automated Test Framework pytest - Installation and Use

Automated Test Framework - pytest pytest is one of Python's most popular unit testing frameworks that helps you write test scripts more easily and supports a variety of complex test scenarios that can be used for app testing as well as function testing Official documents: https://docs.pytest.org/en/latest/   pytest has the following advant ...

Posted by Jason28 on Fri, 17 Apr 2020 19:04:01 +0200

[learning notes] Python scientific computing 3D visualization (Huang Tianyu, song Tian) (in learning.)

0 guidance Objective: to master the ability of using 3D effect to express scientific and engineering data Spread an idea: visualization technology is the eye of data Content organization: Scalar visualization and vector visualization of fluid data Visualization example of 3D scanning data (model / terrain) 3D Earth scene visualization example ...

Posted by mynameisbob on Thu, 09 Apr 2020 12:11:19 +0200

sql automatic inspection and analysis tools: soar and soar web installation and use experience

In order to study whether sql automatic inspection and analysis tools are easy to use, I install and use soar and soar web locally. The preliminary experimental results are summarized as follows: 1. The installation is relatively cumbersome, especially the installation of dependency package of soar web, which involves the download and installat ...

Posted by ICEcoffee on Mon, 06 Apr 2020 03:09:13 +0200

Create your own Valentine's Day card in Python. Send it to TA for romance

Tomorrow is Valentine's day. This Valentine's Day is doomed to be a Valentine's day that can't be dated, but not dating doesn't mean that can't be romantic. The ancients were born earlier than us, and those romantic poems were mined out by them. We certainly have no chance. Fortunately, we also have Python, otherwise we don't know how to expres ...

Posted by Scip on Sun, 05 Apr 2020 10:57:31 +0200