[![PyPI-Server](https://img.shields.io/pypi/v/osw.svg)](https://pypi.org/project/osw/)
[![DOI](https://zenodo.org/badge/458130867.svg)](https://zenodo.org/badge/latestdoi/458130867)
[![Coveralls](https://img.shields.io/coveralls/github/OpenSemanticLab/osw-python/main.svg)](https://coveralls.io/r/<USER>/osw)
[![Project generated with PyScaffold](https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold)](https://pyscaffold.org/)
# 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](https://github.com/OpenSemanticWorld/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
```bash
pip install -e .
```
Run tests
```bash
tox -e test
```
Run integration tests (tests are skipped if login params are not provided)
```bash
tox -e test -- --wiki_domain "<osl-domain>" --wiki_username "<(bot)login>" --wiki_password "<password>" --db_username "<username>" --db_password "<password>"
```
<!-- pyscaffold-notes -->
## Note
This project has been set up using PyScaffold 4.3.1. For details and usage
information on PyScaffold see https://pyscaffold.org/.
Raw data
{
"_id": null,
"home_page": "https://github.com/OpenSemanticLab/osw-python",
"name": "osw",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "\"Simon Stier\"",
"author_email": "simon.stier@isc.fraunhofer.de",
"download_url": "https://files.pythonhosted.org/packages/3b/a9/1a6e0d7348c9807c2c01b62b54de43ba76ee7c17ba4b8beb8335f3af9a82/osw-0.16.3.tar.gz",
"platform": "any",
"description": "[![PyPI-Server](https://img.shields.io/pypi/v/osw.svg)](https://pypi.org/project/osw/)\n[![DOI](https://zenodo.org/badge/458130867.svg)](https://zenodo.org/badge/latestdoi/458130867)\n[![Coveralls](https://img.shields.io/coveralls/github/OpenSemanticLab/osw-python/main.svg)](https://coveralls.io/r/<USER>/osw)\n[![Project generated with PyScaffold](https://img.shields.io/badge/-PyScaffold-005CA0?logo=pyscaffold)](https://pyscaffold.org/)\n\n# osw\n\nPython toolset for data processing, queries, wikicode generation and page manipulation within OpenSemanticLab.\nGeneral features for object oriented interaction with knowledge graphs are planned to be moved to a standalone package: [oold-python](https://github.com/OpenSemanticWorld/oold-python)\n\n## Installation\n```\npip install osw\n```\n\n## Troubleshooting\n\n### `Error: datamodel-codegen not found`\nmake sure datamodel-codegen is installed and included in PATH, e. g. on jupyterlab:\n```\nos.environ[\"PATH\"] += os.pathsep + \"/home/jovyan/.local/bin\"\n```\n\n## Documentation\n\nhttps://opensemanticlab.github.io/osw-python/\n\n\n## Development\n\nDev install\n```bash\npip install -e .\n```\n\nRun tests\n```bash\ntox -e test\n```\n\nRun integration tests (tests are skipped if login params are not provided)\n```bash\ntox -e test -- --wiki_domain \"<osl-domain>\" --wiki_username \"<(bot)login>\" --wiki_password \"<password>\" --db_username \"<username>\" --db_password \"<password>\"\n```\n\n<!-- pyscaffold-notes -->\n\n## Note\n\nThis project has been set up using PyScaffold 4.3.1. For details and usage\ninformation on PyScaffold see https://pyscaffold.org/.\n",
"bugtrack_url": null,
"license": "AGPL-3.0-or-later",
"summary": "Python toolset for data processing, queries, wikicode generation and page manipulation",
"version": "0.16.3",
"project_urls": {
"Changelog": "https://github.com/OpenSemanticLab/osw-python/blob/main/CHANGELOG.md",
"Documentation": "https://opensemanticlab.github.io/osw-python/",
"Download": "https://pypi.org/project/osw/#files",
"Homepage": "https://github.com/OpenSemanticLab/osw-python",
"Source": "https://github.com/OpenSemanticLab/osw-python"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a0607444d71ddc9a8c3b3dcb7986c91ddbe29df063df31e0135fa97aea9c51a3",
"md5": "01e4e0826f03e05b124127888442b31e",
"sha256": "1c3a2c9b6714df9f92d29733f6c086a8ca91364b73439e3a7912cbe8a03dd600"
},
"downloads": -1,
"filename": "osw-0.16.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "01e4e0826f03e05b124127888442b31e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 93779,
"upload_time": "2024-05-27T12:26:07",
"upload_time_iso_8601": "2024-05-27T12:26:07.930042Z",
"url": "https://files.pythonhosted.org/packages/a0/60/7444d71ddc9a8c3b3dcb7986c91ddbe29df063df31e0135fa97aea9c51a3/osw-0.16.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3ba91a6e0d7348c9807c2c01b62b54de43ba76ee7c17ba4b8beb8335f3af9a82",
"md5": "9b9dc97feba87b513a463ac7fef71c3e",
"sha256": "227eccad3c58402dc43c0e24a1a6cf2b3f801f2adfcba8f7271d69f3d5a8b7fe"
},
"downloads": -1,
"filename": "osw-0.16.3.tar.gz",
"has_sig": false,
"md5_digest": "9b9dc97feba87b513a463ac7fef71c3e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 259544,
"upload_time": "2024-05-27T12:26:09",
"upload_time_iso_8601": "2024-05-27T12:26:09.437023Z",
"url": "https://files.pythonhosted.org/packages/3b/a9/1a6e0d7348c9807c2c01b62b54de43ba76ee7c17ba4b8beb8335f3af9a82/osw-0.16.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-27 12:26:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "OpenSemanticLab",
"github_project": "osw-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "osw"
}