Manual:Pywikibot/Compatibility Graph

{{#switch: {{#tag:graph| { "width": 800, "height": 200, "data": [ {     "name": "features", "format": { "type":"json", "parse":{"begin":"date","end":"date","deprecated":"date","desupported":"date"} },     "values": [ {"label":"MW 1.14–1.18", "begin":"2019-01", "end":"2020-07-03", "deprecated":"2020-02-17", "desupported":"2020-09-02"}, {"label":"Python 2.7",     "begin":"2019-01", "end":"2020-07-03", "deprecated":"2019-05-04", "desupported":"2020-07-03"}, {"label":"Python 3.4", "begin":"2019-01", "end":"2020-07-03", "deprecated":"2019-12-04", "desupported":"2020-07-03"}, {"label":"Python 3.5",   "begin":"2019-01", "end":"2020-10-03", "deprecated":"2020-10", "desupported":"{{#time:Y-m-d|+5 months}}"}, {"label":"Python 3.6, 3.7",   "begin":"2019-01", "end":"{{#time:Y-m-d|+5 months}}", "deprecated":"{{#time:Y-m-d|+5 months}}", "desupported":"{{#time:Y-m-d|+5 months}}"}, {"label":"Python 3.8",   "begin":"2019-01-06", "end":"{{#time:Y-m-d|+5 months}}", "deprecated":"2019-01-06", "desupported":"2019-11-19"}, {"label":"Python 3.9",   "begin":"2020-04-12", "end":"{{#time:Y-m-d|+5 months}}", "deprecated":"2020-04-12", "desupported":"2020-08-16"}, {"label":"Python 3.10",   "begin":"2020-08-06", "end":"{{#time:Y-m-d|+5 months}}", "deprecated":"2020-08-06", "desupported":"{{#time:Y-m-d|+5 months}}"}, ]   },    {      "name": "events", "format": { "type":"json", "parse":{"when":"date"} },     "values": [ {"name":"3.0.20190430", "when":"2019-04-30"}, {"name":"3.0.20190722", "when":"2019-07-22"}, {"name":"3.0.20200111", "when":"2020-01-11"}, {"name":"3.0.20200306", "when":"2020-03-06"}, {"name":"3.0.20200326", "when":"2020-03-26"}, {"name":"3.0.20200405", "when":"2020-04-05"}, {"name":"3.0.20200508", "when":"2020-05-08"}, {"name":"3.0.20200609", "when":"2020-06-09"}, {"name":"3.0.20200703", "when":"2020-07-03"}, {"name":"4.0.0",       "when":"2020-08-04"}, {"name":"4.1",         "when":"2020-08-16"}, {"name":"",            "when":"2020-08-18"}, {"name":"4.2.0",       "when":"2020-08-28"}, {"name":"       4.3.0","when":"2020-09-02"}, {"name":"5.0.0",       "when":"{{#time:Y-m-d}}"}, ]   },    {      "name": "tags", "format": { "type":"json", "parse":{"when":"date"} },     "values": [ {"name":"python2", "when":"2020-07-03"}, {"name":"stable", "when":"2020-09-02"}, ]   },    {      "name": "branches", "format": { "type":"json", "parse":{"when":"date"} },     "values": [ {"name":"master", "when": "{{#time:Y-m-d}}" } ]   }

], "scales": [ {     "name": "y", "type": "ordinal", "range": "height", "domain": {"data": "features", "field": "label"} },   {      "name": "x", "type": "time", "range": "width", "round": true, "nice": "month", "domain": {"data": "features", "field": ["begin", "end"]} } ],  "axes": [ {     "type": "x", "scale": "x", "properties": { "labels": { "fontSize": {"value": 18} }     }    }  ],  "marks": [ {     "type": "text", "from": {"data": "events"}, "properties": { "enter": { "x": {"scale": "x", "field": "when"}, "y": {"value": -24}, "angle": {"value": -45}, "fill": {"value": "#000"}, "text": {"field": "name"}, "font": {"value": "Helvetica Neue"}, "fontSize": {"value": 12} }     }    },    {      "type": "rect", "from": {"data": "events"}, "properties": { "enter": { "x": {"scale": "x", "field": "when"}, "y": {"value": -18}, "width": {"value": 1}, "height": {"field": {"group": "height"}, "offset": 18}, "fill": {"value": "#888"} }     }    },    {      "type": "text", "from": {"data": "tags"}, "properties": { "enter": { "x": {"scale": "x", "field": "when"}, "y": {"value": 248}, "align": {"value": "right"}, "angle": {"value": -45}, "dx": {"value": 5}, "fill": {"value": "#000"}, "text": {"field": "name"}, "font": {"value": "Helvetica Neue"}, "fontSize": {"value": 15} }     }    },    {      "type": "rect", "from": {"data": "tags"}, "properties": { "enter": { "x": {"scale": "x", "field": "when"}, "y": {"value": -18}, "width": {"value": 2}, "height": {"field": {"group": "height"}, "offset": 48}, "fill": {"value": "blue"} }     }    },    {      "type": "text", "from": {"data": "branches"}, "properties": { "enter": { "x": {"scale": "x", "field": "when"}, "y": {"value": 272}, "align": {"value": "right"}, "angle": {"value": -45}, "dx": {"value": 5}, "fill": {"value": "#000"}, "text": {"field": "name"}, "font": {"value": "Helvetica Neue"}, "fontSize": {"value": 15} }     }    },    {      "type": "rect", "from": {"data": "branches"}, "properties": { "enter": { "x": {"scale": "x", "field": "when"}, "y": {"value": -18}, "width": {"value": 2}, "height": {"field": {"group": "height"}, "offset": 72}, "fill": {"value": "red"} }     }    },    {      "type": "text", "from": {"data": "features"}, "properties": { "enter": { "x": {"scale": "x", "field": "begin"}, "y": {"scale": "y", "field": "label", "offset": -3}, "fill": {"value": "#000"}, "text": {"field": "label"}, "font": {"value": "Helvetica Neue"}, "fontSize": {"value": 20} }     }    },    {      "type": "rect", "from": {"data": "features"}, "properties": { "enter": { "x": {"scale": "x", "field": "begin"}, "x2": {"scale": "x", "field": "end"}, "y": {"scale": "y", "field": "label"}, "height": {"value": 2}, "fill": {"value": "#557"} }     }    },    {      "type": "rect", "from": {"data": "features"}, "properties": { "enter": { "x": {"scale": "x", "field": "deprecated"}, "x2": {"scale": "x", "field": "desupported"}, "y": {"scale": "y", "field": "label", "offset":-1}, "height": {"value": 4}, "fill": {"value": "orange"} }     }    }  ] } }}

Legend

 * Horizontal
 * ■ implementation/deprecation period
 * ■ supported


 * Vertical
 * ■ Pywikibot releases
 * ■ git tags
 * ■ current master

}}
 * #default=