semvec/pypi-packages huggingface dataset:
pyautoreload 1.3
dynamic reload module
License: MIT
Keywords: dynamic reload module,fengyun

# pyautoreload
一个可以动态加载重载的模块，可以是对象或者是模块的字符串形式.

TO DO List:

1.  加入目录监控

2.  加入inotify被动扫描

3.  加入信号模式

###安装:

pypi安装
```
pip install pyautoreload
```
源码安装
```
git clone https://github.com/rfyiamcool/pyautoreload.git
cd pyautoreload
python setup.py install
```


###使用方法:

* 重新加载指定模块

    pyautoreload.reload_module(m)

* 加入模块

    pyautoreload.import_str('a.b.c.d')
    
    路径: /a/b/c
    
    函数: d

* 删除模块

    delete_str(m)

* 重新加载所有模块

    reload_all()

* 重新加载模块,支持类及函数路径模式

    reload_str()
nontemplate 0.13
Nontemplate is not a Templating Language
License: MIT
Keywords: xml,html,template

===================
 NonTemplate v0.13
===================

For more information, see <http://code.zoic.org/nontemplate/>.

Summary
=======

* NonTemplate allows you to generate simple XML output directly
  in your Python code with a minimum of syntactic noise.

* It uses the **with** statement introduced in Python 2.6 to ensure
  that once a tag is opened, it will be closed.

* Python code and template codes can be interleaved naturally,
  without resorting to restrictive language constructions.
  Your favourite debugger can see, and set breakpoints in, every
  level of your template.

* 100% pure Python (>= 2.6), and it works just fine in Python
  3.0 as well.
   
* Performance is comparable to the commonly used templating languages
  and is better than most.

* Asynchronous use is easy: NonTemplate is happy reading from iterables
  and writing to IO streams.  This means you can start sending XHTML
  to your clients while your database is still retrieving rows ... 


Example
=======
::

    import nontemplate

    D = nontemplate.Document(doctype=nontemplate.doctype.html_2_0)
    
    with D.html():
        D._comment("this is a test")
        D._comment("this --> is too")
        D._emit("<!-- testing & < > emit -->\n")
        with D.head():
            D.title()("foo")
        with D.body():
            with D.h1(id="foo"):
                D._text("This is a <foo> & test")
            with D.table(_class="cool"):
                with D.tbody():
                    for row in range(1,3):
                        with D.tr():
                            for col in range(1,3):
                                D.td()("%d,%d" % (row,col))