A collection of my Python scripts. Maybe they are useful for someone else.
Project description
jfscripts
A collection of my Python scripts. They all end with the file extension “py”. Maybe they are useful for someone else.
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
extract-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
find-dupes-by-size.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
list-files.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
image-into-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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jfscripts-1.1.0.tar.gz
(12.9 kB
view details)
Built Distribution
jfscripts-1.1.0-py3-none-any.whl
(15.7 kB
view details)
File details
Details for the file jfscripts-1.1.0.tar.gz
.
File metadata
- Download URL: jfscripts-1.1.0.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.10.4 Linux/5.15.0-41-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2ad9738d033492b97713c446374ba7142c764b819d050974d84b584a0c4cf082
|
|
MD5 |
6fd41bee1c526b212ba9acb94a118645
|
|
BLAKE2b-256 |
0cbf8666088c81fc43f4bc677255d5a3bbf7a01ef4d5edc9345aab3439d8b1f9
|
File details
Details for the file jfscripts-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: jfscripts-1.1.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0b2 CPython/3.10.4 Linux/5.15.0-41-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b088bb638369a6ec7f752a07e9acb14ebb4b94093591fc370b1940f6dcad39e7
|
|
MD5 |
935abe179c52537d5cb4bf4ae0ec3c35
|
|
BLAKE2b-256 |
d806d92dfc515a71a7423a505e050fd396fdefbc0363ce13db01afd4496dc108
|