• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

flask-snips

A collection of snippets for the Python Flask Microframework.
  • #snippets
  • #snip
  • #python
  • #flask
  • #jinja
m1waterman88
0.4.4 1,059
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

flask-snips

Adds snippets to quickly build Jinja2 HTML templates and Flask Python controls in Atom. This is a fork of flask-snippets, which was no longer maintained.


To install:

apm install flask-snips

Snippets

All snippets start with the letter f

Jinja Templates:

  • fexp
  • ffilter
  • ffb
  • fcomment
  • fblock --> Generic block, useful for vanilla and extension template blocks
  • fchild
  • fself
  • fsuper
  • ffor
  • fif
  • fife
  • felif
  • fmacro
  • fset
  • finclude
  • fimport
  • fautoescape
  • furl

Flask:

  • "" (single line docstring)
  • """ (multi-line docstring)
  • fapp
  • frun
  • froute
  • furl
  • fmeth
  • frt
  • ftreq
  • fup
  • fsup
  • frc
  • fsc
  • feh
  • flog

TODO:

  • Add more snippets for more specific cases (flashing, etc.)
  • Add description to snippet's name in the readme file.
  • Review snippets for optimization

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by