(Introduction) FastAPI for the Python web Framework - an API with higher performance than Flask and Tornada
Officially, the FastAPI is a modern, fast (high-performance) Web framework that uses Python 3.6+ to build APIs based on standard Python type tips
FastAPI on the shoulders of giants?
To a large extent, this giant is the Flask framework.
The FastAPI is syntactically very similar to Flask and has the same workmanship.
Technical background: P ...
Added by Bleej on Thu, 16 Apr 2020 21:26:17 +0300
python crawls to top 250
Catalog
1. Analyze web pages
2. Request server
2.1 import package
2.2 setting up browser proxy
2.3 request server format
2.4 request server code summary
3.xpath extraction information
3.1 method of getting xpath node
3.2xpath extract content
3.2.1 extract text
3.2.2 extract links
3.2.3 extract label elements
4. Regular expression
4.1 e ...
Added by Tucker1337 on Wed, 15 Apr 2020 17:31:06 +0300
Django website project offline QR code scanning payment
1. Preliminary work
Before proceeding, we need a Alipay sandbox environment to enter the sandbox environment web site: https://openhome.alipay.com/platform/appDaily.htm?tab=info
Β
Β
The way to set the key is to download the Alipay generated key tool: the address and the extraction code of the toolkit:
Link: https://pan.baidu.com/s/1AXK3s4S ...
Added by rlgriffo on Tue, 14 Apr 2020 13:53:02 +0300
Python 3.x install HTMLTestRunner and use
Author: Wind complains about Jiangnan origin: https://www.cnblogs.com/mengjinxiang The author is original, the article is welcome to reprint, if you like, please comment + attention, thank you for your support!
Β
Foreword: Recently I have been writing Python related technical blogs on other blog Forums - > https://blog.csdn.net/JackMengJin P ...
Added by DarkArchon on Tue, 07 Apr 2020 20:10:34 +0300
Create Sphinx + GitHub + ReadtheDocs managed document
Latest blog link "Tsanfer's Blog"
Create Sphinx + GitHub + ReadtheDocs managed document
Read the docs online ebook link
π΅π΅π΅π΅πΌπΌπΌπΌπ§πΌπΌπΌπΌπ΅π΅π΅π΅
Sphinx
Github
Readthedocs
Final effect
Linux configuration
Win10 Ubuntu Subsystem path:%USERNAME%\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79rhkp ...
Added by dirkdetken on Tue, 10 Mar 2020 12:06:20 +0200
django project case understanding, using advanced features to improve the blog program
Chapter II Contents:
Using django to send mail
Create forms and process them in views
Create form from model
Consolidate third-party applications
Building a complex QuerySet
2.1 sharing posts by email
For the mail sending function of a post, you need to do the following:
Create user form, fill in nam ...
Added by harishkumar09 on Tue, 10 Mar 2020 04:44:45 +0200
Python crawler notes -- crawling for the new fun Pavilion
Preliminary preparation:
(1) Install requests (get HTML information for the entire web page)
In cmd, use the following command to install requests:
pip install requests
(2) Install beautiful soup4 (parse HTML information and extract what we need)
In cmd, use the following command to install requests:
p ...
Added by manichean on Tue, 03 Mar 2020 09:51:48 +0200
NLP: 1 - use NLTK to understand corpus
Key points of this chapter:
Using NLTK to understand corpus
Import corpus
NLTK Library
0, local corpus to Text
1. Search text
Article search: concordance()
Similar search: similar()
Context search: common UU contexts()
Visual word frequency: dispersion [plot()
2. Vocabulary count
Length: len()
...
Added by anirbanb2004 on Sun, 01 Mar 2020 09:27:15 +0200
Q sister brings you to earn extra money: a wave of high-quality welfare problems hit
Hello, everyone. I'm yours Must ask Sister Q.
What interesting and challenging topics did sister Q find today? Let's have a look.
Q1: How can Scrapy get the browser's temporary cookie s?
Problem Description:
How does the script get the same temporary cookie s as the browser?
For example, lv's offici ...
Added by bluegray on Thu, 27 Feb 2020 11:14:06 +0200
What is the principle of visualizing epidemic maps in 100 lines of code?
Preface
This Spring Festival, everyone is paying close attention to the progress of the epidemic.Many people wake up every day and turn on their mobile phones. The first thing they do is look at the epidemic map of their home town.What you might see is this:
Or it could be:
The progress of the epide ...
Added by chrisprse on Fri, 21 Feb 2020 04:17:41 +0200