Skip to main content

Python toolset for data processing, queries, wikicode generation and page manipulation

Project description

PyPI-Server DOI Coveralls Project generated with PyScaffold

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osw-0.24.0.tar.gz (171.0 kB view details)

Uploaded Source

Built Distribution

osw-0.24.0-py3-none-any.whl (113.0 kB view details)

Uploaded Python 3

File details

Details for the file osw-0.24.0.tar.gz.

File metadata

  • Download URL: osw-0.24.0.tar.gz
  • Upload date:
  • Size: 171.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for osw-0.24.0.tar.gz
Algorithm Hash digest
SHA256 d9de46413cbe92cf16e087514192533f963cbc3c939785c8ccf629556e312a30
MD5 7177ac541378a76faa8b06df2742e8b0
BLAKE2b-256 349db5bce768ed6d6565a7bca0191d2123f49855b318765688be4bcd28e02801

See more details on using hashes here.

File details

Details for the file osw-0.24.0-py3-none-any.whl.

File metadata

  • Download URL: osw-0.24.0-py3-none-any.whl
  • Upload date:
  • Size: 113.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for osw-0.24.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b589ccf013be23b60b03eca987c460157fb4f6df084857b9173c1a64ffefff8c
MD5 b8e86cbeb5af95380adf53a63447dde2
BLAKE2b-256 9da51bd29ca7838524fa937d1341789355d958e26b4555ab324a7acc3752d9a7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page