Skip to content

tshrinivasan/tools-for-wiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tools-for-wiki

pdf-upload-commons

setup

  1. clone this repository
  2. run pdf-djvu-uploader-commons-v2.py with username and sourcedir (replace mohan43u with your wikimedia account's username)
./scripts/venvrun.sh ./pdf-upload-commons/pdf-djvu-uploader-commons-v2.py mohan43u /path/to/sourcedir/where/pdf/files/available
  1. once finished, the python code will move uploaded pdf/djvu file to /path/to/sourcedir/where/pdf/files/available/uploaded directory

pdf-crop-scale

this tool is used to crop pdf files with specific parameters

setup

  1. clone this repository
  2. run following command to get detailed help, follow the examples given in the help message
./scripts/venvrun.sh ./pdf-crop-scale/pdf-crop-scale.py --help

columncombine

This tool is used to combine two files in column order

setup

  1. clone this repository
  2. run following command to combine two files in column order with tilde as delimiter
./scripts/venvrun.sh ./columncombine/columncombine.py file1.txt file2.txt

previous-pageno-generator

This tool is used to generate previous page numbers

setup

  1. clone this repository
  2. run following command to generate previous page number in each line based on next page number in the next line
./scripts/venvrun.sh ./previous-pageno-generator/previous-pageno-generator.py file.txt

About

Tools required for wiki projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •