Skip to content

Releases: isogeo/isogeo-api-py-minsdk

3.2.0

26 Aug 12:41
7042816
Compare
Choose a tag to compare

See related milestone: https://github.com/isogeo/isogeo-api-py-minsdk/milestone/4?closed=1

Changes:

  • 7042816 Automatically set the locale matching the selected API language (#93) [ #91 ]
  • 63f5411 Update Docs to fit version 3.2 (#92)
  • b5c573f Add metadata.conditions model and routes - Merge #90
  • 5c51da8 handle different licenses input
  • 7d830dc testing conditions creation and deletion
  • 001ee83 use new conditions methods
  • 57ea84c add methods to add and delete a condition from a metadata
  • e737581 use tuple instaed of list #77
  • b5eef1d add route to return a detailed condition
  • f6686a6 remove duplicated lines
See more
  • a46a004 add condition model
  • 5cb09e2 Merge branch 'master' into licenses-conditions
  • 8989211 add routes for conditions
  • d5796e3 docstring clean up
  • 174136c add conditions list shortcut
  • 8c726d5 make helper for datetimes more robust #85
  • 6480c53 complete helper for datetimes with format "%Y-%m-%dT%H:%M:%S"
  • 589bb51 remove codecov upload because not working
  • 8010400 update with latest changes
  • b6281db minor fix
  • af62eee Enforce utils - Merge #89
  • b970332 add a fixture for QA group apps
  • 820bd41 enforce utils.get_url_base
  • 4a4342c Improve Utils adding an API platform guesser - Merge #88
  • 7d4482c add helper to guess the API platform - close #87
  • 649ab68 renaming helper datetimes and improve doctrsing #85
  • f3910f3 apply classmethod decorator on independant methods
  • be803ac renaming convert octets method
  • 9c513fe helper should handle milliseconds <= 6 digits #85
  • e0b2285 Helper to handle different timestamp formats (#86) [ #85 ]
  • caf8eea fix missing _created and _modified properties in metadata model (#84)
  • ff049d3 improve utils message
  • aa5fa7c fix: include was not transmitted during a normal pagination search
  • 7857aff add a class method to handle invalid attributes names close #82 - merge #83
  • 9787050 add a cl&ss method to handle invalid attributes names close #82
  • 32c0cd4 handle cases where it's not possible to get the current event loop
  • 8002e74 helper to retrieve title or name with basic option to slug it close #81
  • 667827f Improve search and metadata methods - #73
  • 53237ef restore tags_as_dicts option
  • 62e0eea improve get version method
  • 25205fc use lru as minimalist cache and so use tuple instaed of list (unhasable type) #77
  • 19bd3a2 use lru cache to increase perfs #77
  • ae5eb2c search - auto async requests
  • 7adfc8d fix attributes types
  • 8154e50 update doc to fit new param name
  • cc9b5c3 check total results before make requests to improve eprfs and avoid #38
  • 261bb6c add a method to quickly retrieve search context
  • a27a3f0 renaming search option whole_share into whole_results
  • 7d921ff make error message more verbose
  • 9a13635 working on making requests async
  • 703d312 increase search coverage
  • 56ebed1 rename and fix shares
  • 7d68bb4 improve search testing
  • 8c22ff8 fix ci because ofa missing slash
  • 5617b42 minor fix
  • 1665a79 fix forgotten variables retrieval
  • 07a7ad5 fix tests adapting them to the latest auth mechanisms
  • fd78438 Merge branch 'master' into metadata
  • 620d765 Merge #76 - Auth - Handle oAuth2 Client Credentials Grant flow (Backend Application Client)
  • c8abe10 apply new env vars names
  • b9656bd update env template
  • f3c5495 fix tests
  • 581879b remove auth import (deleted module)
  • d166b43 ci - queue builds
  • fa7c082 ci - restore tag condition in publish step
  • f64c3c2 Merge branch 'master' into auth
  • 00fddf1 Use intersphinx to improve links with other docs
  • 158443a add redirect uri to user auth dict
  • 210a0d4 add detailed docstring on main class
  • e122214 use French as default language (as 99% of clients)
  • 1bf1a06 remove latex settings
  • 5ae3607 fix docstring
  • 342914b fix docstring
  • 9782356 remove custom theme for local build
  • b9c8e67 use intersphinx to make references to other docs
  • 2504841 Merge branch 'master' into docs
  • 2959cc2 fix git conflicts
  • 4109f25 add authentication with Client Credentials Grant #74
  • 4439c95 add new attributes to the loader
  • 33f7571 use pathlib.path instead of os.path
  • f4e212c cleaning up
  • 5c0f11e decorate credentials loader as class method
  • f42c42c cleaning up
  • 6ba3466 remove code unused code from version 2.x
  • 389be07 remove deprecated method
  • 0533611 switching package metadata into a dedicated module about
  • e3efdbc switch to LGPL3
  • a5a54c0 simplify packaging
  • e367adc bump python version
  • 1fea406 Merge branch 'master' into metadata
  • bb64c0a ci fix
  • f031041 revamping ci
  • 4c36d86 target python 3.7 to code formatting
  • a7c87c1 housekeeping dependencies
  • 365931d move search method to independant module
  • e30f86e fix json examples
  • 53e1119 fix docstring indentation
  • 09adb3c cleaning docstring for models

This list of changes was auto generated.

version 3.1.0

09 Aug 12:43
Compare
Choose a tag to compare

See related milestone.

Changes:

  • 8224a90 remove duplicated github release task
  • 3b7a0f8 put the github release before the pypi upload
  • 240bfaa bump version to 3.1.0
  • a9bc6f9 ci -improve tagged commit triggers
  • 8870a21 docstring
  • dc60d19 Merge pull request #72 from isogeo/feature-attributes
  • be2f76c fix import in update mode and add update_or_add mode
  • 1e4d11c decrease log level
  • fe0eb27 name the module
  • f327c37 fix checker test
See more
  • d295e10 start testing feature attributes methods
  • 24038e2 Merge branch 'master' into feature-attributes
  • eae789f restoring codecov report (#71)
  • f889835 do not raise error, juste False
  • 3482d0e add a new mode to import from other dataset
  • 6aabf22 improve update method
  • 31a4067 docstring
  • f4cb18f rename contact method
  • 74930df typo
  • 4d853a4 typo doc string
  • 6e34cc4 typo docstring
  • 39756b1 Better docstring (#70)
  • aa08085 docstring again
  • 2d40ee3 typo docstring
  • b28761c Merge pull request #69 from isogeo/catalogs
  • 2704267 add a method and a shortcut to list catalogs of a metadata
  • 3aedae8 typo
  • 1544d73 Merge branch 'master' into catalogs
  • 50f134e typo in docstring
  • 8d112a8 fix existing keywords parsing
  • 936338e Merge pull request #68 from isogeo/links
  • 08bd344 fix link deletion
  • 7a5baae test link creation with uploaded data
  • 6cc24b4 typo
  • 0df5590 enlarge the link model to allow association between links
  • 1781387 add error trying to create an uploaded link with links.create method
  • 58cf474 add method to create links with uploaded data
  • 987333f add method to update a link
  • 5f0416c add method to delete a link
  • 10443d5 add deprecation warning when trying to add raw geoservices links
  • d7c00e0 add cache for link-kinds
  • abe8ccc add minimalist cache system on link-kinds matrix
  • 289e6a0 add a helper to automatically check and clean kind/actions links
  • dca8ea1 add method to add a new link to a metadata
  • 834ccae add unit tests
  • 1e0b5c4 apply formatting for py37
  • 70d7636 add method to get details about a specific link
  • 1a8220c typo and docstring
  • 33ad3c0 add pylint to dev requirements
  • 1d80d41 add method to download hosted data
  • 9dfc9f5 complete link model with size
  • 7ca66e6 add method to list links of a metadata
  • 223cd80 cleanin up the link model
  • 593895c start methods to manage metadata links
  • 1c29faa typo
  • ff71137 Merge pull request #67 from isogeo/metadata
  • 176ca27 Merge branch 'master' into metadata
  • 460c4c9 add method to download XML 19139 version
  • edf01df Merge pull request #66 from isogeo/keywords
  • 87084da add a check exists option in keywords tagging to avoid useless requests
  • a031e1d clean keyword model
  • 74febf4 Merge pull request #65 from isogeo/webgeoservices
  • 760b48a improve service creation helper allowing ignore avaibility test
  • bd3b247 clean services models
  • 65056f1 Improve Coordinate-systems (#64)
  • 158a677 extend metadata get method with an option to return the complete object after creation
  • b28a97c Improve metadata model and methods (#62)
  • fc595bb improving model attributes description
  • ebf8911 typo
  • d53a1be fix param type hint
  • d9b2e30 Merge pull request #63 from isogeo/limitations-directives
  • 7479986 fix limitations test
  • 898dcfb add method to update a limitation
  • 9a156f1 typo
  • fd1c84e add method to delete a limitation
  • bedc4b2 add limitation creation
  • 905f3b5 typo
  • cbb5182 add limittaions routes list and get
  • 63defe4 enlarge your limitation model with parent_resource
  • 35c6ef4 cleaningg up directive model
  • 5d9a7a8 Merge pull request #61 from isogeo/licenses-conditions
  • 78891cb typo
  • 31b1a3a add limitation model
  • ae6411b add limitation enums
  • 5dc710f remove creation related emthods because a diretcive can't be added by the API
  • e10a437 cleaning up the license model
  • 5b4f941 fix metadata model for creation
  • bd45469 renaming licenses routes
  • 9cd8b4f Merge pull request #60 from isogeo/keywords
  • 65053c0 add method and shortcut to list the keywords of a metadata
  • b1c0427 renaming keywords routes
  • 2a3f514 Merge branch 'master' of https://github.com/isogeo/isogeo-api-py-minsdk
  • 136098e move migrations scripts to the new dedicated repo
  • 5f75a57 renaming catalogs methods (#59)
  • 13d5e44 renaming catalogs methods
  • f3e00c4 Merge branch 'master' into catalogs
  • d0759f9 Revert "renaming catalogs methods"
  • 9f931e5 renaming catalogs methods
  • ca9fcb3 fix events parsing (#58)
  • 25fc655 Merge pull request #57 from isogeo/tests
  • ce6439b cleaning tests
  • 092fa50 Merge pull request #54 from isogeo/events
  • b438969 Merge pull request #55 from isogeo/feature-attributes
  • ae62245 fix missing default values
  • 2d9d5da remove travis and codecov refs
  • 8c0e6e6 improveafix event creation check
  • a034e9c handle ISO8601 dates
  • beff612 minor changes before release

This list of changes was [auto generated](https://dev.azure.com/isogeo/Python SDK/_build/results?buildId=529&view=logs).

Version 3.0.0

30 Jul 10:07
Compare
Choose a tag to compare

turns the mini-sdk into a complete wrapper around the Isogeo API (read and write capabilities). It's a big change with many compatibility breaks with previous versions.

See related milestone.

Models

  • Account (=~User)
  • Application
  • Catalog
  • Contact
  • Coordinate system
  • Datasource (CSW entrypoints...)
  • Directive (EU environment code used as INSPIRE limiations)
  • Format
  • Invitation
  • Keyword
    • Keywords search
  • License
  • Resource (= Metadata). And the related subresources:
    • Event
    • Feature attribute
    • Link
    • Resources search
    • Service layers
    • Service operations
  • Share
  • Specification
  • Thesaurus
  • Workgroup (owner)

Routes

  • Account:

    • get one
    • update
    • get memberships (groups / roles)
  • Applications:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • list associated groups
    • associate with a group
    • dissociate from a group
  • Catalogs:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • associate with a metadata
    • dissociate from a metadata
    • get shares containing this catalog
    • get statistics (= dashboard)
    • get statistics by tags (=dashboard)
  • Contacts:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • associate with a metadata
    • dissociate from a metadata
  • Coordinate-systems:

    • listing global
    • listing within a workgroup
    • get one global and within a workgroup
    • update (custom alias in workgroup)
    • associate with a group
    • dissociate from a group
  • Datasources (CSW entrypoints...):

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • list sessions of a datasource
    • create session
  • Directive (EU environment code used as INSPIRE limiations):

    • listing
  • Events:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
  • Feature attributes:

    • listing
    • get one
    • create
    • delete
    • update
    • import from another dataset
  • Formats:

    • listing global
    • listing 'free'
    • search
    • get one
    • create
    • update
    • delete
  • Invitations:

    • listing
    • get one
    • create
    • delete
  • Keywords:

    • search wihtin a thesaurus
    • search wihtin a group
    • create
    • delete
    • associate with a metadata
    • dissociate from a metadata
  • Licenses:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • associate with a metadata
    • dissociate from a metadata
  • Resources (~= Metadatas):

    • search as application
    • search within a group
    • get one
    • create
    • delete
    • exists
    • update
    • download ISO 19139 XML version
  • Service layers:

    • listing
    • get one
    • create
    • delete
    • update
    • associate with a dataset metadata
    • dissociate from a dataset metadata
  • Service operations:

    • listing
    • get operation of a service
    • create
    • delete
    • update
  • Shares:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • enable/disable reshare option
    • refresh url token
    • associate with applications
    • dissociate from applications
    • associate with catalogs
    • dissociate from catalogs
    • associate with groups
    • dissociate from groups
  • Specifications:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • associate with a metadata
    • dissociate from a metadata
  • Workgroups:

    • listing
    • get one
    • create
    • delete
    • exists
    • update
    • get invitations
    • get users (= memberships)
    • get limits
    • get statistics (= dashboard)
    • get statistics by tags (=dashboard)

Enums

  • Application kinds
  • Contact roles
  • Contact types
  • Event kinds
  • Keywords casing
  • Links actions
  • Links kinds
  • Links types
  • Metadata edition profile
  • Metadata subresources
  • Metadata types
  • Session status
  • Shares types
  • Catalog Statistics tags
  • Workgroup Statistics tags

Version 3.0.0-beta1

24 Jul 13:46
ca723b8
Compare
Choose a tag to compare
Version 3.0.0-beta1 Pre-release
Pre-release

Switch to a complete SDK using POO.
See: #43

Version 2.21.2

24 Jul 13:47
5650ea5
Compare
Choose a tag to compare

Version 2.21.0

24 Jul 13:21
Compare
Choose a tag to compare
v2.21.0

Version 2.21.0

Version 2.20.5

10 Apr 13:40
Compare
Choose a tag to compare

THIS IS THE LAST VERSION TO SUPPORT PYTHON 2.7, 3.3 and 3.4

Features

  • handle base64 and quori encoded filenames #32
  • handle scopes inside credentials files #34

Bug fixes

  • fix tags_as_dict method #31

Tooling, build and doc

  • add Python 3.7 for tests and build
  • use Azure Pipelines to test, lint and build #33
  • improve usage doc
  • include wiki as submodule

Version 2.20.4

05 Sep 13:20
Compare
Choose a tag to compare

Version 2.20.3

05 Sep 13:25
Compare
Choose a tag to compare

Include:

Version 2.20.2

06 Aug 12:47
Compare
Choose a tag to compare
  • add method to determien API base URL from credentials file #28
  • minor bug fixes #27