mapreader 1.0.6__tar.gz → 1.0.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. {mapreader-1.0.6 → mapreader-1.0.7}/PKG-INFO +42 -3
  2. {mapreader-1.0.6 → mapreader-1.0.7}/README.md +39 -0
  3. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/__init__.py +2 -0
  4. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/_version.py +3 -3
  5. mapreader-1.0.7/mapreader/annotate/annotator.py +930 -0
  6. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/annotate/utils.py +168 -157
  7. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader.egg-info/PKG-INFO +42 -3
  8. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader.egg-info/SOURCES.txt +2 -0
  9. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader.egg-info/requires.txt +2 -2
  10. {mapreader-1.0.6 → mapreader-1.0.7}/setup.py +2 -2
  11. mapreader-1.0.7/tests/test_annotator.py +257 -0
  12. {mapreader-1.0.6 → mapreader-1.0.7}/tests/test_import.py +2 -9
  13. {mapreader-1.0.6 → mapreader-1.0.7}/LICENSE +0 -0
  14. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/annotate/__init__.py +0 -0
  15. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/classify/__init__.py +0 -0
  16. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/classify/classifier.py +0 -0
  17. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/classify/classifier_context.py +0 -0
  18. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/classify/custom_models.py +0 -0
  19. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/classify/datasets.py +0 -0
  20. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/classify/load_annotations.py +0 -0
  21. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/download/__init__.py +0 -0
  22. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/download/data_structures.py +0 -0
  23. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/download/downloader.py +0 -0
  24. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/download/downloader_utils.py +0 -0
  25. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/download/sheet_downloader.py +0 -0
  26. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/download/tile_loading.py +0 -0
  27. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/download/tile_merging.py +0 -0
  28. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/load/__init__.py +0 -0
  29. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/load/geo_utils.py +0 -0
  30. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/load/images.py +0 -0
  31. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/load/loader.py +0 -0
  32. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/process/__init__.py +0 -0
  33. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/process/process.py +0 -0
  34. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/utils/__init__.py +0 -0
  35. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/utils/compute_and_save_stats.py +0 -0
  36. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader/utils/slice_parallel.py +0 -0
  37. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader.egg-info/dependency_links.txt +0 -0
  38. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader.egg-info/entry_points.txt +0 -0
  39. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader.egg-info/not-zip-safe +0 -0
  40. {mapreader-1.0.6 → mapreader-1.0.7}/mapreader.egg-info/top_level.txt +0 -0
  41. {mapreader-1.0.6 → mapreader-1.0.7}/setup.cfg +0 -0
  42. {mapreader-1.0.6 → mapreader-1.0.7}/tests/test_geo_pipeline.py +0 -0
  43. {mapreader-1.0.6 → mapreader-1.0.7}/tests/test_sheet_downloader.py +0 -0
  44. {mapreader-1.0.6 → mapreader-1.0.7}/versioneer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mapreader
3
- Version: 1.0.6
3
+ Version: 1.0.7
4
4
  Summary: A computer vision pipeline for the semantic exploration of maps/images at scale
5
5
  Home-page: https://github.com/Living-with-machines/MapReader
6
6
  Download-URL: https://github.com/Living-with-machines/MapReader/archive/refs/heads/main.zip
@@ -41,7 +41,7 @@ Requires-Dist: torch<2.0.0,>=1.10.0
41
41
  Requires-Dist: torchvision<0.12.1,>=0.11.1
42
42
  Requires-Dist: jupyter<2.0.0,>=1.0.0
43
43
  Requires-Dist: ipykernel<7.0.0,>=6.5.1
44
- Requires-Dist: ipywidgets<8.0.0,>=7.7.3
44
+ Requires-Dist: ipywidgets<9.0.0,>=8.0.0
45
45
  Requires-Dist: ipyannotate==0.1.0-beta.0
46
46
  Requires-Dist: Cython<0.30.0,>=0.29.24
47
47
  Requires-Dist: PyYAML<7.0,>=6.0
@@ -49,12 +49,12 @@ Requires-Dist: tensorboard<3.0.0,>=2.7.0
49
49
  Requires-Dist: parhugin<0.0.4,>=0.0.3
50
50
  Requires-Dist: geopy==2.1.0
51
51
  Requires-Dist: rasterio<2.0.0,>=1.2.10
52
- Requires-Dist: keplergl<0.4.0,>=0.3.2
53
52
  Requires-Dist: simplekml<2.0.0,>=1.3.6
54
53
  Requires-Dist: versioneer>=0.28
55
54
  Requires-Dist: tqdm<5.0.0
56
55
  Requires-Dist: torchinfo<2.0.0
57
56
  Requires-Dist: openpyxl<4.0.0
