Skip to content

SDK for TEASPN, a framework and a protocol for integrated writing assistance environments

License

Notifications You must be signed in to change notification settings

teaspn/teaspn-sdk

Repository files navigation

TEASPN SDK

Overview

This is the SDK (Software Development Kit) of TEASPN, a framework and a protocol for integrated writing assistance environments. Specifically, this repository includes:

  • client - sample TEASPN client implementation for Visual Studio Code
  • server - TEASPN server library and sample implementation in Python

For the details of TEASPN, see the official website.

Prerequisites

  • Visual Studio Code 1.26.0+
  • Python 3.7+
  • node and npm

Install

First, clone the repository, and at the project root, run:

  $ npm install

Then, run the following in order to install Python dependencies:

  $ python3 -m venv .pyenv
  $ source .pyenv/bin/activate
  $ pip install -r requirements.txt

Getting started

In order to run the sample TEASPN client, open the repository directory using Visual Studio Code, and then run "Launch Client" from the debug menu:

Launch Client

For more details on the client code, see client/src/extension.ts.

For more details on the server code, see the server/ directory. In order to implement your own TEASPN server, you need to inherit TeaspnHandler defined in server/teaspn_handler.py and override some methods. See server/handler_impl_sample.py for a sample implementation.

License

Copyright (c) TEASPN developers. All rights reserved.

Licensed under the MIT License.

About

SDK for TEASPN, a framework and a protocol for integrated writing assistance environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages