Skip to content

lubianat/illustration_to_depicts_wikidata_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# Illustrations to QuickStatements

## Description

This project processes Wikimedia Commons botanical illustrations categories and updates Wikidata based on the number of images found in each category. It uses the WikibaseIntegrator library to interact with Wikidata and updates items with relevant properties.

## Installation

1. Clone the repository:
    ```bash
    git clone https://github.com/lubianat/illustrations_to_quickstatements.git
    cd illustrations_to_quickstatements
    ```

2. Install the required dependencies:
    ```bash
    pip install -r requirements.txt
    ```

3. Create a `login.py` file with your Wikidata credentials:
    ```python
    USERNAME = 'your_username'
    PASSWORD = 'your_password'
    ```

## Usage

Run the script with the desired Wikimedia Commons category:
```bash
python illustrations_to_quickstatements.py <category> [--verbose]

About

A bot code to add illustrations to Wikidata

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages