Coder Social home page Coder Social logo

arjan / sparked Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 512 KB

Python+twisted-based development framework for interactive installations

Home Page: http://scherpenisse.net/sparked

License: MIT License

Shell 3.13% JavaScript 2.01% Python 94.85%

sparked's Introduction

Sparked

Like the Twisted asynchronous network framework, Sparked is a python library and an application runner in one. Some of its features follow here:

  • Robust startup and restart of the program; if it crashes, it's started again.

  • Logging: keeps a rotated logfile for debugging purposes.

  • Pidfile management for making sure your app starts only once.

  • A GUI status window (based on GTK) for monitoring the state of the application and the state of the system (network, power supply, ...). Easy to add your own monitors.

  • Fullscreen graphics display for creating interactive displays, based on the clutter library.

  • Eventing system for broadcasting messages between sparked components.

  • A state machine for guiding the application through different states, with callback functions.

  • Possibility to run the sparked application as a twisted plugin for server applications, including a generic init.d startup script.

  • Plug-and-play support for hardware: automatically start and stop parts of the program when hardware is added or removed.

sparked's People

Contributors

arjan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

sparked's Issues

Logrotate does not work correctly

When starting a deamon which was packaged using the debianize script, the logrotate does not work, it generates 0-sizes log files.

Daemonize option to sparkd executable

Although it is already possible to create a daemonizing sparked server, this is currently only done through the sparked-init script:
ln -s /usr/share/sparked/sparked-init /etc/init.d/your-sparked-plugin-name

It should be supported through the regular sparkd executable as well (sparkd -d app.py)

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.