Skip to main content

Python module and CLI tool tool that reads Apache2

Project description

configuration files and automagically performs wp-cli updates and maintenance on discovered wordpress installations. Home-page: Author: Arturo “Buanzo” Busleiman Author-email: License: GPLv3 Description: # Wordpress Updater

wordpress-updater is a script I coded for my digitalocean LAMP droplets that run wordpress sites. I prefer to update all the time, and deal with websites breaking than deal with websites being abused and the associated problems.

Basically, it is a simple script to call wp-cli {core,plugin,theme} update on each wordpress setup it finds. It uses Apache’s configuration files to get DocumentRoot entries to initiate searches for wordpress instances.

It then runs wp-cli on those locations, according to command line options.

It supports core update, plugin update –all, theme update –all, transient delete –expired.

Additionally, it supports conditional execution when run with –tags parameters. This functionality is only available on DigitalOcean droplets.

Installation is done through pip3, please check the wiki for more information:

Since version 0.5, wordpress-updaters supports reporting of non-zero exit status of wp-cli commands, and other errors, using Hume:


Arturo ‘Buanzo’ Busleiman

Keywords: wordpress,wp-cli,wrapper,apache2,automagically,digitalocean,devops,sysadmin Platform: UNKNOWN Classifier: Environment :: Console Classifier: Intended Audience :: Developers Classifier: Intended Audience :: System Administrators Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3) Classifier: Natural Language :: English Classifier: Operating System :: POSIX :: Linux Classifier: Operating System :: POSIX :: Other Classifier: Operating System :: POSIX Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.6

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wordpressupdater, version 0.5.2
Filename, size File type Python version Upload date Hashes
Filename, size wordpressupdater-0.5.2-py3-none-any.whl (8.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wordpressupdater-0.5.2.tar.gz (6.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page