crabpy


Namecrabpy JSON
Version 1.3.2 PyPI version JSON
download
home_pagehttp://github.com/onroerenderfgoed/crabpy
SummaryInteract with geographical webservices by Informatie Vlaanderen.
upload_time2024-04-02 11:38:27
maintainerNone
docs_urlNone
authorOnroerend Erfgoed
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements requests suds-py3 dogpile.cache
Travis-CI
coveralls test coverage
            CRABpy
======

This library provides access to the CRAB and CAPAKEY webservices operated by
the AGIV. Because connecting to these SOAP services from python can be somewhat
complicated, this library makes it easier.

.. image:: https://readthedocs.org/projects/crabpy/badge/?version=latest
        :target: https://readthedocs.org/projects/crabpy/?badge=latest
.. image:: https://badge.fury.io/py/crabpy.png
        :target: http://badge.fury.io/py/crabpy

.. image:: https://travis-ci.org/OnroerendErfgoed/crabpy.png?branch=master
        :target: https://travis-ci.org/OnroerendErfgoed/crabpy
.. image:: https://coveralls.io/repos/OnroerendErfgoed/crabpy/badge.png?branch=master
        :target: https://coveralls.io/r/OnroerendErfgoed/crabpy?branch=master
.. image:: https://scrutinizer-ci.com/g/OnroerendErfgoed/crabpy/badges/quality-score.png?b=master
        :target: https://scrutinizer-ci.com/g/OnroerendErfgoed/crabpy/?branch=master


1.3.2 (02-04-2024)
------------------

