Metadata-Version: 2.1
Name: jfscripts
Version: 0.5.0
Summary: A collection of my Python scripts. Maybe they are useful for someone else.
Home-page: https://github.com/Josef-Friedrich/python-scripts
Author: Josef Friedrich
Author-email: josef@friedrich.rocks
License: MIT
Project-URL: Documentation, http://jfscripts.readthedocs.io/en/latest/
Project-URL: Source, https://github.com/Josef-Friedrich/python-scripts
Project-URL: Tracker, https://github.com/Josef-Friedrich/python-scripts/issues
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.6
Requires-Python: >=3.6
License-File: LICENSE


.. image:: http://img.shields.io/pypi/v/jfscripts.svg
    :target: https://pypi.python.org/pypi/jfscripts
    :alt: This package on the Python Package Index

.. image:: https://travis-ci.org/Josef-Friedrich/jfscripts.svg?branch=master
    :target: https://travis-ci.org/Josef-Friedrich/jfscripts
    :alt: Continuous integration

.. image:: https://readthedocs.org/projects/jfscripts/badge/?version=latest
    :target: https://jfscripts.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

*********
jfscripts
*********

A collection of my personal Python scripts.


dns-ipv6-prefix.py
------------------

.. code-block:: text

    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

extract-pdftext.py
------------------

.. code-block:: text

    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

find-dupes-by-size.py
---------------------

.. code-block:: text

    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

list-files.py
-------------

.. code-block:: text

    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
---------------

.. code-block:: text

    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-compress.py
---------------

.. code-block:: text

    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

image-into-pdf.py
-----------------

.. code-block:: text

    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


