F3 Wikidata Bot
Find a file
2024-07-17 09:53:02 +00:00
bin s/F3WikidataBot/f3wikidatabot/ 2023-09-06 10:09:05 +02:00
f3wikidatabot tests: wait more when creating an item, all the time 2024-07-17 08:50:04 +02:00
.gitignore ignore apicache 2024-06-26 10:08:30 +02:00
.gitlab-ci.yml be super verbose in tests 2023-05-10 18:40:01 +02:00
LICENSE bootstrap 2023-04-26 09:13:33 +02:00
poetry.lock stick to pytest 7 2024-06-19 10:51:31 +02:00
pyproject.toml Merge pull request 'stick to pytest 7' (#4) from jean-daricade/f3-wikidata-bot:wip-pytest into main 2024-06-19 08:53:13 +00:00
README.md lab.forgefriends.org/friendlyforgeformat moved to code.forgejo.org/f3 2024-06-19 09:55:12 +02:00
tox.ini s/F3WikidataBot/f3wikidatabot/ 2023-09-06 10:09:05 +02:00
user-config.py Format. 2023-04-26 11:16:10 +02:00

F3 Wikidata Bot

f3wikidatabot is a python module and command-line tool for the wikidata Forges project.

Setup

git clone --recursive https://code.forgejo.org/f3/f3-wikidata-bot.git
cd f3-wikidata-bot
echo layout python3 > .envrc
direnv allow
pip install poetry
poetry install

Usage

From the source tree:

PYTHONPATH=$(pwd) python bin/f3wikidatabot  --help

Using the module from PyPI:

from f3wikidatabot import bot

b = bot.Bot.factory(["--verbose", "--show", "--plugin", "Features"])

for forge in b.run_query():
    print(forge)

Publish

$ poetry config pypi-token.pypi {pypi token}
$ poetry version patch
$ poetry build
$ poetry publish

License

This project is licensed under the GPLv3+ License.

Funding

This project is funded through the NGI Assure Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet program. Learn more on the NLnet project page.

NLnet foundation logo NGI Assure Logo