57
+ Requires-Dist: geopandas<1.0.0
58
58
  Provides-Extra: dev
59
59
  Requires-Dist: pytest<8.0.0; extra == "dev"
60
60
  Requires-Dist: pytest-cov<5.0.0,>=4.1.0; extra == "dev"
@@ -85,6 +85,7 @@ Requires-Dist: flake8<7.0.0,>=6.0.0; extra == "dev"
85
85
  <br/>
86
86
  </p>
87
87
 
88
+
88
89
  ## What is MapReader?
89
90
 
90
91
  <div align="center">
@@ -164,3 +165,41 @@ This work was supported by Living with Machines (AHRC grant AH/S01179X/1) and Th
164
165
  Living with Machines, funded by the UK Research and Innovation (UKRI) Strategic Priority Fund, is a multidisciplinary collaboration delivered by the Arts and Humanities Research Council (AHRC), with The Alan Turing Institute, the British Library and the Universities of Cambridge, East Anglia, Exeter, and Queen Mary University of London.
165
166
 
166
167
  Maps above reproduced with the permission of the National Library of Scotland https://maps.nls.uk/index.html
168
+
169
+ ## Contributors
170
+
171
+ <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
172
+ [![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)
173
+ <!-- ALL-CONTRIBUTORS-BADGE:END -->
174
+
175
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
176
+ <!-- prettier-ignore-start -->
177
+ <!-- markdownlint-disable -->
178
+ <table>
179
+ <tbody>
180
+ <tr>
181
+ <td align="center" valign="top" width="14.28%"><a href="https://www.turing.ac.uk/people/researchers/katherine-mcdonough"><img src="https://avatars.githubusercontent.com/u/20363927?v=4?s=100" width="100px;" alt="Katie McDonough"/><br /><sub><b>Katie McDonough</b></sub></a><br /><a href="#research-kmcdono2" title="Research">🔬</a> <a href="#ideas-kmcdono2" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=kmcdono2" title="Documentation">📖</a> <a href="#eventOrganizing-kmcdono2" title="Event Organizing">📋</a> <a href="#projectManagement-kmcdono2" title="Project Management">📆</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akmcdono2" title="Reviewed Pull Requests">👀</a> <a href="#talk-kmcdono2" title="Talks">📢</a> <a href="#tutorial-kmcdono2" title="Tutorials">✅</a></td>
182
+ <td align="center" valign="top" width="14.28%"><a href="http://danielwilson.info"><img src="https://avatars.githubusercontent.com/u/34318222?v=4?s=100" width="100px;" alt="Daniel C.S. Wilson"/><br /><sub><b>Daniel C.S. Wilson</b></sub></a><br /><a href="#research-dcsw2" title="Research">🔬</a> <a href="#ideas-dcsw2" title="Ideas, Planning, & Feedback">🤔</a> <a href="#talk-dcsw2" title="Talks">📢</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=dcsw2" title="Documentation">📖</a> <a href="#eventOrganizing-dcsw2" title="Event Organizing">📋</a></td>
183
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/kasra-hosseini"><img src="https://avatars.githubusercontent.com/u/1899856?v=4?s=100" width="100px;" alt="Kasra Hosseini"/><br /><sub><b>Kasra Hosseini</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=kasra-hosseini" title="Code">💻</a> <a href="#ideas-kasra-hosseini" title="Ideas, Planning, & Feedback">🤔</a> <a href="#research-kasra-hosseini" title="Research">🔬</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akasra-hosseini" title="Reviewed Pull Requests">👀</a> <a href="#talk-kasra-hosseini" title="Talks">📢</a></td>
184
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/rwood-97"><img src="https://avatars.githubusercontent.com/u/72076688?v=4?s=100" width="100px;" alt="Rosie Wood"/><br /><sub><b>Rosie Wood</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=rwood-97" title="Code">💻</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=rwood-97" title="Documentation">📖</a> <a href="#ideas-rwood-97" title="Ideas, Planning, & Feedback">🤔</a> <a href="#talk-rwood-97" title="Talks">📢</a> <a href="#tutorial-rwood-97" title="Tutorials">✅</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Arwood-97" title="Reviewed Pull Requests">👀</a> <a href="#maintenance-rwood-97" title="Maintenance">🚧</a> <a href="#research-rwood-97" title="Research">🔬</a></td>
185
+ <td align="center" valign="top" width="14.28%"><a href="http://www.westerling.nu"><img src="https://avatars.githubusercontent.com/u/7298727?v=4?s=100" width="100px;" alt="Kalle Westerling"/><br /><sub><b>Kalle Westerling</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=kallewesterling" title="Code">💻</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=kallewesterling" title="Documentation">📖</a> <a href="#maintenance-kallewesterling" title="Maintenance">🚧</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akallewesterling" title="Reviewed Pull Requests">👀</a> <a href="#talk-kallewesterling" title="Talks">📢</a></td>
186
+ <td align="center" valign="top" width="14.28%"><a href="https://maps.nls.uk"><img src="https://avatars.githubusercontent.com/u/3666702?v=4?s=100" width="100px;" alt="Chris Fleet"/><br /><sub><b>Chris Fleet</b></sub></a><br /><a href="#data-ChrisFleet" title="Data">🔣</a></td>
187
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/kasparvonbeelen"><img src="https://avatars.githubusercontent.com/u/11618160?v=4?s=100" width="100px;" alt="Kaspar Beelen"/><br /><sub><b>Kaspar Beelen</b></sub></a><br /><a href="#ideas-kasparvonbeelen" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akasparvonbeelen" title="Reviewed Pull Requests">👀</a> <a href="#research-kasparvonbeelen" title="Research">🔬</a></td>
188
+ </tr>
189
+ <tr>
190
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/andrewphilipsmith"><img src="https://avatars.githubusercontent.com/u/5346065?v=4?s=100" width="100px;" alt="Andy Smith"/><br /><sub><b>Andy Smith</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=andrewphilipsmith" title="Code">💻</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=andrewphilipsmith" title="Documentation">📖</a> <a href="#mentoring-andrewphilipsmith" title="Mentoring">🧑‍🏫</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Aandrewphilipsmith" title="Reviewed Pull Requests">👀</a></td>
191
+ </tr>
192
+ </tbody>
193
+ </table>
194
+
195
+ <!-- markdownlint-restore -->
196
+ <!-- prettier-ignore-end -->
197
+
198
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
199
+ <!-- prettier-ignore-start -->
200
+ <!-- markdownlint-disable -->
201
+
202
+ <!-- markdownlint-restore -->
203
+ <!-- prettier-ignore-end -->
204
+
205
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
@@ -20,6 +20,7 @@
20
20
  <br/>
21
21
  </p>
22
22
 
23
+
23
24
  ## What is MapReader?
24
25
 
25
26
  <div align="center">
@@ -99,3 +100,41 @@ This work was supported by Living with Machines (AHRC grant AH/S01179X/1) and Th
99
100
  Living with Machines, funded by the UK Research and Innovation (UKRI) Strategic Priority Fund, is a multidisciplinary collaboration delivered by the Arts and Humanities Research Council (AHRC), with The Alan Turing Institute, the British Library and the Universities of Cambridge, East Anglia, Exeter, and Queen Mary University of London.
100
101
 
101
102
  Maps above reproduced with the permission of the National Library of Scotland https://maps.nls.uk/index.html
103
+
104
+ ## Contributors
105
+
106
+ <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
107
+ [![All Contributors](https://img.shields.io/badge/all_contributors-8-orange.svg?style=flat-square)](#contributors-)
108
+ <!-- ALL-CONTRIBUTORS-BADGE:END -->
109
+
110
+ <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
111
+ <!-- prettier-ignore-start -->
112
+ <!-- markdownlint-disable -->
113
+ <table>
114
+ <tbody>
115
+ <tr>
116
+ <td align="center" valign="top" width="14.28%"><a href="https://www.turing.ac.uk/people/researchers/katherine-mcdonough"><img src="https://avatars.githubusercontent.com/u/20363927?v=4?s=100" width="100px;" alt="Katie McDonough"/><br /><sub><b>Katie McDonough</b></sub></a><br /><a href="#research-kmcdono2" title="Research">🔬</a> <a href="#ideas-kmcdono2" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=kmcdono2" title="Documentation">📖</a> <a href="#eventOrganizing-kmcdono2" title="Event Organizing">📋</a> <a href="#projectManagement-kmcdono2" title="Project Management">📆</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akmcdono2" title="Reviewed Pull Requests">👀</a> <a href="#talk-kmcdono2" title="Talks">📢</a> <a href="#tutorial-kmcdono2" title="Tutorials">✅</a></td>
117
+ <td align="center" valign="top" width="14.28%"><a href="http://danielwilson.info"><img src="https://avatars.githubusercontent.com/u/34318222?v=4?s=100" width="100px;" alt="Daniel C.S. Wilson"/><br /><sub><b>Daniel C.S. Wilson</b></sub></a><br /><a href="#research-dcsw2" title="Research">🔬</a> <a href="#ideas-dcsw2" title="Ideas, Planning, & Feedback">🤔</a> <a href="#talk-dcsw2" title="Talks">📢</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=dcsw2" title="Documentation">📖</a> <a href="#eventOrganizing-dcsw2" title="Event Organizing">📋</a></td>
118
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/kasra-hosseini"><img src="https://avatars.githubusercontent.com/u/1899856?v=4?s=100" width="100px;" alt="Kasra Hosseini"/><br /><sub><b>Kasra Hosseini</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=kasra-hosseini" title="Code">💻</a> <a href="#ideas-kasra-hosseini" title="Ideas, Planning, & Feedback">🤔</a> <a href="#research-kasra-hosseini" title="Research">🔬</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akasra-hosseini" title="Reviewed Pull Requests">👀</a> <a href="#talk-kasra-hosseini" title="Talks">📢</a></td>
119
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/rwood-97"><img src="https://avatars.githubusercontent.com/u/72076688?v=4?s=100" width="100px;" alt="Rosie Wood"/><br /><sub><b>Rosie Wood</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=rwood-97" title="Code">💻</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=rwood-97" title="Documentation">📖</a> <a href="#ideas-rwood-97" title="Ideas, Planning, & Feedback">🤔</a> <a href="#talk-rwood-97" title="Talks">📢</a> <a href="#tutorial-rwood-97" title="Tutorials">✅</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Arwood-97" title="Reviewed Pull Requests">👀</a> <a href="#maintenance-rwood-97" title="Maintenance">🚧</a> <a href="#research-rwood-97" title="Research">🔬</a></td>
120
+ <td align="center" valign="top" width="14.28%"><a href="http://www.westerling.nu"><img src="https://avatars.githubusercontent.com/u/7298727?v=4?s=100" width="100px;" alt="Kalle Westerling"/><br /><sub><b>Kalle Westerling</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=kallewesterling" title="Code">💻</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=kallewesterling" title="Documentation">📖</a> <a href="#maintenance-kallewesterling" title="Maintenance">🚧</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akallewesterling" title="Reviewed Pull Requests">👀</a> <a href="#talk-kallewesterling" title="Talks">📢</a></td>
121
+ <td align="center" valign="top" width="14.28%"><a href="https://maps.nls.uk"><img src="https://avatars.githubusercontent.com/u/3666702?v=4?s=100" width="100px;" alt="Chris Fleet"/><br /><sub><b>Chris Fleet</b></sub></a><br /><a href="#data-ChrisFleet" title="Data">🔣</a></td>
122
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/kasparvonbeelen"><img src="https://avatars.githubusercontent.com/u/11618160?v=4?s=100" width="100px;" alt="Kaspar Beelen"/><br /><sub><b>Kaspar Beelen</b></sub></a><br /><a href="#ideas-kasparvonbeelen" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Akasparvonbeelen" title="Reviewed Pull Requests">👀</a> <a href="#research-kasparvonbeelen" title="Research">🔬</a></td>
123
+ </tr>
124
+ <tr>
125
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/andrewphilipsmith"><img src="https://avatars.githubusercontent.com/u/5346065?v=4?s=100" width="100px;" alt="Andy Smith"/><br /><sub><b>Andy Smith</b></sub></a><br /><a href="https://github.com/Living-with-machines/MapReader/commits?author=andrewphilipsmith" title="Code">💻</a> <a href="https://github.com/Living-with-machines/MapReader/commits?author=andrewphilipsmith" title="Documentation">📖</a> <a href="#mentoring-andrewphilipsmith" title="Mentoring">🧑‍🏫</a> <a href="https://github.com/Living-with-machines/MapReader/pulls?q=is%3Apr+reviewed-by%3Aandrewphilipsmith" title="Reviewed Pull Requests">👀</a></td>
126
+ </tr>
127
+ </tbody>
128
+ </table>
129
+
130
+ <!-- markdownlint-restore -->
131
+ <!-- prettier-ignore-end -->
132
+
133
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
134
+ <!-- prettier-ignore-start -->
135
+ <!-- markdownlint-disable -->
136
+
137
+ <!-- markdownlint-restore -->
138
+ <!-- prettier-ignore-end -->
139
+
140
+ <!-- ALL-CONTRIBUTORS-LIST:END -->
@@ -15,6 +15,8 @@ from mapreader.classify import custom_models
15
15
 
16
16
  from mapreader.process import process
17
17
 
18
+ from mapreader.annotate.annotator import Annotator
19
+
18
20
  from . import _version
19
21
 
20
22
  __version__ = _version.get_versions()["version"]
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2023-11-22T13:48:31+0000",
11
+ "date": "2023-12-12T16:49:22+0000",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "c10b2c456c4085f82204ec7f23bb34be44c9a315",
15
- "version": "1.0.6"
14
+ "full-revisionid": "9ee0cdf877d82bcfefadfe64733f15957fbe37e4",
15
+ "version": "1.0.7"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18