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.21.2.tar.gz (167.5 kB view details)

Uploaded Source

Built Distribution

osw-0.21.2-py3-none-any.whl (110.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for osw-0.21.2.tar.gz
Algorithm Hash digest
SHA256 9280ba75cf1816692e687fa2539fea537ca6f8666b4ae0e57c215ec1290b3bb8
MD5 b7de7076e00981e4d2470b73721ed31e
BLAKE2b-256 cd909b1a859536008856e92980bb63fc412bdf8da1af52a0f999b9172f1f2a03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osw-0.21.2-py3-none-any.whl
  • Upload date:
  • Size: 110.8 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.21.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f56a0161ffbcd4313a26fd01fc52e2d22477a9283e3a63287e0025b71faf7e0
MD5 0bf9f2ec9c5395a78c006e63f3cb406c
BLAKE2b-256 4761227f72e56a9e4490a1ed1dcd30321001d9e9567a037beaba77f748f65f65

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