pykv-snippets

version installs Rating

Features

  • You can use some useful snippets when coding Python Kivy!
  • Snippets supports some keywords in Kivy (e.g. sx -> size_hint_x: )
  • Most of snippets in python begin with "kv" so that you can discriminate between this snippets and others.
  • The others in python are keyword arguments for Widget, Animation, bind.

Demo

./image/pythonDemo.gif

This extension supports some widgets import. Basically, the snippets are kv(class name) like kvbutton, kvlabel.

./image/importDEMO.gif

In addition, supports some keyword arguments for Widget, bind, and so on!

./image/keywordsDemo.gif

Enjoy Kivy!

Future works

  • implement auto import.
    • if you type Button and there is no import, add import statement automatically or by some command.

Attention / Comments

  • This extension does not depend on kivy version.
  • Please feel free to contact me if you want to implement additional snippets!

CHANGELOG

See CHANGELOG.md

License

MIT License, refer to license file.