GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - OpenSemanticLab/osw-python

BranchesTags
Open more actions menu

Latest commit

 

History

878 Commits
878 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude-plugin
.claude-plugin
 
 
.github
.github
 
 
docs
docs
 
 
examples
examples
 
 
scripts/migration
scripts/migration
 
 
src
src
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CITATION.cff
CITATION.cff
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE.txt
LICENSE.txt
 
 
Makefile
Makefile
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
codecov.yaml
codecov.yaml
 
 
conftest.py
conftest.py
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 
zensical.toml
zensical.toml
 
 

Repository files navigation

PyPI-Server DOI Codecov docs license

osw

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

Work with OpenSemanticLab instances the way you work with Python objects: load pages as typed pydantic entities, query with semantic search, generate models from the schemas stored in the wiki, and write changes back.

Documentation: https://opensemanticlab.github.io/osw-python/

Installation

pip install osw

Optional extras (osw[wikitext], osw[DB], osw[S3], osw[dataimport], osw[UI], osw[mcp], osw[all]) are described in the Get Started guide.

Quickstart

from osw.express import OswExpress

osw = OswExpress(domain="wiki-dev.open-semantic-lab.org")
instances = osw.site.semantic_search("[[Category:Item]]")
print(instances)

More runnable scripts live in examples/, and the Basics tutorial walks through the OpenSemanticLab data model.

Tools

Installing osw also installs an osw command line client, and the osw[mcp] extra adds an MCP server that exposes a live instance to agent clients such as Claude Code:

osw search ask '[[Category:Item]]' --limit 5

Commands, tools and their configuration are described in the Tools guide.

Logging

osw reports what it is doing on the osw logger at INFO by default. Levels, the OSW_LOG_LEVEL environment variable and how to collect the records in your own logging setup are described in the Get Started guide.

Contributing

Contributions are welcome, see CONTRIBUTING.md. Development setup, checks and tests are one command each: make install, make check, make test.

Related projects

General features for object-oriented interaction with knowledge graphs live in the standalone package oold-python.

License

AGPL-3.0-or-later, see LICENSE.txt.

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

11 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.