bcdata 0.10.3__tar.gz → 0.11.0__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 (28) hide show
  1. {bcdata-0.10.3 → bcdata-0.11.0}/CHANGES.txt +9 -1
  2. {bcdata-0.10.3/bcdata.egg-info → bcdata-0.11.0}/PKG-INFO +9 -7
  3. {bcdata-0.10.3 → bcdata-0.11.0}/README.md +3 -1
  4. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata/__init__.py +1 -1
  5. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata/cli.py +2 -1
  6. {bcdata-0.10.3 → bcdata-0.11.0/bcdata.egg-info}/PKG-INFO +9 -7
  7. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata.egg-info/requires.txt +5 -5
  8. bcdata-0.11.0/requirements.txt +8 -0
  9. bcdata-0.10.3/requirements.txt +0 -8
  10. {bcdata-0.10.3 → bcdata-0.11.0}/LICENSE.txt +0 -0
  11. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata/bc2pg.py +0 -0
  12. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata/bcdc.py +0 -0
  13. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata/database.py +0 -0
  14. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata/wcs.py +0 -0
  15. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata/wfs.py +0 -0
  16. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata.egg-info/SOURCES.txt +0 -0
  17. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata.egg-info/dependency_links.txt +0 -0
  18. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata.egg-info/entry_points.txt +0 -0
  19. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata.egg-info/not-zip-safe +0 -0
  20. {bcdata-0.10.3 → bcdata-0.11.0}/bcdata.egg-info/top_level.txt +0 -0
  21. {bcdata-0.10.3 → bcdata-0.11.0}/pyproject.toml +0 -0
  22. {bcdata-0.10.3 → bcdata-0.11.0}/setup.cfg +0 -0
  23. {bcdata-0.10.3 → bcdata-0.11.0}/setup.py +0 -0
  24. {bcdata-0.10.3 → bcdata-0.11.0}/tests/test_bc2pg.py +0 -0
  25. {bcdata-0.10.3 → bcdata-0.11.0}/tests/test_bcdc.py +0 -0
  26. {bcdata-0.10.3 → bcdata-0.11.0}/tests/test_cli.py +0 -0
  27. {bcdata-0.10.3 → bcdata-0.11.0}/tests/test_wcs.py +0 -0
  28. {bcdata-0.10.3 → bcdata-0.11.0}/tests/test_wfs.py +0 -0
@@ -1,13 +1,21 @@
1
1
  Changes
2
2
  =======
3
3
 
4
+ 0.11.0 (2024-07-29)
5
+ ------------------
6
+ - upgrade dependencies
7
+ - note bcgov uptime monitor in readme
8
+
9
+ 0.10.4 (2024-06-28)
10
+ ------------------
11
+ - bc2pg - enable --no_timestamp on --refresh
12
+
4
13
  0.10.3 (2024-06-28)
5
14
  ------------------
