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

Uploaded Source

Built Distribution

osw-0.23.0-py3-none-any.whl (112.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for osw-0.23.0.tar.gz
Algorithm Hash digest
SHA256 db103e4b5beb62af5f76ab642ac0fad684b8b110264a30e3d4d7106d02787dce
MD5 d95dc6f5675fadcb3ba86734ff45dbfa
BLAKE2b-256 e07b408853807855c9de83935712a4de2e8219641d43746835ffd0cf3d078d86

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osw-0.23.0-py3-none-any.whl
  • Upload date:
  • Size: 112.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.23.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8fdb4205548880e71d3a0e1f4ea7ff323f723539f9863716b0d14f1989bf02cf
MD5 35c9d63a37bab9f90cfa21833b548671
BLAKE2b-256 75e4285c12b1b5352d10849e82c4428510377e9df88e67132aad12922137c66b

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