Coder Social home page Coder Social logo

cuneiform_uploader's Introduction

Wikimedia Commons Cuneiform Uploader

A simple Python script that uploads cuneiform images to Wikimedia commons. Not all of this code was written by me. It is a modified version of this Python package called "Simple Commons Uploader" (or scu for short). The images are not provided with this repository. You can find some relevant Cuneiform images at this link. The second file, entry_editor.py, allows you to batch edit which image files are associated with various Wikidata items. Make sure to install WikidataIntegrator first.

How to use this repository

Run python uploader.py -i name_of_folder, where name_of_folder is the path to an image folder containing the images you want uploaded to Wikimedia Commons. Type in your credentials at the prompt.

Metadata Generation

The image description is the name of the file, without the extension. The image date is the date on which the script is run. The image author and source will default to my name and a GitHub repository that I own. But this can be easily changed by editing the script.

Caveats

Wikidata rate limits may slow you down. This is especially true for entry_edtior.py. To avoid rate limits, the program sleeps for 0.5 seconds after each image edit.

cuneiform_uploader's People

Contributors

vkethana avatar

Stargazers

Adam Anderson avatar

Watchers

 avatar

cuneiform_uploader's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.