6
15
  - bc2pg - fix logging error on data refresh (#184)
7
16
  - fix failures on specific tables due to API quirks (#179/#181)
8
17
  - bc2pg - add missing --bounds option (#173)
9
18
 
10
-
11
19
  0.10.2 (2024-03-01)
12
20
  ------------------
13
21
  - improve connection management for better stability (#171)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bcdata
3
- Version: 0.10.3
3
+ Version: 0.11.0
4
4
  Summary: Python tools for quick access to DataBC geo-data available via WFS
5
5
  Home-page: https://github.com/smnorris/bcdata
6
6
  Author: Simon Norris
@@ -19,14 +19,14 @@ Classifier: Topic :: Utilities
19
19
  Classifier: Topic :: Scientific/Engineering :: GIS
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE.txt
22
- Requires-Dist: geoalchemy2==0.14.*
23
- Requires-Dist: geopandas==0.14.*
24
- Requires-Dist: owslib==0.29.*
22
+ Requires-Dist: geoalchemy2==0.15.*
23
+ Requires-Dist: geopandas==1.0.*
24
+ Requires-Dist: owslib==0.31.*
25
25
  Requires-Dist: psycopg2-binary==2.9.*
26
26
  Requires-Dist: rasterio==1.3.*
27
- Requires-Dist: requests==2.31.*
27
+ Requires-Dist: requests==2.32.*
28
28
  Requires-Dist: sqlalchemy==2.0.*
29
- Requires-Dist: stamina==23.2.*
29
+ Requires-Dist: stamina==24.2.*
30
30
  Provides-Extra: test
31
31
  Requires-Dist: pytest>=3; extra == "test"
32
32
  Requires-Dist: pre-commit; extra == "test"
@@ -43,7 +43,9 @@ There is a [wealth of British Columbia geographic information available as open
43
43
  data](https://catalogue.data.gov.bc.ca/dataset?download_audience=Public),
44
44
  but direct file download urls are not available and the syntax to accesss WFS via `ogr2ogr` and/or `curl/wget` can be awkward.
45
45
 
46
- This Python module and CLI attempts to simplify downloads of BC geographic data and smoothly integrate with PostGIS and Python GIS tools like `geopandas`, `fiona` and `rasterio`. As noted above, the module is an interface only to geographic data [avialable via WFS/WCS](https://bcgov.github.io/data-publication/pages/tips_tricks_webservices.html) - to work with other BC open data, use the [bcdata R package](https://github.com/bcgov/bcdata).
46
+ This tool attempts to simplify downloads of BC geographic data and smoothly integrate with PostGIS and Python GIS tools like `geopandas`, `fiona` and `rasterio`. As noted above, the module is an interface only to geographic data [avialable via WFS/WCS](https://bcgov.github.io/data-publication/pages/tips_tricks_webservices.html) - to work with other BC open data, use the [bcdata R package](https://github.com/bcgov/bcdata).
47
+
48
+ Note that this tool depends on BC Open Geospatial Web Services API at [openmaps.gov.bc.ca](https://openmaps.gov.bc.ca/geo/pub/ows?service=WFS&request=Getcapabilities) and the [BC Data Catalogue API](https://catalogue.data.gov.bc.ca/dataset/bc-data-catalogue-api). If downloads are failing, consult the [BCGov Data Systems and Services uptime monitor](https://uptime.com/statuspage/bcgov-dss).
47
49
 
48
50
  **Disclaimer**
49
51
  *It is the user's responsibility to check the licensing for any downloads, data are generally licensed as [OGL-BC](http://www2.gov.bc.ca/gov/content/governments/about-the-bc-government/databc/open-data/open-government-license-bc)*
@@ -9,7 +9,9 @@ There is a [wealth of British Columbia geographic information available as open
9
9
  data](https://catalogue.data.gov.bc.ca/dataset?download_audience=Public),
10
10
  but direct file download urls are not available and the syntax to accesss WFS via `ogr2ogr` and/or `curl/wget` can be awkward.
11
11
 
12
- This Python module and CLI attempts to simplify downloads of BC geographic data and smoothly integrate with PostGIS and Python GIS tools like `geopandas`, `fiona` and `rasterio`. As noted above, the module is an interface only to geographic data [avialable via WFS/WCS](https://bcgov.github.io/data-publication/pages/tips_tricks_webservices.html) - to work with other BC open data, use the [bcdata R package](https://github.com/bcgov/bcdata).
12
+ This tool attempts to simplify downloads of BC geographic data and smoothly integrate with PostGIS and Python GIS tools like `geopandas`, `fiona` and `rasterio`. As noted above, the module is an interface only to geographic data [avialable via WFS/WCS](https://bcgov.github.io/data-publication/pages/tips_tricks_webservices.html) - to work with other BC open data, use the [bcdata R package](https://github.com/bcgov/bcdata).
13
+
14
+ Note that this tool depends on BC Open Geospatial Web Services API at [openmaps.gov.bc.ca](https://openmaps.gov.bc.ca/geo/pub/ows?service=WFS&request=Getcapabilities) and the [BC Data Catalogue API](https://catalogue.data.gov.bc.ca/dataset/bc-data-catalogue-api). If downloads are failing, consult the [BCGov Data Systems and Services uptime monitor](https://uptime.com/statuspage/bcgov-dss).
13
15
 
14
16
  **Disclaimer**
15
17
  *It is the user's responsibility to check the licensing for any downloads, data are generally licensed as [OGL-BC](http://www2.gov.bc.ca/gov/content/governments/about-the-bc-government/databc/open-data/open-government-license-bc)*
@@ -15,4 +15,4 @@ PRIMARY_KEY_DB_URL = (
15
15
  "https://raw.githubusercontent.com/smnorris/bcdata/main/data/primary_keys.json"
16
16
  )
17
17
 
18
- __version__ = "0.10.3"
18
+ __version__ = "0.11.0"
@@ -438,7 +438,8 @@ def bc2pg(
438
438
  s, table = out_table.split(".")
439
439
  db.refresh(schema_target, table)
440
440
  out_table = schema_target + "." + table
441
- db.log(schema_target, table)
441
+ if timestamp:
442
+ db.log(schema_target, table)
442
443
 
443
444
  # do not notify of data load completion when no data load has occured
444
445
  if not schema_only:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: bcdata
3
- Version: 0.10.3
3
+ Version: 0.11.0
4
4
  Summary: Python tools for quick access to DataBC geo-data available via WFS
5
5
  Home-page: https://github.com/smnorris/bcdata
6
6
  Author: Simon Norris
@@ -19,14 +19,14 @@ Classifier: Topic :: Utilities
19
19
  Classifier: Topic :: Scientific/Engineering :: GIS
20
20
  Description-Content-Type: text/markdown
21
21
  License-File: LICENSE.txt
22
- Requires-Dist: geoalchemy2==0.14.*
23
- Requires-Dist: geopandas==0.14.*
24
- Requires-Dist: owslib==0.29.*
22
+ Requires-Dist: geoalchemy2==0.15.*
23
+ Requires-Dist: geopandas==1.0.*
24
+ Requires-Dist: owslib==0.31.*
25
25
  Requires-Dist: psycopg2-binary==2.9.*
26
26
  Requires-Dist: rasterio==1.3.*
27
- Requires-Dist: requests==2.31.*
27
+ Requires-Dist: requests==2.32.*
28
28
  Requires-Dist: sqlalchemy==2.0.*
29
- Requires-Dist: stamina==23.2.*
29
+ Requires-Dist: stamina==24.2.*
30
30
  Provides-Extra: test
31
31
  Requires-Dist: pytest>=3; extra == "test"
32
32
  Requires-Dist: pre-commit; extra == "test"
@@ -43,7 +43,9 @@ There is a [wealth of British Columbia geographic information available as open
43
43
  data](https://catalogue.data.gov.bc.ca/dataset?download_audience=Public),
44
44
  but direct file download urls are not available and the syntax to accesss WFS via `ogr2ogr` and/or `curl/wget` can be awkward.
45
45
 
46
- This Python module and CLI attempts to simplify downloads of BC geographic data and smoothly integrate with PostGIS and Python GIS tools like `geopandas`, `fiona` and `rasterio`. As noted above, the module is an interface only to geographic data [avialable via WFS/WCS](https://bcgov.github.io/data-publication/pages/tips_tricks_webservices.html) - to work with other BC open data, use the [bcdata R package](https://github.com/bcgov/bcdata).
46
+ This tool attempts to simplify downloads of BC geographic data and smoothly integrate with PostGIS and Python GIS tools like `geopandas`, `fiona` and `rasterio`. As noted above, the module is an interface only to geographic data [avialable via WFS/WCS](https://bcgov.github.io/data-publication/pages/tips_tricks_webservices.html) - to work with other BC open data, use the [bcdata R package](https://github.com/bcgov/bcdata).
47
+
48
+ Note that this tool depends on BC Open Geospatial Web Services API at [openmaps.gov.bc.ca](https://openmaps.gov.bc.ca/geo/pub/ows?service=WFS&request=Getcapabilities) and the [BC Data Catalogue API](https://catalogue.data.gov.bc.ca/dataset/bc-data-catalogue-api). If downloads are failing, consult the [BCGov Data Systems and Services uptime monitor](https://uptime.com/statuspage/bcgov-dss).
47
49
 
48
50
  **Disclaimer**
49
51
  *It is the user's responsibility to check the licensing for any downloads, data are generally licensed as [OGL-BC](http://www2.gov.bc.ca/gov/content/governments/about-the-bc-government/databc/open-data/open-government-license-bc)*
@@ -1,11 +1,11 @@
1
- geoalchemy2==0.14.*
2
- geopandas==0.14.*
3
- owslib==0.29.*
1
+ geoalchemy2==0.15.*
2
+ geopandas==1.0.*
3
+ owslib==0.31.*
4
4
  psycopg2-binary==2.9.*
5
5
  rasterio==1.3.*
6
- requests==2.31.*
6
+ requests==2.32.*
7
7
  sqlalchemy==2.0.*
8
- stamina==23.2.*
8
+ stamina==24.2.*
9
9
 
10
10
  [test]
11
11
  pytest>=3
@@ -0,0 +1,8 @@
1
+ geoalchemy2==0.15.*
2
+ geopandas==1.0.*
3
+ owslib==0.31.*
4
+ psycopg2-binary==2.9.*
5
+ rasterio==1.3.*
6
+ requests==2.32.*
7
+ sqlalchemy==2.0.*
8
+ stamina==24.2.*
@@ -1,8 +0,0 @@
1
- geoalchemy2==0.14.*
2
- geopandas==0.14.*
3
- owslib==0.29.*
4
- psycopg2-binary==2.9.*
5
- rasterio==1.3.*
6
- requests==2.31.*
7
- sqlalchemy==2.0.*
8
- stamina==23.2.*
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes