我的python脚本的集合。也许它们对别人有用。

jfscripts的Python项目详细描述


This package on the Python Package IndexContinuous integrationDocumentation Status

jfscript

我的个人python脚本的集合。

dns-ipv6-prefix.py

usage: dns-ipv6-prefix.py [-h] [-V] dnsname

Get the ipv6 prefix from a DNS name.

positional arguments:
  dnsname        The DNS name, e. g. josef-friedrich.de

optional arguments:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

提取pdftext.py

usage: extract-pdftext.py [-h] [-c] [-v] [-V] file

positional arguments:
  file            A PDF file containing text

optional arguments:
  -h, --help      show this help message and exit
  -c, --colorize  Colorize the terminal output.
  -v, --verbose   Make the command line output more verbose.
  -V, --version   show program's version number and exit

按大小查找重复项。py

usage: find-dupes-by-size.py [-h] [-V] path

Find duplicate files by size.

positional arguments:
  path           A directory to recursively search for duplicate files.

optional arguments:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

列出文件.py

usage: list-files.py [-h] [-V] input_files [input_files ...]

This is a script to demonstrate the list_files() function in this file.

list-files.py a.txt
list-files.py a.txt b.txt c.txt
list-files.py (asterisk).txt
list-files.py "(asterisk).txt"
list-files.py dir/
list-files.py "dir/(asterisk).txt"

positional arguments:
  input_files    Examples for this arguments are: “a.txt”, “a.txt b.txt
                 c.txt”, “(asterisk).txt”, “"(asterisk).txt"”, “dir/”,
                 “"dir/(asterisk).txt"”

optional arguments:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

mac-to-eui64.py

usage: mac-to-eui64.py [-h] [-V] mac prefix

Convert mac addresses to EUI64 ipv6 addresses.

positional arguments:
  mac            The mac address.
  prefix         The ipv6 /64 prefix.

optional arguments:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit

pdf压缩.py

usage: pdf-compress.py [-h] [-c] [-m] [-N] [-v] [-V]
                       {convert,con,c,extract,ex,e,join,jn,j,samples,sp,s,unify,un,u}
                       ...

Convert and compress PDF scans. Make scans suitable for imslp.org
(International Music Score Library Project). See also
http://imslp.org/wiki/IMSLP:Musiknoten_beisteuern. The output files are
monochrome bitmap images at a resolution of 600 dpi and the compression format
CCITT group 4.

positional arguments:
  {convert,con,c,extract,ex,e,join,jn,j,samples,sp,s,unify,un,u}
                        Subcommand

optional arguments:
  -h, --help            show this help message and exit
  -c, --colorize        Colorize the terminal output.
  -m, --multiprocessing
                        Use multiprocessing to run commands in parallel.
  -N, --no-cleanup      Don’t clean up the temporary files.
  -v, --verbose         Make the command line output more verbose.
  -V, --version         show program's version number and exit

将图像转换为pdf.py

usage: image-into-pdf.py [-h] [-c] [-v] [-V]
                         {add,ad,a,convert,cv,c,replace,re,r} ...

Add or replace one page in a PDF file with an image file of the same page
size.

positional arguments:
  {add,ad,a,convert,cv,c,replace,re,r}
                        Subcmd_args

optional arguments:
  -h, --help            show this help message and exit
  -c, --colorize        Colorize the terminal output.
  -v, --verbose         Make the cmd_args line output more verbose.
  -V, --version         show program's version number and exit

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java测试访问令牌过滤器   close()上的java Apache POI运行时异常   java为什么Eclipse中的GWT总是显示错误404?   java从socket python服务器接收消息   java mediaRecorder:start()函数失败   不关闭DB连接可能是Tomcat上Java堆溢出的原因吗?   java JFrame无法关闭   java BigQuery加载本地文件不起作用,位置有问题   java可以在递归任务中使用吗?   servlets如何从JSESSIONID加载Java HttpSession?   java将JFileChooser与PDFBox一起使用时,文件不会另存为pdf,但保存时不带扩展名   java将处理结果存储在表中   java算法发现循环世界中重叠间隔的持续时间(24小时)   在windows 10上双击Eclipse安装程序可执行文件(eclipseinstjrewin64.exe)后,java不会发生任何事情   java编译和部署自定义Solr请求处理程序   Java/Android崩溃ApacheCommonsio2。4.jar   spring web应用程序中的java集成收件箱功能   java Grizzly、Jersey和Spring自动布线问题   java如何在pom中添加jar文件依赖项。xml   关于Android中大量GUI更新编码的java概念(GUI处理程序)