Skip to content

Releases: civisanalytics/civis-python

v1.5.1

15 May 22:56
Compare
Choose a tag to compare

Fixed

  • Fixed a bug which caused an exception to be set on all ModelFuture objects, regardless of job status (#86).
  • Fixed a bug which made the ModelPipeline unable to generate prediction jobs for models trained with v0.5 templates (#84).
  • Handle the case when inputs to ModelFuture are numpy.int64 (or other non-integer ints) (#85).

Changed

  • Convert README.md (Markdown) to README.rst (reStructuredText).

v1.5.0

11 May 14:43
Compare
Choose a tag to compare

1.5.0 - 2017-05-11

Added

  • Retries to http request in get_swagger_spec to make calls to APIClient robust to network failure
  • Parameter local_api_spec to APIClient to allow creation of client from local cache
  • Clarify civis.io.dataframe_to_civis docstring with a note about treatment of the index.
  • Added functions civis.io.file_id_from_run_output, civis.io.file_to_dataframe, and civis.io.file_to_json.
  • Added civis.ml namespace with ModelPipeline interface to Civis Platform modeling capabilities.
  • Added examples directory with sample ModelPipeline code from civis.ml.
  • Python 2.7 compatibility

Fixed

  • Corrected the defaults listed in the docstring for civis.io.civis_to_multifile_csv.
  • Do not allow uploading of files greater than 5GB to S3 (#58).
  • Revised example code of docstring of civis_to_file to use bytes when downloading file

Changed

  • Modified retry behavior so that 413, 429, or 503 errors accompanied by a "Retry-After" header will be retried regardless of the HTTP verb used.
  • Add CSV settings arguments to civis.io.civis_to_csv function.
  • Refactored use of "swagger" language. get_swagger_spec is now get_api_spec and parse_swagger is now parse_api_spec.
  • Modified CivisFuture so if PubNub is disconnected, it will fall back to polling on a shorter interval.

v1.4.0

17 Mar 18:45
Compare
Choose a tag to compare

API Changes

  • Deprecate api_key input to higher-level functions and classes in favor of an APIClient input. The api_key will be removed in v2.0.0. (#46)

Fixed

  • Improved threading implementation in PollableResult so that it no longer blocks interpreter shutdown.

Added

  • Decorator function for deprecating parameters (#46)

v1.3.0

07 Mar 18:39
Compare
Choose a tag to compare

1.3.0 - 2017-03-07

Added

  • civis.futures.CivisFuture for tracking future results

Performance Enhancements

  • civis.io.file_to_civis will perform a streaming upload to Platform if the optional requests-toolbelt package is installed.
  • Replace all PollableResult return values with CivisFuture to reduce the number of API calls and increase speed

v1.2.0

09 Feb 15:42
Compare
Choose a tag to compare

1.2.0 - 2017-02-08

Added

  • support for multifile csv exports
  • support for subscription based polling

Changed

  • civis.io functions use the "hidden" API option to keep jobs out of the UI. Deprecate the "archive" parameter in favor of "hidden".
  • civis.io.query_civis now has a "hidden" parameter which defaults to True
  • expose poller and poller_args as public attributes in PollableResults
  • update to default_credential to handle pagination in credentials.list endpoint.

Fixed

  • miscellaneous documentation fixes
  • unexpected keyword arguments passed to APIClient methods now raise appropriate TypeError

Performance Enhancements

  • Decrease time required to create client objects from ~0.6 seconds to ~150 us for all objects after the first in a session

v1.1.0

09 Dec 21:46
Compare
Choose a tag to compare

Changed

  • civis.io reads/writes to/from memory instead of disk where appropriate
  • Minor documentation corrections

Fixed

  • 204/205 responses now return valid Response object

v1.0.0

16 Nov 17:53
Compare
Choose a tag to compare

Initial (non pre-release) Release.

v0.9.9-beta

10 Nov 20:57
Compare
Choose a tag to compare
v0.9.9-beta Pre-release
Pre-release

initial release