A Wikidata bot that makes sanity checks for the Wikidata Forges project.
Project description
F3 Wikidata Bot
f3wikidatabot is a python module and command-line tool for the wikidata Forges project.
Setup
git clone --recursive https://lab.forgefriends.org/friendlyforgeformat/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 build
$ poetry publish
License
This project is licensed under the GPLv3+ License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
f3wikidatabot-0.0.2.tar.gz
(25.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file f3wikidatabot-0.0.2.tar.gz.
File metadata
- Download URL: f3wikidatabot-0.0.2.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.2 Linux/6.4.0-4-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68896b0fbb48bef9dc8ea659436118cb6c9c7aa3ee1eacef3604d07609b500a0
|
|
| MD5 |
d5ff1f8f6d98d659267ace21a975cb36
|
|
| BLAKE2b-256 |
b33f3be3f0437d5e98cd9f76eabf197fde13dc585f9ff0a99bfa05ab9dbf786d
|
File details
Details for the file f3wikidatabot-0.0.2-py3-none-any.whl.
File metadata
- Download URL: f3wikidatabot-0.0.2-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.9.2 Linux/6.4.0-4-amd64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf607e253e8eae55026ad48026cc3fbd7121c3a326483d2ed832227f76a2babb
|
|
| MD5 |
cbfa0d6956e55a9cac537e9807303abc
|
|
| BLAKE2b-256 |
23378c14e232f24518dde7b541f3104cb899642b63c3f9a1bf6f6bab688e10f2
|