You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Difference between revisions of "Python/Wmflib"

From Wikitech-static
Jump to navigation Jump to search
imported>Volans
(Created page for pywmflib)
 
imported>Jobo
 
Line 6: Line 6:


It's available both on PyPI as [https://pypi.org/project/wmflib/ wmflib] and <code>apt.wikimedia.org</code> as <code>python3-wmflib</code> and its source code lives on Gerrit in the [[git:operations/software/pywmflib/+/refs/heads/master|operations/software/pywmflib]] repository.
It's available both on PyPI as [https://pypi.org/project/wmflib/ wmflib] and <code>apt.wikimedia.org</code> as <code>python3-wmflib</code> and its source code lives on Gerrit in the [[git:operations/software/pywmflib/+/refs/heads/master|operations/software/pywmflib]] repository.
[[Category:SRE Infrastructure Foundations]]

Latest revision as of 09:10, 14 June 2021

A Python package that contains custom modules to interact with the WMF production infrastructure.

It can be used in any script throughout the fleet as it doesn't require any special privilege to be run, as opposed to Spicerack and its Cookbooks and removes the need to re-implement each time the same functionalities over and over again.

For the current available modules see its documentation.

It's available both on PyPI as wmflib and apt.wikimedia.org as python3-wmflib and its source code lives on Gerrit in the operations/software/pywmflib repository.