Skip to main content

GinsFSM, a library to develop systems based in finite-state machines. It's a communication framework, including a full asynchronous http/wsgi/winsocket/sockjs server. Ideal for working with Pyramid using traversal dispatch.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Can you draw your development?

Can you view the behaviour of your application in real time?

With this framework you can!.

GinsFSM is a python library to develop systems based in finite-state machines (http://en.wikipedia.org/wiki/Finite-state_machine). This model is really useful when writing networking and communication applications.

The idea is very simple:

  • All objects, called gobj, are instances of a derived ginsfsm.gobj.GObj class.

  • The GObj has an inside simple-machine that defines its behavior.

  • The communication between gobj’s happens via event’s.

Thus, the nature of this system is fully asynchronous and event-driven.

The interface is simple and common to all objects; you just have to change the name of the event and the data they carry.

It includes a full asynchronous http server, wsgi server and winsocket server/client compatible with sockjs.

You can run multiple wsgi applications.

Ginsfsm comes with a variety of scaffolds that you can use to generate a project.

Like Pyramid framework pcreate/pserve commands, Ginsfsm provides the gcreate/gserve commands, to create and run ginsfsm projects.

With gcreate command you can create a ginsfsm project. For example, with multi_pyramid_wsgi scaffold, you will create a multiple wsgi application project, one of wsgi application being a Pyramid wsgi application.

The GObj’s objects are Pyramid “location-aware” resources. Also, the gobj’s are a hierarchical tree, also therefore the use of traversal dispatching are all natural.

Support and Documentation

See the <http://ginsfsm.org/> to view documentation.

Code available in <https://bitbucket.org/artgins/ginsfsm>

License

Copyright (c) 2012, Ginés Martínez Sánchez.

GinsFSM is released under terms of The MIT License <http://www.opensource.org/licenses/mit-license>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ginsfsm-0.6.0.tar.gz (163.7 kB view details)

Uploaded Source

File details

Details for the file ginsfsm-0.6.0.tar.gz.

File metadata

  • Download URL: ginsfsm-0.6.0.tar.gz
  • Upload date:
  • Size: 163.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ginsfsm-0.6.0.tar.gz
Algorithm Hash digest
SHA256 58f520b85900a831158c29fa0719ca5d6c479f41ebffb17e37f873e135eb1ad4
MD5 e9af3faa022f0b0fab47499b0c8be670
BLAKE2b-256 7210e594172c0a23be7e606905ed5c1a3f968caa5204f3ab458a600f07e80bc6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page