{"id":13661136,"url":"https://github.com/wikimedia/pywikibot","last_synced_at":"2025-12-16T22:04:20.782Z","repository":{"id":9037043,"uuid":"10798864","full_name":"wikimedia/pywikibot","owner":"wikimedia","description":"A Python library that interfaces with the MediaWiki API. This is a mirror from gerrit.wikimedia.org. Do not submit any patches here. See https://www.mediawiki.org/wiki/Developer_account for contributing.","archived":false,"fork":false,"pushed_at":"2025-12-10T11:16:03.000Z","size":65585,"stargazers_count":710,"open_issues_count":0,"forks_count":208,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-12-10T12:57:05.077Z","etag":null,"topics":["api-client","commons","mediawiki","python","wikia","wikidata","wikimedia","wikipedia"],"latest_commit_sha":null,"homepage":"https://www.mediawiki.org/wiki/Manual:Pywikibot","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wikimedia.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.rst","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"docs/SECURITY.rst","support":null,"governance":null,"roadmap":"ROADMAP.rst","authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-06-19T16:18:45.000Z","updated_at":"2025-12-10T11:16:07.000Z","dependencies_parsed_at":"2023-10-11T21:19:09.879Z","dependency_job_id":"c6e14bde-1530-4854-8c9a-595db2c50bee","html_url":"https://github.com/wikimedia/pywikibot","commit_stats":{"total_commits":12915,"total_committers":315,"mean_commits":41.0,"dds":0.5898567557104142,"last_synced_commit":"cfdf72b87985d0206ee6859be2f459fb78e664fa"},"previous_names":[],"tags_count":116,"template":false,"template_full_name":null,"purl":"pkg:github/wikimedia/pywikibot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fpywikibot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fpywikibot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fpywikibot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fpywikibot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wikimedia","download_url":"https://codeload.github.com/wikimedia/pywikibot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wikimedia%2Fpywikibot/sbom","scorecard":{"id":385351,"data":{"date":"2025-07-28","repo":{"name":"github.com/wikimedia/pywikibot","commit":"01d70d09478070ab28f98afcaa17456868fb6f6a"},"scorecard":{"version":"v5.2.1-26-g4feedb85","commit":"4feedb857ab8d82158aa9774bf8054df41992180"},"score":3.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/doctest.yml:1","Warn: no topLevel permission defined: .github/workflows/login_tests-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/oauth_tests-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/pre-commit.yml:1","Warn: no topLevel permission defined: .github/workflows/pywikibot-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/sysop_write_tests-ci.yml:1","Warn: no topLevel permission defined: .github/workflows/windows_tests.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#token-permissions"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#license"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#sast"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#signed-releases"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#binary-artifacts"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#fuzzing"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Info: Possibly incomplete results: error parsing job operating system: .github/workflows/oauth_tests-ci.yml:68","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/oauth_tests-ci.yml:82","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/oauth_tests-ci.yml:85","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/oauth_tests-ci.yml:89","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/oauth_tests-ci.yml:97","Info: Possibly incomplete results: error parsing job operating system: .github/workflows/oauth_tests-ci.yml:106","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doctest.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/doctest.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/doctest.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/doctest.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/doctest.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/doctest.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/doctest.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/doctest.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/login_tests-ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/login_tests-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/login_tests-ci.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/login_tests-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/login_tests-ci.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/login_tests-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/login_tests-ci.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/login_tests-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/login_tests-ci.yml:126: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/login_tests-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/oauth_tests-ci.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/oauth_tests-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/oauth_tests-ci.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/oauth_tests-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/oauth_tests-ci.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/oauth_tests-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/oauth_tests-ci.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/oauth_tests-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/oauth_tests-ci.yml:63: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/oauth_tests-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/oauth_tests-ci.yml:110: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/oauth_tests-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pre-commit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pre-commit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pre-commit.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pre-commit.yml:44: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pre-commit.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pywikibot-ci.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pywikibot-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pywikibot-ci.yml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pywikibot-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pywikibot-ci.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pywikibot-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pywikibot-ci.yml:145: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/pywikibot-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sysop_write_tests-ci.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/sysop_write_tests-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/sysop_write_tests-ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/sysop_write_tests-ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/sysop_write_tests-ci.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/sysop_write_tests-ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows_tests.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/windows_tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/windows_tests.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/windows_tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/windows_tests.yml:80: update your workflow using https://app.stepsecurity.io/secureworkflow/wikimedia/pywikibot/windows_tests.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating python:3.8-slim to python:3.8-slim@sha256:1d52838af602b4b5a831beb13a0e4d073280665ea7be7f69ce2382f29c5a613f","Warn: containerImage not pinned by hash: Dockerfile-dev:1: pin your Docker image by updating python:3.8 to python:3.8@sha256:d411270700143fa2683cc8264d9fa5d3279fd3b6afff62ae81ea2f9d070e390c","Warn: pipCommand not pinned by hash: Dockerfile:6","Warn: pipCommand not pinned by hash: Dockerfile:9","Warn: pipCommand not pinned by hash: Dockerfile-dev:7","Warn: pipCommand not pinned by hash: Dockerfile-dev:8","Warn: pipCommand not pinned by hash: Dockerfile-dev:11","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:49","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:51","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:52","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:53","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:54","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:55","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:56","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:57","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:58","Warn: pipCommand not pinned by hash: .github/workflows/doctest.yml:59","Warn: pipCommand not pinned by hash: .github/workflows/login_tests-ci.yml:82","Warn: pipCommand not pinned by hash: .github/workflows/login_tests-ci.yml:84","Warn: pipCommand not pinned by hash: .github/workflows/login_tests-ci.yml:85","Warn: pipCommand not pinned by hash: .github/workflows/login_tests-ci.yml:86","Warn: pipCommand not pinned by hash: .github/workflows/login_tests-ci.yml:87","Warn: pipCommand not pinned by hash: .github/workflows/login_tests-ci.yml:88","Warn: pipCommand not pinned by hash: .github/workflows/login_tests-ci.yml:89","Warn: pipCommand not pinned by hash: .github/workflows/pywikibot-ci.yml:93","Warn: pipCommand not pinned by hash: .github/workflows/pywikibot-ci.yml:95","Warn: pipCommand not pinned by hash: .github/workflows/pywikibot-ci.yml:96","Warn: pipCommand not pinned by hash: .github/workflows/pywikibot-ci.yml:97","Warn: pipCommand not pinned by hash: .github/workflows/pywikibot-ci.yml:101","Warn: pipCommand not pinned by hash: .github/workflows/sysop_write_tests-ci.yml:39","Warn: pipCommand not pinned by hash: .github/workflows/sysop_write_tests-ci.yml:41","Warn: pipCommand not pinned by hash: .github/workflows/sysop_write_tests-ci.yml:42","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  15 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of  30 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":0,"reason":"58 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-3c5c-7235-994j","Warn: Project is vulnerable to: GHSA-3f63-hfp8-52jq","Warn: Project is vulnerable to: PYSEC-2021-41 / GHSA-3wvg-mj6g-m9cv","Warn: Project is vulnerable to: PYSEC-2020-77 / GHSA-3xv8-3j54-hgrp","Warn: Project is vulnerable to: PYSEC-2020-80 / GHSA-43fq-w8qq-v88h","Warn: Project is vulnerable to: GHSA-44wm-f244-xhp3","Warn: Project is vulnerable to: GHSA-4fx9-vc88-q2xc","Warn: Project is vulnerable to: PYSEC-2021-35 / GHSA-57h3-9rgr-c24m","Warn: Project is vulnerable to: PYSEC-2020-172 / GHSA-5gm3-px64-rw72","Warn: Project is vulnerable to: PYSEC-2021-331 / GHSA-7534-mm45-c74v","Warn: Project is vulnerable to: PYSEC-2021-92 / GHSA-7r7m-5h27-29hp","Warn: Project is vulnerable to: PYSEC-2020-78 / GHSA-8843-m7mw-mxqm","Warn: Project is vulnerable to: PYSEC-2023-227 / GHSA-8ghj-p4vj-mr35","Warn: Project is vulnerable to: PYSEC-2014-87 / GHSA-8m9x-pxwq-j236","Warn: Project is vulnerable to: PYSEC-2022-10 / GHSA-8vj2-vxx3-667w","Warn: Project is vulnerable to: PYSEC-2021-36 / GHSA-8xjq-8fcg-g5hw","Warn: Project is vulnerable to: PYSEC-2016-6 / GHSA-8xjv-v9xq-m5h9","Warn: Project is vulnerable to: PYSEC-2021-42 / GHSA-95q3-8gr9-gm8w","Warn: Project is vulnerable to: PYSEC-2022-168 / GHSA-9j59-75qj-795w","Warn: Project is vulnerable to: PYSEC-2014-10 / GHSA-cfmr-38g9-f2h7","Warn: Project is vulnerable to: PYSEC-2020-76 / GHSA-cqhg-xjhh-p8hf","Warn: Project is vulnerable to: PYSEC-2021-40 / GHSA-f4w8-cv6p-x6r5","Warn: Project is vulnerable to: PYSEC-2021-69 / GHSA-f5g8-5qq7-938w","Warn: Project is vulnerable to: PYSEC-2021-139 / GHSA-g6rj-rv7j-xwp4","Warn: Project is vulnerable to: PYSEC-2015-16 / GHSA-h5rf-vgqx-wjv2","Warn: Project is vulnerable to: PYSEC-2016-5 / GHSA-hggx-3h72-49ww","Warn: Project is vulnerable to: PYSEC-2020-84 / GHSA-hj69-c76v-86wr","Warn: Project is vulnerable to: PYSEC-2016-7 / GHSA-hvr8-466p-75rh","Warn: Project is vulnerable to: PYSEC-2015-15 / GHSA-j6f7-g425-4gmx","Warn: Project is vulnerable to: GHSA-j7hp-h8jx-5ppr","Warn: Project is vulnerable to: PYSEC-2019-110 / GHSA-j7mj-748x-7p78","Warn: Project is vulnerable to: GHSA-jgpv-4h4c-xhw3","Warn: Project is vulnerable to: PYSEC-2022-42979 / GHSA-m2vv-5vj5-2hm7","Warn: Project is vulnerable to: PYSEC-2021-37 / GHSA-mvg9-xffr-p774","Warn: Project is vulnerable to: PYSEC-2020-83 / GHSA-p49h-hjvm-jg3h","Warn: Project is vulnerable to: PYSEC-2022-8 / GHSA-pw3c-h7wp-cvhx","Warn: Project is vulnerable to: PYSEC-2021-93 / GHSA-q5hq-fp76-qmrc","Warn: Project is vulnerable to: PYSEC-2020-82 / GHSA-r7rm-8j6h-r933","Warn: Project is vulnerable to: PYSEC-2014-23 / GHSA-r854-96gq-rfg3","Warn: Project is vulnerable to: PYSEC-2016-8 / GHSA-rwr3-c2q8-gm56","Warn: Project is vulnerable to: PYSEC-2020-81 / GHSA-vcqg-3p29-xw73","Warn: Project is vulnerable to: PYSEC-2020-79 / GHSA-vj42-xq3r-hr3r","Warn: Project is vulnerable to: PYSEC-2021-70 / GHSA-vqcj-wrf2-7v73","Warn: Project is vulnerable to: PYSEC-2016-9 / GHSA-w4vg-rf63-f3j3","Warn: Project is vulnerable to: PYSEC-2014-22 / GHSA-x895-2wrm-hvp7","Warn: Project is vulnerable to: PYSEC-2022-9 / GHSA-xrcv-f9gm-v42c","Warn: Project is vulnerable to: OSV-2022-715","Warn: Project is vulnerable to: PYSEC-2021-137","Warn: Project is vulnerable to: PYSEC-2021-138","Warn: Project is vulnerable to: PYSEC-2021-317","Warn: Project is vulnerable to: PYSEC-2021-38","Warn: Project is vulnerable to: PYSEC-2021-39","Warn: Project is vulnerable to: PYSEC-2021-94","Warn: Project is vulnerable to: PYSEC-2022-42980","Warn: Project is vulnerable to: PYSEC-2023-175","Warn: Project is vulnerable to: PYSEC-2017-24 / GHSA-r9jw-mwhq-wp62","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/4feedb857ab8d82158aa9774bf8054df41992180/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T16:28:04.046Z","repository_id":9037043,"created_at":"2025-08-18T16:28:04.046Z","updated_at":"2025-08-18T16:28:04.046Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27694506,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-12T02:00:06.775Z","response_time":129,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","commons","mediawiki","python","wikia","wikidata","wikimedia","wikipedia"],"created_at":"2024-08-02T05:01:30.216Z","updated_at":"2025-12-16T22:04:20.775Z","avatar_url":"https://github.com/wikimedia.png","language":"Python","readme":".. image:: https://github.com/wikimedia/pywikibot/actions/workflows/pywikibot-ci.yml/badge.svg?branch=master\n   :alt: GitHub CI\n   :target: https://github.com/wikimedia/pywikibot/actions/workflows/pywikibot-ci.yml\n.. image:: https://codecov.io/gh/wikimedia/pywikibot/branch/master/graph/badge.svg\n   :alt: Code coverage\n   :target: https://app.codecov.io/gh/wikimedia/pywikibot\n.. image:: https://img.shields.io/pypi/pyversions/pywikibot.svg\n   :alt: Python\n   :target: https://www.python.org/downloads/\n.. image:: https://img.shields.io/github/languages/top/wikimedia/pywikibot\n   :alt: Top language\n   :target: https://www.python.org/downloads/\n.. image:: https://img.shields.io/pypi/v/pywikibot.svg\n   :alt: Pywikibot release\n   :target: https://pypi.org/project/pywikibot/\n.. image:: https://img.shields.io/pypi/wheel/pywikibot\n   :alt: wheel\n   :target: https://pypi.org/project/pywikibot/\n.. image:: https://static.pepy.tech/badge/pywikibot\n   :alt: Total downloads\n   :target: https://pepy.tech/project/pywikibot\n.. image:: https://static.pepy.tech/personalized-badge/pywikibot?period=month\u0026units=international_system\u0026left_color=black\u0026right_color=blue\u0026left_text=monthly\n   :alt: Monthly downloads\n   :target: https://pepy.tech/project/pywikibot\n.. image:: https://img.shields.io/github/last-commit/wikimedia/pywikibot\n   :alt: Last commit\n   :target: https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/\n.. image:: https://snyk.io/advisor/python/pywikibot/badge.svg\n   :target: https://snyk.io/advisor/python/pywikibot\n   :alt: pywikibot\n\n\n*********\nPywikibot\n*********\n\nThe Pywikibot framework is a Python library that interfaces with the\n`MediaWiki API \u003chttps://www.mediawiki.org/wiki/API:Main_page\u003e`_\nversion 1.31 or higher.\n\nAlso included are various general function scripts that can be adapted for\ndifferent tasks.\n\nFor further information about the library excluding scripts see\nthe full `code documentation \u003chttps://doc.wikimedia.org/pywikibot/stable/\u003e`_.\n\nQuick start\n===========\n\n.. code:: text\n\n    git clone https://gerrit.wikimedia.org/r/pywikibot/core.git\n    cd core\n    git submodule update --init\n    pip install -r requirements.txt\n    python pwb.py \u003cscript_name\u003e\n\nOr to install using PyPI (excluding scripts)\n\n.. code:: text\n\n    pip install pywikibot\n    pwb \u003cscriptname\u003e\n\nOur `installation\nguide \u003chttps://www.mediawiki.org/wiki/Manual:Pywikibot/Installation\u003e`_\nhas more details for advanced usage.\n\nBasic Usage\n===========\n\nIf you wish to write your own script it's very easy to get started:\n\n.. code:: python\n\n    import pywikibot\n    site = pywikibot.Site('en', 'wikipedia')  # The site we want to run our bot on\n    page = pywikibot.Page(site, 'Wikipedia:Sandbox')\n    page.text = page.text.replace('foo', 'bar')\n    page.save('Replacing \"foo\" with \"bar\"')  # Saves the page\n\nWikibase Usage\n==============\n\nWikibase is a flexible knowledge base software that drives Wikidata.\nA sample pywikibot script for getting data from Wikibase:\n\n.. code:: python\n\n    import pywikibot\n    site = pywikibot.Site('wikipedia:en')\n    repo = site.data_repository()  # the Wikibase repository for given site\n    page = repo.page_from_repository('Q91')  # create a local page for the given item\n    item = pywikibot.ItemPage(repo, 'Q91')  # a repository item\n    data = item.get()  # get all item data from repository for this item\n\nScript example\n==============\n\nPywikibot provides bot classes to develop your own script easily:\n\n.. code:: python\n\n    import pywikibot\n    from pywikibot import pagegenerators\n    from pywikibot.bot import ExistingPageBot\n\n    class MyBot(ExistingPageBot):\n\n        update_options = {\n            'text': 'This is a test text',\n            'summary': 'Bot: a bot test edit with Pywikibot.'\n        }\n\n        def treat_page(self):\n            \"\"\"Load the given page, do some changes, and save it.\"\"\"\n            text = self.current_page.text\n            text += '\\n' + self.opt.text\n            self.put_current(text, summary=self.opt.summary)\n\n    def main():\n        \"\"\"Parse command line arguments and invoke bot.\"\"\"\n        options = {}\n        gen_factory = pagegenerators.GeneratorFactory()\n        # Option parsing\n        local_args = pywikibot.handle_args(args)  # global options\n        local_args = gen_factory.handle_args(local_args)  # generators options\n        for arg in local_args:\n            opt, sep, value = arg.partition(':')\n            if opt in ('-summary', '-text'):\n                options[opt[1:]] = value\n        MyBot(generator=gen_factory.getCombinedGenerator(), **options).run()\n\n    if __name == '__main__':\n        main()\n\n\nFor more documentation on Pywikibot see our `docs \u003chttps://doc.wikimedia.org/pywikibot/\u003e`_.\n\n\nRoadmap\n=======\n\n.. include:: ROADMAP.rst\n\nRelease history\n===============\n\nSee https://github.com/wikimedia/pywikibot/blob/stable/HISTORY.rst\n\nContributing\n============\n\nOur code is maintained on Wikimedia's `Gerrit installation \u003chttps://gerrit.wikimedia.org/\u003e`_,\n`learn \u003chttps://www.mediawiki.org/wiki/Developer_account\u003e`_ how to get\nstarted.\n\n.. include:: CODE_OF_CONDUCT.rst\n","funding_links":[],"categories":["Python","Libraries"],"sub_categories":["Command-line"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikimedia%2Fpywikibot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwikimedia%2Fpywikibot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwikimedia%2Fpywikibot/lists"}