Skip to content

Tags: OliverSherouse/wbdata

Tags

v1.0.0

Toggle v1.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: Version 1.0 (#69)

The 1.0 release of wbdata is not quite a full rewrite, but is pretty
much the next best thing. The architecture has been reworked, function
and argument names have been changed to be more consistent and clear,
and a few dependencies have been added for better and more reliable
functionality.

Features:

* Date arguments can now be strings, not just datetime.datetime objects.
  Strings can be in the year, month, or quarter formats used by the
  World Bank API or in any other format that can be handled by
  [dateparser][https://dateparser.readthedocs.io/en/latest/].
* Default cache behavior can be configured with environment variables,
  including the path, TTL, and max number of items to cache. See Cache
  Module documentation for details.
* Users can now create Client objects if they want to set cache behavior
  programmatically have multiple caches, or supply their own requests
  Session.
* Caching is now provided using the shelved_cache and cachetools
  libraries. Since a lot of annoying bugs seemed to come from wbdata's
  home-rolled cache implementation, this should be a good
  quality-of-life improvement for many people.
* Type annotations are available.

Breaking API Changes:

* Supported version of Python are now 3.8+.
* All of the metadata retrieval functions have been renamed to their
  plural forms to reflect the fact that they always return a sequence:
* The functions search_countries and search_indicators have been
  removed. Searching by name is now available using the query
  parameter of the get_countries and get_indicators functions.
* The parameter data_date has been renamed date.
* The parameter convert_dates has been renamed parse_dates.
* The parameter cache with a default value True has been replaced with
  a parameter skip_cache with a default value of False.

v0.3.0.post

Toggle v0.3.0.post's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix documentation and release action (#59)

* Add details to pyproject.toml and fix docs dependency

* restricted publish to when releases are published

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Documentation hotfix 0.3.0 (#58)

* last updates to docs

v0.2.7

Toggle v0.2.7's commit message
bumped version for install fix

v0.2.5

Toggle v0.2.5's commit message
bumped version for release

v0.2.3

Toggle v0.2.3's commit message
bumped to version 0.2.3

v0.2.1

Toggle v0.2.1's commit message
Tagging Release 0.2.1

v0.2.0

Toggle v0.2.0's commit message
version 0.2.0

v0.1.0

Toggle v0.1.0's commit message
updated .gitignore