- Set x-api-key on all requests (#248)

1.3.1 (23-11-2023)
------------------

- Fix None rendering as string

1.3.0 (23-11-2023)
------------------

- Homoniemen toevoegen bij straten (#238)

1.2.6 (16-10-2023)
------------------

- Gateway terugplaatsen na serializen

1.2.5 (13-10-2023)
------------------

- Gateway niet langer cachen (#232)

1.2.4 (23-05-2023)
------------------

- Foute lijst van deelgemeenten gebruikt (#225)

1.2.3 (15-05-2023)
------------------

- Limiet van list op 1000 items (#221)

1.2.2 (09-05-2023)
------------------

- get percelen timeout (#217)

1.2.1 (04-05-2023)
------------------

- Adressenregister bugfixes

1.2.0 (04-05-2023)
------------------

- uniformiseer alles naar niscodes en check dat alle niscodes strings zijn (#208)
- errors checken en fine tunen (#209)

1.1.0 (03-05-2023)
------------------

- Lijst gemeenten statisch maken (#203)

1.0.0 (13-04-2023)
------------------

- Naar v2 van adressenregister (#185)
- File wordt niet geclosed (#133)
- black, flake8, python2 weg en pre-commit (#195)
- Uitbreidingen aan adressenregister model (#192)
- pip install van crabpy installeert ook een "tests" met alle data van crabpy (#165)

0.16.1 (29-03-2023)
-------------------

- Add user agent header to geo.api calls (#190)

0.16.0 (29-03-2023)
-------------------

- Overschakelen naar nieuwe AGIV services (#183)

0.15.0 (10-12-2021)
-------------------

- Methode list_straten kan meer data laden (#172)

0.14.0 (18-11-2021)
-------------------

- Bounding box geeft strings ipv floats (#168)

0.13.0 (14-09-2021)
-------------------

- Verwijderen python 2 support (#160)
- Vervangen suds-jurko door suds-py (#160)
- Upgraden requirements

0.12.1 (28-01-2021)
-------------------

- Adres toegevoegd aan Perceel (#147)

0.12.0 (24-06-2019)
-------------------

- Switchen naar v2 van de capakey REST-API (#120)
- Mocken van calls naar externe url's bij testen (#118)
- get_perceel_by_coordinates (#121)

0.11.0 (03-01-2019)
-------------------

- Update deelgemeenten (#110, #116)
- Fix travis tests (#112)
- Update dependencies

0.10.0 (17-07-2018)
-------------------

- Capakey service: change source base map (#95)
- Capakey service: return full geometry (#96)

0.9.0 (20-03-2018)
------------------

- Remove the deprecated CapakeyGateway (#92)


0.8.3 (07-12-2017)
------------------

- Fix some unit tests.
- Update some dependencies
- Configure pyup

0.8.2 (25-08-2017)
------------------
- Add zope.deprecation to setup.py #76
- Upgrade capakey rest service #78


0.8.1 (20-04-2017)
------------------

- Updated center and bounding box format in responses of the CapakeyRestGateway
  in accordance with the CapakeyGateway (#73).

0.8.0 (19-04-2017)
------------------

- Added a CapakeyRestGateway that uses the new Capakey REST service provided by
  Informatie Vlaanderen. (#45, #53)
- Deprecate Capakey SOAP gateway (#69)
- Fix a bug with list_huisnummers_by_perceel. (#67)
- Dropped support for Python 3.3 and added support for Python 3.6.

0.7.0 (25-01-2016)
------------------

- Add official support for python 3.5
- Implement list_huisnummers_by_perceel. (#56)
- Implement get_postadres_by_huisnummer and get_postadres_by_subadres. (#57)
- A a property Perceel.postadressen to get the postadressen for a certain
  Perceel. (#58)
- Implement a Deelgemeente object and list_deelgemeenten,
  list_deelgemeenten_by_gemeente and get_deelgemeente_by_id. (#63)

0.6.0 (01-06-2015)
------------------

- Implement operations dealing with Adrespositie. (#37) [TalissaJoly]
- Improve the coverage. (#39) [TalissaJoly]
- Fix a bug with objects that have an empty bounding box. (#46) [TalissaJoly]
- Better handling of unexisting objects. (#49) [TalissaJoly]
- Switch tests to py.test. (#19) [TalissaJoly]

0.5.0 (03-03-2015)
------------------

- Implement operations dealing with Subadres. This deals with things like
  postboxes in appartment complexes. (#34) (#40) [TalissaJoly]
- Drop support for python 3.2 (#36)
- Fix a bug with crab.list_aardsubadressen. (#38)

0.4.2 (18-09-2014)
------------------

- Fix an issue with CRAB Gateway list operations that contain no results. 
  Previously these triggered an error, now they return an empty list. (#33)
- Clean up CHANGES.rst so it works on pypi again.

0.4.1 (05-09-2014)
------------------

- Fix an issues with pickling in list_gemeente_by_provincie.
- Removed the sort parameter from list_gemeenten_by_provincie since it didn't
  work anyway.

0.4.0 (03-09-2014)
------------------

- Added a bounding box to a CRAB Straat. (#26)
- Added a bounding box to a CRAB Huisnummer. (#27)
- Added a Provincie object. (#31)

0.3.5 (02-09-2014)
------------------

- Fix hardcoded url in client.py. (#25)

0.3.4 (07-05-2014)
------------------

- Optimise lazy loading of capakey Gemeente. (#21)
- Optimise lazy loading of capakey Afdeling. (#22)
- General lazy loading optimisations.
- Some slight changes to CRAB lazy loading. (#24)

0.3.3 (02-05-2014)
------------------

- Added some debugging calls to allow an implementing application to track what
  calls are being made.

0.3.2 (07-04-2014)
------------------

- A `Gebouw` loaded through the 
  `crabpy.gateway.crab.CrabGateway.get_gebouw_by_id` was not passed a 
  `crabpy.gateway.crab.CrabGateway`. (#15)
- Always load a full `crabpy.gateway.crab.Metadata` object when returning
  from a get*_by_id method. (#13)
- Add a `wegobjecten` property to a `crabpy.gateway.crab.Straat`. (#17)
- Add a `wegsegmenten` property to a `crabpy.gateway.crab.Straat`. (#18)
- Added support for `Coveralls <https://coveralls.io>`_. (#16)

0.3.1 (17-03-2014)
------------------

- Fixed a bug with lazy loading a Perceel's capatype or cashkey. (#8)
- Removes duplicates from a list of gemeentes as returned by CRAB. (#10)
- Removed loading a Gemeente with an afdeling to speed up certain queries. (#7)
- Removed a few unneeded requests in the capakey gateway when working with 
  Gemeente.id or Afdeling.id.
- Fixed printing of objects through the __str__ method on python 2.7. (#9)
- Adapted examples for python 3 print. (#11)

0.3.0 (12-03-2014)
------------------

- Added a `Gateway <crabpy.gateway.crab.CrabGateway>` for the 
  Crab webservice.
- Added caching to the Crab Gateway using 
  `Dogpile <https://bitbucket.org/zzzeek/dogpile.cache>`_

0.2.1 (21-02-2014)
------------------

- Document how to connect to the services through a proxy.
- Fix an incomplete release.

0.2.0 (03-12-2013)
------------------

- Added a `Gateway <crabpy.gateway.capakey.CapakeyGateway>` for the 
  Capakey webservice.
- Added caching to the Capakey Gateway using 
  `Dogpile <https://bitbucket.org/zzzeek/dogpile.cache>`_
- Better test coverage. Ability to skip integration tests.
- Added some documentation.
- Removed a dependency for resolving UsernameDigestTokens. This in term removed
  the original suds from the dependency chain.
- Due to removing those dependencies, compatibility with Python 3.2 and 3.3 is 
  now present.

0.1.0 (25-10-2013)
------------------

- Initial release
- A working client for the `CRAB webservice <http://www.agiv.be/gis/diensten/?catid=156>`_.
- A working client for the `CapaKey webservice <http://www.agiv.be/gis/diensten/?catid=138>`_.

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/onroerenderfgoed/crabpy",
    "name": "crabpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Onroerend Erfgoed",
    "author_email": "ict@onroerenderfgoed.be",
    "download_url": "https://files.pythonhosted.org/packages/a8/64/343450bc2e74e15cd69aaefcb3ce1ccde54195edacc3131b046bd508ee94/crabpy-1.3.2.tar.gz",
    "platform": null,
    "description": "CRABpy\n======\n\nThis library provides access to the CRAB and CAPAKEY webservices operated by\nthe AGIV. Because connecting to these SOAP services from python can be somewhat\ncomplicated, this library makes it easier.\n\n.. image:: https://readthedocs.org/projects/crabpy/badge/?version=latest\n        :target: https://readthedocs.org/projects/crabpy/?badge=latest\n.. image:: https://badge.fury.io/py/crabpy.png\n        :target: http://badge.fury.io/py/crabpy\n\n.. image:: https://travis-ci.org/OnroerendErfgoed/crabpy.png?branch=master\n        :target: https://travis-ci.org/OnroerendErfgoed/crabpy\n.. image:: https://coveralls.io/repos/OnroerendErfgoed/crabpy/badge.png?branch=master\n        :target: https://coveralls.io/r/OnroerendErfgoed/crabpy?branch=master\n.. image:: https://scrutinizer-ci.com/g/OnroerendErfgoed/crabpy/badges/quality-score.png?b=master\n        :target: https://scrutinizer-ci.com/g/OnroerendErfgoed/crabpy/?branch=master\n\n\n1.3.2 (02-04-2024)\n------------------\n\n- Set x-api-key on all requests (#248)\n\n1.3.1 (23-11-2023)\n------------------\n\n- Fix None rendering as string\n\n1.3.0 (23-11-2023)\n------------------\n\n- Homoniemen toevoegen bij straten (#238)\n\n1.2.6 (16-10-2023)\n------------------\n\n- Gateway terugplaatsen na serializen\n\n1.2.5 (13-10-2023)\n------------------\n\n- Gateway niet langer cachen (#232)\n\n1.2.4 (23-05-2023)\n------------------\n\n- Foute lijst van deelgemeenten gebruikt (#225)\n\n1.2.3 (15-05-2023)\n------------------\n\n- Limiet van list op 1000 items (#221)\n\n1.2.2 (09-05-2023)\n------------------\n\n- get percelen timeout (#217)\n\n1.2.1 (04-05-2023)\n------------------\n\n- Adressenregister bugfixes\n\n1.2.0 (04-05-2023)\n------------------\n\n- uniformiseer alles naar niscodes en check dat alle niscodes strings zijn (#208)\n- errors checken en fine tunen (#209)\n\n1.1.0 (03-05-2023)\n------------------\n\n- Lijst gemeenten statisch maken (#203)\n\n1.0.0 (13-04-2023)\n------------------\n\n- Naar v2 van adressenregister (#185)\n- File wordt niet geclosed (#133)\n- black, flake8, python2 weg en pre-commit (#195)\n- Uitbreidingen aan adressenregister model (#192)\n- pip install van crabpy installeert ook een \"tests\" met alle data van crabpy (#165)\n\n0.16.1 (29-03-2023)\n-------------------\n\n- Add user agent header to geo.api calls (#190)\n\n0.16.0 (29-03-2023)\n-------------------\n\n- Overschakelen naar nieuwe AGIV services (#183)\n\n0.15.0 (10-12-2021)\n-------------------\n\n- Methode list_straten kan meer data laden (#172)\n\n0.14.0 (18-11-2021)\n-------------------\n\n- Bounding box geeft strings ipv floats (#168)\n\n0.13.0 (14-09-2021)\n-------------------\n\n- Verwijderen python 2 support (#160)\n- Vervangen suds-jurko door suds-py (#160)\n- Upgraden requirements\n\n0.12.1 (28-01-2021)\n-------------------\n\n- Adres toegevoegd aan Perceel (#147)\n\n0.12.0 (24-06-2019)\n-------------------\n\n- Switchen naar v2 van de capakey REST-API (#120)\n- Mocken van calls naar externe url's bij testen (#118)\n- get_perceel_by_coordinates (#121)\n\n0.11.0 (03-01-2019)\n-------------------\n\n- Update deelgemeenten (#110, #116)\n- Fix travis tests (#112)\n- Update dependencies\n\n0.10.0 (17-07-2018)\n-------------------\n\n- Capakey service: change source base map (#95)\n- Capakey service: return full geometry (#96)\n\n0.9.0 (20-03-2018)\n------------------\n\n- Remove the deprecated CapakeyGateway (#92)\n\n\n0.8.3 (07-12-2017)\n------------------\n\n- Fix some unit tests.\n- Update some dependencies\n- Configure pyup\n\n0.8.2 (25-08-2017)\n------------------\n- Add zope.deprecation to setup.py #76\n- Upgrade capakey rest service #78\n\n\n0.8.1 (20-04-2017)\n------------------\n\n- Updated center and bounding box format in responses of the CapakeyRestGateway\n  in accordance with the CapakeyGateway (#73).\n\n0.8.0 (19-04-2017)\n------------------\n\n- Added a CapakeyRestGateway that uses the new Capakey REST service provided by\n  Informatie Vlaanderen. (#45, #53)\n- Deprecate Capakey SOAP gateway (#69)\n- Fix a bug with list_huisnummers_by_perceel. (#67)\n- Dropped support for Python 3.3 and added support for Python 3.6.\n\n0.7.0 (25-01-2016)\n------------------\n\n- Add official support for python 3.5\n- Implement list_huisnummers_by_perceel. (#56)\n- Implement get_postadres_by_huisnummer and get_postadres_by_subadres. (#57)\n- A a property Perceel.postadressen to get the postadressen for a certain\n  Perceel. (#58)\n- Implement a Deelgemeente object and list_deelgemeenten,\n  list_deelgemeenten_by_gemeente and get_deelgemeente_by_id. (#63)\n\n0.6.0 (01-06-2015)\n------------------\n\n- Implement operations dealing with Adrespositie. (#37) [TalissaJoly]\n- Improve the coverage. (#39) [TalissaJoly]\n- Fix a bug with objects that have an empty bounding box. (#46) [TalissaJoly]\n- Better handling of unexisting objects. (#49) [TalissaJoly]\n- Switch tests to py.test. (#19) [TalissaJoly]\n\n0.5.0 (03-03-2015)\n------------------\n\n- Implement operations dealing with Subadres. This deals with things like\n  postboxes in appartment complexes. (#34) (#40) [TalissaJoly]\n- Drop support for python 3.2 (#36)\n- Fix a bug with crab.list_aardsubadressen. (#38)\n\n0.4.2 (18-09-2014)\n------------------\n\n- Fix an issue with CRAB Gateway list operations that contain no results. \n  Previously these triggered an error, now they return an empty list. (#33)\n- Clean up CHANGES.rst so it works on pypi again.\n\n0.4.1 (05-09-2014)\n------------------\n\n- Fix an issues with pickling in list_gemeente_by_provincie.\n- Removed the sort parameter from list_gemeenten_by_provincie since it didn't\n  work anyway.\n\n0.4.0 (03-09-2014)\n------------------\n\n- Added a bounding box to a CRAB Straat. (#26)\n- Added a bounding box to a CRAB Huisnummer. (#27)\n- Added a Provincie object. (#31)\n\n0.3.5 (02-09-2014)\n------------------\n\n- Fix hardcoded url in client.py. (#25)\n\n0.3.4 (07-05-2014)\n------------------\n\n- Optimise lazy loading of capakey Gemeente. (#21)\n- Optimise lazy loading of capakey Afdeling. (#22)\n- General lazy loading optimisations.\n- Some slight changes to CRAB lazy loading. (#24)\n\n0.3.3 (02-05-2014)\n------------------\n\n- Added some debugging calls to allow an implementing application to track what\n  calls are being made.\n\n0.3.2 (07-04-2014)\n------------------\n\n- A `Gebouw` loaded through the \n  `crabpy.gateway.crab.CrabGateway.get_gebouw_by_id` was not passed a \n  `crabpy.gateway.crab.CrabGateway`. (#15)\n- Always load a full `crabpy.gateway.crab.Metadata` object when returning\n  from a get*_by_id method. (#13)\n- Add a `wegobjecten` property to a `crabpy.gateway.crab.Straat`. (#17)\n- Add a `wegsegmenten` property to a `crabpy.gateway.crab.Straat`. (#18)\n- Added support for `Coveralls <https://coveralls.io>`_. (#16)\n\n0.3.1 (17-03-2014)\n------------------\n\n- Fixed a bug with lazy loading a Perceel's capatype or cashkey. (#8)\n- Removes duplicates from a list of gemeentes as returned by CRAB. (#10)\n- Removed loading a Gemeente with an afdeling to speed up certain queries. (#7)\n- Removed a few unneeded requests in the capakey gateway when working with \n  Gemeente.id or Afdeling.id.\n- Fixed printing of objects through the __str__ method on python 2.7. (#9)\n- Adapted examples for python 3 print. (#11)\n\n0.3.0 (12-03-2014)\n------------------\n\n- Added a `Gateway <crabpy.gateway.crab.CrabGateway>` for the \n  Crab webservice.\n- Added caching to the Crab Gateway using \n  `Dogpile <https://bitbucket.org/zzzeek/dogpile.cache>`_\n\n0.2.1 (21-02-2014)\n------------------\n\n- Document how to connect to the services through a proxy.\n- Fix an incomplete release.\n\n0.2.0 (03-12-2013)\n------------------\n\n- Added a `Gateway <crabpy.gateway.capakey.CapakeyGateway>` for the \n  Capakey webservice.\n- Added caching to the Capakey Gateway using \n  `Dogpile <https://bitbucket.org/zzzeek/dogpile.cache>`_\n- Better test coverage. Ability to skip integration tests.\n- Added some documentation.\n- Removed a dependency for resolving UsernameDigestTokens. This in term removed\n  the original suds from the dependency chain.\n- Due to removing those dependencies, compatibility with Python 3.2 and 3.3 is \n  now present.\n\n0.1.0 (25-10-2013)\n------------------\n\n- Initial release\n- A working client for the `CRAB webservice <http://www.agiv.be/gis/diensten/?catid=156>`_.\n- A working client for the `CapaKey webservice <http://www.agiv.be/gis/diensten/?catid=138>`_.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Interact with geographical webservices by Informatie Vlaanderen.",
    "version": "1.3.2",
    "project_urls": {
        "Homepage": "http://github.com/onroerenderfgoed/crabpy"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "581d6965544a484892b10b4702b99a256941c960fa31390ca3d79a34d9439031",
                "md5": "1cba682bc4094831e6b5803c3cd527f6",
                "sha256": "0f0444b69774527c5a0227c571c51de8ea4bcd92e80360e2a593e687e9abd11d"
            },
            "downloads": -1,
            "filename": "crabpy-1.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1cba682bc4094831e6b5803c3cd527f6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 52649,
            "upload_time": "2024-04-02T11:38:24",
            "upload_time_iso_8601": "2024-04-02T11:38:24.924882Z",
            "url": "https://files.pythonhosted.org/packages/58/1d/6965544a484892b10b4702b99a256941c960fa31390ca3d79a34d9439031/crabpy-1.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a864343450bc2e74e15cd69aaefcb3ce1ccde54195edacc3131b046bd508ee94",
                "md5": "e426e4ea88ec06500950bfe1b1705be0",
                "sha256": "9ae81ab4c6292b6ce06197d06d032dff8cf2c954b51ce04f865a1ee2faadb8dd"
            },
            "downloads": -1,
            "filename": "crabpy-1.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e426e4ea88ec06500950bfe1b1705be0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 54741,
            "upload_time": "2024-04-02T11:38:27",
            "upload_time_iso_8601": "2024-04-02T11:38:27.362588Z",
            "url": "https://files.pythonhosted.org/packages/a8/64/343450bc2e74e15cd69aaefcb3ce1ccde54195edacc3131b046bd508ee94/crabpy-1.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-02 11:38:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "onroerenderfgoed",
    "github_project": "crabpy",
    "travis_ci": true,
    "coveralls": true,
    "github_actions": false,
    "requirements": [
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.27.1"
                ]
            ]
        },
        {
            "name": "suds-py3",
            "specs": [
                [
                    "==",
                    "1.4.5.0"
                ]
            ]
        },
        {
            "name": "dogpile.cache",
            "specs": [
                [
                    "==",
                    "1.1.5"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "crabpy"
}
        
Elapsed time: 0.24766s