Code here all run in the latest python stable version python3.7
| Travis CI | |
|---|---|
| Azure Pipelines |
requirements.txt, Pull_Requests_Template, Python_Use, study_program, interesting_program
what_the_fuck, pip_update, scrapy_images, translate_app, zip_to_see
how_many_code, beautiful_code, pyinstaller_all, voice_picture, test
pyaudio, command_to_code, auto_copyright, bilibili, remove
equation_solver, pip_install
All third-party libraries required for this project use:
pip install -r requirements.txt
Install all third-party libraries. Since the installation of the pyaudio library fails, please go to pyaudio-install to download it yourself.
Template documentation for pull requests
Python frameworks and their website organization
Learn Python and its high-level usage through programs
The book folder here is my analysis of this knowledge.
-- written by me
Small python program that can be used for practice or useful
Inspired by wtfpython, collect all kinds of incomprehensible output and give fun and subtle comments
Use the pip library to upgrade python third-party library with one click
No thread file means not using the redis database, which will be slower in terms of speed.
With thread uses the redis database. Please query the relevant tutorials for installing redis before use! First run the main program (note, run it once!). Then run slave1.py on multiple command lines and wait for completion.
Crawl any website image and save it to the specified path
You can formulate crawl URLs, storage locations, and storage formats.
Translate your text in various ways
Currently published on pypi, you can download it using the following command:
pip install quicktranslate
How to use it is as follows:
trans -t example
Quickly decompress zip files
Select the zip file and press the button, the file will be decompressed to the current directory.
How much python code have you written in the calculation path
Enter the path, the program will output the number of comment lines, empty lines and code lines, and the total data of each file.
Format your code using gofmt (format go code), autopep8 or black, currently supports custom parameters
The custom parameter rules are as follows :
file_type ** parameters_run
file_type represents file type, example: .py .go
parameters_run represents the command you want to execute, which can include two variables, they are wrapped in {{}}: - root: represents the file path you entered - file: represents all files under that path
File_type and parameters_run are divided by **
An example custom parameter is as follows:
.py ** autopep8 --in-place -a {{root}}/{{file}}
When the batch is enabled with -F, use pyinstaller to package files and automatically delete redundant files. You can also delete all exe files under the path.
Currently published on pypi, you can download it using the following method:
pip install quickpack
Use as follows:
pack -r -p path
-r means to remove all exe files before packaging.
Note that the maintenance with tkinter has been stopped and used as the latest version
Audio visualizes each frame for clearer image format
Test your code with cProfile and write the results to the csv file
Record and save to file, or playback
You can select the number of seconds, file name, and press the button to start. Save to the current directory, or you can use the button below to recycle it directly.
Convert python command line to runnable python code
My GitHub pages have been published at:
https://code-nick-python.github.io/ctc.html
The input box on the left is used to enter the command line, and the converted code will be displayed in real time on the right.
Automatically add copyright instructions to your work
Currently, configuration files are supported. The json format configuration files are described as follows:
{
//Required parameters, otherwise enter path: "traversal path" in the program,
title: "Title",
license: "license",
year: "Year",
owner: "owner",
// Optional parameters, you can also enter description: "Description" in the program,
cversion: "version number",
update: "Update time",
file: "File name"
}
The parameter description is the same as above, the configuration file selection is:
--config "config file path"
Crawl bilibili barrage and create love word cloud
AV is obtained as follows, if the bilibili video URL is:
https://www.bilibili.com/video/av57841919?from=search&seid=6703067031502678934
Then av is 57841919, just enter it
Remove all files in the directory that have ended with a certain suffix
Example:
file_path(-p, --path) : xxx file_type(-t, --type) : class
Calculate all the roots of the equation
Currently supported:
Parameter description:
Po file operation
Download package using mirror
help:
usage: pipi.py [-h] [-p PACKAGE] [-a | -k | -d | -q | -j]
Use mirror to download python third-party library optional arguments:
-h, --help show this help message and exit
-p PACKAGE, --package PACKAGE
The library you want to download -a, --aliyun Use Alibaba Cloud Mirror -k, --keji Use China University of Science and Technology Mirror -d, --douban Use Douban Mirror -q, --qinghua Use Tsinghua University Mirror -j, --jishu Use China University of Science and Technology Mirror A website for memorizing words
Website address: https://cishen.herokuapp.com
PS : If you have any good idea, welcome talk and pull requests!
author : pynickle
license:
FOR STUDY PROGRAM(EXCEPT BOOK FOLDER), INTERESTING PROGRAM AND WHAT THE FUCK:
WTFPL License
FOR BOOK FOLDER:
BSD-2-Clause License
FOR ELSE:
MIT License