jayliuwi commited on
Commit
c38038f
·
verified ·
1 Parent(s): 3498566

geoalign 0.1.1: source code and issues on GitHub; package metadata only, code and data unchanged

Browse files
.gitattributes CHANGED
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  geoalign/dist/geoalign-0.1.0-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
 
 
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  geoalign/dist/geoalign-0.1.0-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
62
+ geoalign/dist/geoalign-0.1.1-py3-none-any.whl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -293,7 +293,7 @@ pip install geoalign
293
  Or install the wheel from this repository:
294
 
295
  ```
296
- pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.0-py3-none-any.whl
297
  ```
298
 
299
  ```python
@@ -307,7 +307,7 @@ g.align("朝阳区").code # None: two units share this name; se
307
  g.to_year("130103", 2016).codes # ['130102', '130104'] (split, exact=False)
308
  ```
309
 
310
- Full documentation, the public benchmark and its results: [`geoalign/README.md`](geoalign/README.md). The library covers county level and above only; do not pass township names.
311
 
312
  ### Known limitations
313
 
@@ -332,6 +332,7 @@ Suggested attribution: “China Administrative Division Codes and Changes (2012
332
  | Version | Date | Changes |
333
  |---|---|---|
334
  | 1.0 | 2026-11 | First release. Year-end tables 2012–2025 (45,009 rows), changes 2013–2025 (402 rows), 521 correction records; geoalign 0.1.0. Sources retrieved 2026-11-18 |
 
335
 
336
  ### Citation
337
 
@@ -525,7 +526,7 @@ pip install geoalign
525
  也可以从本仓库安装 wheel:
526
 
527
  ```
528
- pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.0-py3-none-any.whl
529
  ```
530
 
531
  ```python
@@ -539,7 +540,7 @@ g.align("朝阳区").code # None:有两个朝阳区,见 .ca
539
  g.to_year("130103", 2016).codes # ['130102', '130104'](拆分,exact=False)
540
  ```
541
 
542
- 完整说明、公开测试题和成绩见 [`geoalign/README.md`](geoalign/README.md)。工具库只管县级以上,不要把乡镇名交给它。
543
 
544
  ### 已知的限制
545
 
@@ -564,6 +565,7 @@ g.to_year("130103", 2016).codes # ['130102', '130104'](拆分,exact=
564
  | 版本 | 日期 | 内容 |
565
  |---|---|---|
566
  | 1.0 | 2026-11 | 第一版。2012 至 2025 年年底的代码表(45,009 行),2013 至 2025 年的变更(402 行),改正记录 521 条;geoalign 0.1.0。出处获取日期 2026-11-18 |
 
567
 
568
  ### 引用
569
 
 
293
  Or install the wheel from this repository:
294
 
295
  ```
296
+ pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.1-py3-none-any.whl
297
  ```
298
 
299
  ```python
 
307
  g.to_year("130103", 2016).codes # ['130102', '130104'] (split, exact=False)
308
  ```
309
 
310
+ Full documentation, the public benchmark and its results: [`geoalign/README.md`](geoalign/README.md). Source code and issues: [github.com/World-Insight-Lab/geoalign](https://github.com/World-Insight-Lab/geoalign). The library covers county level and above only; do not pass township names.
311
 
312
  ### Known limitations
313
 
 
332
  | Version | Date | Changes |
333
  |---|---|---|
334
  | 1.0 | 2026-11 | First release. Year-end tables 2012–2025 (45,009 rows), changes 2013–2025 (402 rows), 521 correction records; geoalign 0.1.0. Sources retrieved 2026-11-18 |
335
+ | 1.0 | 2026-11-19 | Data unchanged. geoalign 0.1.1: package metadata now points to the GitHub repository; code and data unchanged |
336
 
337
  ### Citation
338
 
 
526
  也可以从本仓库安装 wheel:
527
 
528
  ```
529
+ pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.1-py3-none-any.whl
530
  ```
531
 
532
  ```python
 
540
  g.to_year("130103", 2016).codes # ['130102', '130104'](拆分,exact=False)
541
  ```
542
 
543
+ 完整说明、公开测试题和成绩见 [`geoalign/README.md`](geoalign/README.md)。源代码和问题反馈在 [github.com/World-Insight-Lab/geoalign](https://github.com/World-Insight-Lab/geoalign)。工具库只管县级以上,不要把乡镇名交给它。
544
 
545
  ### 已知的限制
546
 
 
565
  | 版本 | 日期 | 内容 |
566
  |---|---|---|
567
  | 1.0 | 2026-11 | 第一版。2012 至 2025 年年底的代码表(45,009 行),2013 至 2025 年的变更(402 行),改正记录 521 条;geoalign 0.1.0。出处获取日期 2026-11-18 |
568
+ | 1.0 | 2026-11-19 | 数据没有变。geoalign 0.1.1:包的元数据改为指向 GitHub 仓库,代码和数据没有变 |
569
 
570
  ### 引用
571
 
geoalign/README.md CHANGED
@@ -6,7 +6,8 @@ Map Chinese administrative-division names (county level and above) to official c
6
 
7
  - Data / 数据: [WorldInsightLab/china-admin-divisions](https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions)
8
  - License / 许可: code Apache-2.0 (`LICENSE`); third-party notices in `NOTICE` / 代码 Apache-2.0,第三方声明见 `NOTICE`
9
- - Version / 版本: 0.1.0
 
10
 
11
  [English](#english) · [中文](#中文)
12
 
@@ -33,7 +34,7 @@ pip install geoalign
33
  Or from the wheel in the dataset repository:
34
 
35
  ```
36
- pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.0-py3-none-any.whl
37
  ```
38
 
39
  From source (run in the `geoalign/` directory, where `pyproject.toml` is):
@@ -190,7 +191,7 @@ pip install geoalign
190
  也可以从数据集仓库里的 wheel 安装:
191
 
192
  ```
193
- pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.0-py3-none-any.whl
194
  ```
195
 
196
  从源码安装(在 `pyproject.toml` 所在的 `geoalign/` 目录下运行):
 
6
 
7
  - Data / 数据: [WorldInsightLab/china-admin-divisions](https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions)
8
  - License / 许可: code Apache-2.0 (`LICENSE`); third-party notices in `NOTICE` / 代码 Apache-2.0,第三方声明见 `NOTICE`
9
+ - Source / 源码: [World-Insight-Lab/geoalign](https://github.com/World-Insight-Lab/geoalign) · PyPI: [geoalign](https://pypi.org/project/geoalign/)
10
+ - Version / 版本: 0.1.1 (0.1.1 changes package metadata only; code and data are the same as 0.1.0 / 0.1.1 只改了包的元数据,代码和数据与 0.1.0 相同)
11
 
12
  [English](#english) · [中文](#中文)
13
 
 
34
  Or from the wheel in the dataset repository:
35
 
36
  ```
37
+ pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.1-py3-none-any.whl
38
  ```
39
 
40
  From source (run in the `geoalign/` directory, where `pyproject.toml` is):
 
191
  也可以从数据集仓库里的 wheel 安装:
192
 
193
  ```
194
+ pip install https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/resolve/main/geoalign/dist/geoalign-0.1.1-py3-none-any.whl
195
  ```
196
 
197
  从源码安装(在 `pyproject.toml` 所在的 `geoalign/` 目录下运行):
geoalign/dist/{geoalign-0.1.0-py3-none-any.whl → geoalign-0.1.1-py3-none-any.whl} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:201965ce751ad78c57611e71d75f65f70c57b6e1a7a859b5856826e3cc057ba0
3
- size 566361
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eae60ca59c917b29a49c819243ea7ddc8045a9d3eea7e702da58fc718bf9e992
3
+ size 566489
geoalign/dist/{geoalign-0.1.0.tar.gz → geoalign-0.1.1.tar.gz} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d8bbd3f4de06cd4c900fa3e043b175bf75550c5033a86327967a53fef07fcf5d
3
- size 568925
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ae6af6dcffe23e8ddb69553ea83542cffed3b20589c668d1ca37d139f8b4b0c
3
+ size 569144
geoalign/geoalign/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
  """geoalign:把中国县级以上行政区划的名称对到官方代码,并在年份之间换算代码。数据范围 2012 至 2025 年。"""
2
  from .core import Gazetteer, Match, YearResult, Candidate # noqa: F401
3
 
4
- __version__ = "0.1.0"
 
1
  """geoalign:把中国县级以上行政区划的名称对到官方代码,并在年份之间换算代码。数据范围 2012 至 2025 年。"""
2
  from .core import Gazetteer, Match, YearResult, Candidate # noqa: F401
3
 
4
+ __version__ = "0.1.1"
geoalign/pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
 
5
  [project]
6
  name = "geoalign"
7
- version = "0.1.0"
8
  description = "Map Chinese administrative-division names (county level and above) to official codes, and convert codes between years 2012-2025. 把中国县级以上行政区划的名称对到官方代码。"
9
  readme = "README.md"
10
  license = "Apache-2.0"
@@ -26,9 +26,10 @@ classifiers = [
26
  ]
27
 
28
  [project.urls]
29
- Homepage = "https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions"
30
- Documentation = "https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/blob/main/geoalign/README.md"
31
- Source = "https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions/tree/main/geoalign"
 
32
  Dataset = "https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions"
33
 
34
  [project.optional-dependencies]
 
4
 
5
  [project]
6
  name = "geoalign"
7
+ version = "0.1.1"
8
  description = "Map Chinese administrative-division names (county level and above) to official codes, and convert codes between years 2012-2025. 把中国县级以上行政区划的名称对到官方代码。"
9
  readme = "README.md"
10
  license = "Apache-2.0"
 
26
  ]
27
 
28
  [project.urls]
29
+ Homepage = "https://github.com/World-Insight-Lab/geoalign"
30
+ Repository = "https://github.com/World-Insight-Lab/geoalign"
31
+ Issues = "https://github.com/World-Insight-Lab/geoalign/issues"
32
+ Documentation = "https://github.com/World-Insight-Lab/geoalign#readme"
33
  Dataset = "https://huggingface.co/datasets/WorldInsightLab/china-admin-divisions"
34
 
35
  [project.optional-dependencies]