GithubHelp home page GithubHelp logo

knitserver's Introduction

knitserver

1. What is Knit Server

Knitserver is a Knitlib client that provides REST API endpoints for Knitting Machine software and control. Knitserver is designed to interact with Knitweb

2. How to install Knit-Server

2.1 Requirements

Knitlib Web requires the Knitlib library to be installed and Flask as main dependencies. Check requirements.txt for more.

2.2 Step by Step Installation

Currently there is not a packaged version of Knitserver, however it is quite easy to get up and running.

  1. Download the Source Code (either git clone this repository or download a zip or tar).

  2. Browse the repo (and optional, setup a virtual enviroment: virtualenv venv )

  3. Install the dependencies from requirements.txt ( pip install -r requirements.txt )/if you are using any proxy run: sudo pip install --proxy="http://Your proxy:port" -r requirements.txt

  4. Run the server: python knitlib_webserver.py or run.sh

3. Knit Server API

Knitlib Web also provides API implementation of Knitlib's async callbacks via Web Sockets in order to handle communication from Knitting Machines to User Facing apps, allowing real time notification of critical errors, warnings, informational messages or blocking operations (e.g. set needle positions, ensure carriage is ready, etc)

  • Sample Api Calls and Messages

4. Using Knit Server with a Web Interface

Please refer to https://github.com/fashiontec/knitweb

knitserver's People

Contributors

tian2992 avatar mariobehling avatar dexta11 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.