Skip to content

wenzeslaus/gdoc2py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gdoc2py

gdoc2py is a GRASS GIS focused converter from HTML to Jupyter Notebook. It is based on recognizing <pre> and <code> tags and splitting the document into notebook cells.

For GRASS GIS modules it converts command line syntax (simple command line, not full Bash) to Python syntax or just adds ! before the commands. It does some additions for first parameter and display modules if needed. It also adds session initialization and clean up code.

For text it converts (some of) HTML tags to Markdown and ignores rest of it.

Possible future work

Author

Vaclav Petras

License

This program is free software under the GNU General Public License (>=v2). Read the file LICENSE for details.

About

GRASS GIS focused converter from HTML with pre code tags to Jupyter Notebook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages