Skip to main content

A hierarchical finite state machine library

Project description

Copyright (c) 2009 Joseph Lisee All rights reserved.

License information

The OSI BSD License is used. Please See the file “LICENSE” for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.

Quick Install

Run “python setup.py install” to install to the directory or “python setup.py install –prefix=<install_directory>” for the directory of your choice.

What is StatePy anyways?

StatePy is an event driven hierarchical finite state machine library that lets you easily design, build, and analyze state machines. It represents individuals states as classes, and by default uses static transition tables. The tables are simple python dicts maping events, which can be any hashable type, to the next state. Member functions of the state classes are called upon entering, upon exiting, and on every transition. To learn more check out the documentation.

Documentation

See the docs folder for examples of StatePy’s features.

Web site

Check out http://bitbucket.org/jlisee/statepy for the latest releases and news.

Bug reports

To report or search for a bug please use the BitBucket based bug tracker at: http://bitbucket.org/jlisee/statepy/issues

Tests

StatePy comes with a relatively complete, ~95% line coverage, set of unit tests which can be run with the simple command “python setup.py test”. If you have installed StatePy already you can use the function “statepy.test.runTests()” to run the tests at any time you desire. If you submit a feature/patch, you should include a tests for it as well.

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

StatePy-0.2.0.tar.gz (17.8 kB view details)

Uploaded Source

File details

Details for the file StatePy-0.2.0.tar.gz.

File metadata

  • Download URL: StatePy-0.2.0.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for StatePy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f38be04e14617a41f1564b3b123f401f70257661d576d5b9b81899a9c17f156f
MD5 f59c67d15dec72bf1ef9064319ebcf6f
BLAKE2b-256 4302e6e7bac50bd4a89e42d6d41f1ab65dce1aa5c4b9190a52b12939f549f9b7

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