【文件属性】:
文件名称:zipcodetw:通过地址模糊查找*邮政编码
文件大小:1.56MB
文件格式:ZIP
更新时间:2021-05-02 19:24:40
Python
*的邮政编码查找器
此软件包可让您按*地址查找邮政编码。
主要特点:
快速地。 它通过标记化来构建邮政编码索引。
渐进的。 它返回部分邮政编码,而不是在地址不详细时显示注释。
单机版。 它什么都没有。
用法
逐步查找邮政编码:
>> > import zipcodetw
>> > zipcodetw . find ( '臺北市' )
u'1'
>> > zipcodetw . find ( '臺北市信義區' )
u'110'
>> > zipcodetw . find ( '臺北市信義區市府路' )
u'110'
>> > zipcodetw . find ( '臺北市信義區市府路1號' )
u'11008'
在v0.3之后,您甚至可以找到以下邮政编码:
>> > zipcodetw . find ( '松山區' )
u'105'
>> > zipcodetw . fin
【文件预览】:
zipcodetw-dev
----MANIFEST.in(107B)
----.travis.yml(164B)
----README.rst(4KB)
----stats()
--------20140207-190922-full-middle-token-index.txt(4KB)
--------20140207-204107-dont-index-too-much.txt(4KB)
--------20140207-200438-even-fuller-middle-token-index.txt(4KB)
--------20140206-002214-v0.2.txt(3KB)
----Pipfile(215B)
----test.py(22KB)
----Pipfile.lock(11KB)
----benchmarks()
--------20140205-203029-improved-structure.png(320KB)
--------20140205-001630-old-structure.png(309KB)
--------20140207-204237-pre-v0.3.txt(261B)
--------20140208-030811-pre-v0.4.txt(261B)
--------20140206-002214-v0.2.txt(261B)
--------20140204-002151-v0.1.png(321KB)
----zipcodetw()
--------20190415.csv(2.82MB)
--------util.py(11KB)
--------builder.py(1KB)
--------__init__.py(361B)
----setup.py(2KB)
----.gitignore(69B)
----web()
--------templates()
--------static()
--------zipcodetw_server.py(460B)
----scripts()
--------stat.py(1KB)
--------benchmark.py(1KB)
----LICENSE.txt(1KB)