Python toolset for data processing, queries, wikicode generation and page manipulation
Project description
osw
Python toolset for data processing, queries, wikicode generation and page manipulation within OpenSemanticLab. General features for object oriented interaction with knowledge graphs are planned to be moved to a standalone package: oold-python
Installation
pip install osw
Troubleshooting
Error: datamodel-codegen not found
make sure datamodel-codegen is installed and included in PATH, e. g. on jupyterlab:
os.environ["PATH"] += os.pathsep + "/home/jovyan/.local/bin"
Documentation
https://opensemanticlab.github.io/osw-python/
Development
Dev install
pip install -e . [dev,testing]
Activate pre-commit hooks (in git console)
pre-commit install
Run tests
tox -e test
Run integration tests (tests are skipped if login params are not provided)
tox -e test -- --wiki_domain "<osl-domain>" --wiki_username "<(bot)login>" --wiki_password "<password>" --db_username "<username>" --db_password "<password>"
Note
This project has been set up using PyScaffold 4.3.1. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file osw-0.24.1.tar.gz
.
File metadata
- Download URL: osw-0.24.1.tar.gz
- Upload date:
- Size: 171.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d24f4dedfe298af4d44e4da2771978318f24235c7850ab84d4ca48cdd135b8e9 |
|
MD5 | ebb95b966c0506ae2f7ce100fc300370 |
|
BLAKE2b-256 | b392435d4dd402e27da82c9670f624c45ffe8bfc11761e9e77390c4c751a5455 |
File details
Details for the file osw-0.24.1-py3-none-any.whl
.
File metadata
- Download URL: osw-0.24.1-py3-none-any.whl
- Upload date:
- Size: 113.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9bbb8528385432bfe3acc5d22bee4eff74ef72367c2b862328d063f63876a46 |
|
MD5 | 98617b0d45f9b886b1c1ecff69a7b63c |
|
BLAKE2b-256 | ee69353cd14b1d7d5f7cdef99f72e5a51f0ded7c94b48804c7ebd19b33dda897 |