Metadata-Version: 2.1
Name: pyevr
Version: 0.6.0.dev1
Summary: Python client for EVR
Home-page: https://github.com/thorgate/pyevr
Author: Thorgate
Author-email: code@thorgate.eu
License: MIT license
Keywords: pyevr
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
License-File: LICENSE
License-File: AUTHORS.rst

=====
pyevr
=====


Python client for EVR


.. image:: https://img.shields.io/pypi/v/pyevr.svg
        :target: https://pypi.python.org/pypi/pyevr

.. image:: https://travis-ci.org/thorgate/pyevr.svg?branch=master
        :target: https://travis-ci.org/thorgate/pyevr

.. image:: https://readthedocs.org/projects/pyevr/badge/?version=latest
        :target: https://pyevr.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status

.. image:: https://pyup.io/repos/github/thorgate/pyevr/shield.svg
        :target: https://pyup.io/repos/github/thorgate/pyevr/
        :alt: Updates

.. image:: https://coveralls.io/repos/github/thorgate/pyevr/badge.svg?branch=master
        :target: https://coveralls.io/github/thorgate/pyevr?branch=master
        :alt: Test coverage



* Free software: MIT license
* Documentation: https://pyevr.readthedocs.io.

Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=========
Changelog
=========

0.6.0.dev1
----------

**Generic**

* Change `all` method to be a generator instead of returning a list, to
  allow data consumer to start consumption faster and avoid loading the
  unnecessary pages if error happens early on
* Add `deserialize_data` method that allows to rehydrate the model from
  result of `sanitize_for_serialization` (allowing to store models as
  json and similar use-cases)

**Updates**

Use EVR schema 1.9.0 from staging server

* Support `WithoutForestNotice` holding base

* Support `page_size` parameter for list endpoints

* Support `last_modified_after` and `last_modified_before` for waybill list

* Support `waybill_latest_measurements` in waybill model


0.5.2 (2022-04-06)
------------------

**Generic**

* Improve documentation

**Compatibility**

* Update to newest EVR schema
* Workaround: Patch minLength in schema to be consistent with data returned by API
* Remove workaround for assortment schema

0.5.0 (2020-04-18)
------------------

**Generic**

* Remove Python 3.5 support (#56)
* Update client code to match EVR API v1.1.1 (#56)
* Update openapi-generator-cli to v4.3.0 (#56)
* Update Python dependencies (#43 #52 #54 #55 #56)

0.4.0 (2020-02-02)
------------------

**Generic**

* Update Python requirements (#33 #36 #40 #41)
* Update openapi-generator-cli to v4.2.3 (#42)

**Bugs**

* Add type to holding base children when sending a waybill to EVR (#42)
* Fix `Assortment.product_group` usage (#42)

0.3.0 (2020-01-16)
------------------

**Enhancements**

* Add a method for returning all of the results for EVR API's list endpoints
* Update WaybillsApi to use waybills_list instead of waybills_get and waybills_get instead of waybills_get2

0.2.2 (2019-12-04)
------------------

**Generic**

* Remove workarounds that where created because of invalid API schema and wrong data in test server
* Update openapi-generator-cli to v4.2.2

**Bugs**

* Fix issues with all configuration instances having same values as the one that was created first

0.2.1 (2019-11-26)
------------------

**Generic**

* Update openapi-generator-cli to v4.2.1
* Update Python requirements and fix them for the CI

**Bugs**

* Fix issues with maximum values in API schema (until it gets fixed in schema)
* Workaround for issues with invalid data in test server (until if gets fixed in test server)


0.2.0 (2019-11-23)
------------------

**Generic**

* Implement the initial client using auto-generated code by openapi-generator-cli


0.1.0 (2019-11-09)
------------------

* First release on PyPI.
