Skip to content

lucas992x/python-utils

Repository files navigation

This repository contains some utilities written in Python, specifically:

  • batch-download.py downloads a list of files reading them from a text file. It works with URLs, but can also be used with filenames from any MediaWiki-based website: in this case list can be retrieved using Pywikibot's listpages with -format:3 to format it properly and -cat:"<category name>", -imagesused:"<page title>" or any other generator/filter.
  • fix-wsl.py edits two files in Pywikibot repository to make it work with Windows Subsystem for Linux.
  • rename-pairs.py renames all files in given directory reading replacements from a text file.

About

Utilities in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages