Publish your own Python Library

These two days, for convenience, I tossed about a tool I wrote, and studied how to publish my Python library. Recorded here, I mainly introduced the following contents. The complete process of publishing Python Libraries The Method of Publishing Your Command Line Tools through Python Library Check d ...

Added by dvd420 on Thu, 01 Aug 2019 09:33:21 +0300

django full-text retrieval using haystack

Using haystack to implement django full-text search engine django is a powerful web framework for python.With some plug-ins, it's easy to add search capabilities to a web site. Search engine uses whoosh, which is a full-text search engine implemented by pure python. It is compact and simple. Chinese s ...

Added by trufla on Thu, 01 Aug 2019 04:27:55 +0300

python downloads ECMWF European Center data in batches

The api provided by ECMWF European Center can only be downloaded in a single time. I have changed it a little and can download it in batches according to the time. Detailed steps are as follows: 1. Registered account obtains key. Website:https://cds.climate.copernicus.eu/#!/home The url and key are stor ...

Added by kobmat on Wed, 31 Jul 2019 18:34:56 +0300

Pyrtorch Learning Notes

I. Pytorch Installation Install cuda and cudnn, such as cuda 10, cudnn 7.5 Download torch: https://pytorch.org/Select to download whl files for torch and torchvision Install torch with pip install whl_dir and torchvision at the same time   Preliminary use of pytorch # -*- coding:utf-8 -*- __author__ = 'Leo.Z' import torch import ti ...

Added by l3asturd on Wed, 31 Jul 2019 13:38:53 +0300

Two Linux magic tools that Java developers must master

<font color='blue'>Zi said: "If you want to do good things, you must first use the tools."</font> Be a positive personCode, bug fix, improve yourselfI have a park for programming, spring blossom! Learning should be happy. In this park, I try my best to explain knowledge or technology with simple and easy-to-understand (fun ...

Added by NTGr on Thu, 25 Jul 2019 03:07:47 +0300

Introduction to Python Crawler [13]: All IT eBooks Multithread Crawling

All IT eBooks Multithread Crawl - Write in front For a crawler enthusiast, there is more or less a little bit of collecting addiction - finding good pictures, finding good books, finding all kinds of things that can be stored on the computer, all like to crawl it down in batches. And then, yeah, that' ...

Added by datafan on Tue, 23 Jul 2019 16:05:46 +0300

django and xadmin build background management system-xadmin installation and use

After installing django, it's time to install xadmin. We all know that Django has its own native background admin, but here we don't need admin, we use xadmin, because the interface of xadmin is more beautiful. 1. Installation of xadmin First log in to root user and install xadmin: 1pip install https://github.com/sshwsfc/xadmin/tar ...

Added by the_reverend on Tue, 23 Jul 2019 13:12:20 +0300

Django Learning Road 5-Admin Background Management

Brief Introduction to Admin Django has an excellent feature, built-in Django admin background management interface, to facilitate managers to add and delete website content. Setting Admin The new project system has set up the background management function for us. You can view it in my_blog/my_blog/set.py INSTALLED_APPS = ( 'django.co ...

Added by utherwun on Mon, 15 Jul 2019 03:24:39 +0300

traceroute Routing Tracking with Python and Capy

Catalog Author's Configuration Environment Need for support Step 1: Install scapy Step 2: Install Graphviz and Image Magick Step 3: Add environment variables Step 4: Testing Generate svg images Problems encountered and Solutions Author's Configuration Environm ...

Added by Lustre on Mon, 08 Jul 2019 21:32:12 +0300

Build Jenkins on Centos

1 Install the new version of python. Download Python-2.7.13.tar.gz and decompress it to run. / configure & make & make install. You need to configure the python program in $PATH and execute Ln-S Python 2.7 Python under / usr/bin to make a new link. This will result in the failure of the yum program. Errors were reported as follows: ...

Added by aragon1337 on Mon, 08 Jul 2019 01:49:34 +0300