Git Product home page Git Product logo

script-tools's Introduction

Supported Python versions

script-tools

一些Python脚本工具

CONTENT

  • PIP_CONFIG_REWRITE

    Dcription:

    when I use pip install, for the poor connection, it always timeout in China. The script writen in python to write the configuration of pip, using mirror image source in China(http://pypi.douban.com/simple)

    Usage
     python PIP_CONFIG_REWRITE.py
    
    Online usage
     curl -L https://raw.githubusercontent.com/rhyspang/script-tools/master/PIP_CONFIG_REWRITE.py | python
    
  • RESIZE_IMGS

    Description

    Resize images to specified size in directory you specified

    Usage
     python RESIZE_IMGS.py [-h] [-d DIRECTORY] [-W WIDTH] [-H HEIGHT]
    
     optional arguments:
     -h, --help            show this help message and exit
     -d DIRECTORY, --directory DIRECTORY
                         the directory, default current directory
     -W WIDTH, --width WIDTH
                         the width you want to resize to, default 400
     -H HEIGHT, --height HEIGHT
                         the height you want to resize to, default 250
    
    
  • COUNTING_CODE

    Description

    Counting code in specified directory

    Usage
     python COUNTING_CODE.py [-h] [-d DIRECTORY] [-g]
    
     optional arguments:
     -h, --help            show this help message and exit
     -d DIRECTORY, --directory DIRECTORY
                         the directory you specified
     -g, --graphic      	display by chart using matplotlib (if installed)
    
  • gbk2utf8

    Description

    convert file coding format from gbk to utf-8, like enca

    Usage
     convert file coding format from `gbk` to `utf-8`
    
     optional arguments:
     -h, --help            show this help message and exit
       -d DIRECTORY, --directory DIRECTORY
                             convert all files in the directory
       -f FILENAME, --filename FILENAME
                             file to convert
       -o OUTPUT, --output OUTPUT
                         output filename or directory, is output filename when
                         `-f` argument be used, otherwise, directory name
    
    

script-tools's People

Contributors

rhyspang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.