GithubHelp home page GithubHelp logo

spadesdk's Introduction

Spade SDK

Spade SDK provides basic classes to implement Spade Files and Processes. For more information about Spade, please visit Spade

It has no dependencies on other Python libraries, and allows development for Spade without a need to install the full Spade app.

Installation

pip install spadesdk

Basic objects

FileProcessor

FileProcessor processes the file uploaded by the user in the Spade app.

Executor

Executor executes a Spade process, either by directly running Python code or by calling an external service.

HistoryProvider

HistoryProvider provides the history of a Spade from if the actual process is executed by an external service. If the process is executed in Spade, a HistoryProvider is not needed.

spadesdk's People

Contributors

ms32035 avatar

Watchers

 avatar Jean Dupuis avatar

spadesdk's Issues

UI fails silently when logged in after backend restart

When logged into spade UI, if the backend restarts, the UI will attempt to interact with the backend with its now-outdated token, causing silent errors like not being able to view any created file processes.

Some sort of mechanism to automatically log the user out after an authentication failure would be good to fix this.

Cannot view file upload status in UI

In the list of files that have been uploaded to a specific File process, things like the result status or any error message for each upload are not shown. This makes it difficult to tell when an error has actually occurred outside of the initial pop-up message.

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.