Skip to content

Commit

Permalink
DSP-1056 Preparation for deploying dsp-tools as dsp-tools without the…
Browse files Browse the repository at this point in the history
… GUI (#33)

* Removing GUI code

* Cleanup

* cleanup

Co-authored-by: Lukas Rosenthaler <lukas.rosenthaler@unibas.ch>
  • Loading branch information
danielasubotic and lrosenth committed Nov 13, 2020
1 parent dff878c commit fd0dfe4
Show file tree
Hide file tree
Showing 54 changed files with 649 additions and 6,395 deletions.
22 changes: 13 additions & 9 deletions README.md
@@ -1,26 +1,30 @@
[![PyPI version](https://badge.fury.io/py/knora.svg)](https://badge.fury.io/py/knora)
[![PyPI version](https://badge.fury.io/py/dsp-tools.svg)](https://badge.fury.io/py/dsp-tools)

# DSP-TOOLS - The DaSCH Service Platform Tools Repository
dsp-tools is a python package containing a command line tool for data model (ontology) creation, a library allowing creation of single resources and mass upload using the bulk import of data into the Knora framework.
dsp-tools is a python package containing a command line tool for data model (ontology) creation, a library allowing
creation of single resources and mass upload using the bulk import of data into the Knora framework.

The package consists of:
- `dsplib` Python modules for accessing Knora using the API (ontology creation, data import/export etc.)
- `dsp-tools` A command line program to create an ontology out of a simple JSON description
- `knora-reset-triplestore` A command line program to reset the content of the ontology. Does not require
a restart of the Knora-Stack.
- `dsp-tools` A command line program to perfrom several operations on a DSP server:
- create an ontology out of a simple JSON description
- dump an existing ontology from a DSP server to a JSON file
- Bulk-upload of data from a XML data file

Go to [Full Documentation](https://dasch-swiss.github.io/knora-py/)
Go to [Full Documentation](https://dasch-swiss.github.io/dsp-tools/)

## Install

_Please note that dsp-tools require Python 3.9 for working properly!_

To install the latest published version from PyPI, run:
```
$ pip3 install knora
$ pip3 install dsp-tools
```

To upgrade to the latest published version, run:
```
$ pip3 install --upgrade knora
$ pip3 install --upgrade dsp-tools
```

## Local Development Environment
Expand Down Expand Up @@ -59,7 +63,7 @@ $ make dist
You can install the package locally from the dist:

```bash
$ python3 -m pip ./dist/some_name.whl
$ python3 -m pip install ./dist/some_name.whl
```

Upload package with `twine`,
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/assets/images/knora-app/data-model-example.png
Binary file not shown.
Binary file removed docs/assets/images/knora-app/data-model-init.png
Binary file not shown.
Binary file removed docs/assets/images/knora-app/diagram-data-model.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/assets/images/knora-app/search-advanced.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion docs/assets/images/knora-app/search.svg

This file was deleted.

Binary file removed docs/assets/images/knora-app/share-export-menu.png
Binary file not shown.
Binary file not shown.
Binary file removed docs/assets/images/knora-app/source-form.png
Binary file not shown.
Binary file removed docs/assets/images/knora-app/source-graph-view.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/connection.png
Binary file not shown.

0 comments on commit fd0dfe4

Please sign in to comment.