Skip to content

Python module to write FarmBot Celery Script JSON Sequences

Notifications You must be signed in to change notification settings

gabrielburnworth/sequence-writer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sequence Writer

Python module to write FarmBot Celery Script JSON Sequences

with Sequence("My Sequence", "green") as s:
    s.wait(milliseconds=1000)
    s.take_photo()
{
  "name": "My Sequence",
  "color": "green",
  "body": [
    {
      "kind": "wait",
      "args": {
        "milliseconds": 1000
      }
    },
    {
      "kind": "take_photo",
      "args": {}
    }
  ]
}

For more examples, see /examples.py.

About

Python module to write FarmBot Celery Script JSON Sequences

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages