invenio-circulation


Nameinvenio-circulation JSON
Version 3.0.0a1 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/invenio-circulation
SummaryInvenio Circulation Module
upload_time2023-12-05 14:47:24
maintainer
docs_urlNone
authorCERN
requires_python>=3.8
licenseMIT
keywords invenio-circulation invenio
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    Copyright (C) 2018 CERN.
    Copyright (C) 2018 RERO.
    Invenio-Circulation is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

=====================
 Invenio-Circulation
=====================

.. image:: https://img.shields.io/travis/inveniosoftware/invenio-circulation.svg
        :target: https://travis-ci.org/inveniosoftware/invenio-circulation

.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-circulation.svg
        :target: https://coveralls.io/r/inveniosoftware/invenio-circulation

.. image:: https://img.shields.io/github/tag/inveniosoftware/invenio-circulation.svg
        :target: https://github.com/inveniosoftware/invenio-circulation/releases

.. image:: https://img.shields.io/pypi/dm/invenio-circulation.svg
        :target: https://pypi.python.org/pypi/invenio-circulation

.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-circulation.svg
        :target: https://github.com/inveniosoftware/invenio-circulation/blob/master/LICENSE

Invenio module for the circulation of bibliographic items.

*This is an experimental developer preview release.*

TODO: Please provide feature overview of module

Further documentation is available on
https://invenio-circulation.readthedocs.io/

..
    Copyright (C) 2018-2020 CERN.
    Copyright (C) 2018-2020 RERO.
    Invenio-Circulation is free software; you can redistribute it and/or modify it
    under the terms of the MIT License; see LICENSE file for more details.

Changes
=======

Version v3.0.0a1 (released 2023-12-05)

- breaking change: drop ES6 compatibility
- installation: upgrade to opensearch
- installation: upgrade invenio packages
- installation: move to setup.cfg
- CI: update test matrix


Version v2.0.0a1 (released 2023-03-07)

- opensearch: create opensearch v1 and v2 mappings.

Version v1.0.0a36 (released 2022-02-21)

- Fix invenio_base.api_blueprints in setup.py

Version 1.0.0a35 (released 2021-11-26)

- Made compatibility changes for werkzeug 2
- Bumped Sphinx

Version 1.0.0a34 (released 2021-10-26)

- make "same location" check overridable

Version 1.0.0a33 (released 2021-09-30)

- transition kwargs : change signature in signal

Version 1.0.0a32 (released 2021-09-30)

- update dependencies
- add additional kwargs to transition after method
- add additional kwargs to after transition signal

Version 1.0.0a31 (released 2021-05-05)

- fix default transaction date on loan loader

Version 1.0.0a30 (released 2021-01-27)

- fix default loan state assignment

Version 1.0.0a29 (released 2020-11-26)

- set transaction date default value in marshamallow loader to fix bug with start date

Version 1.0.0a28 (released 2020-10-09)

- fixes how the overridden records REST endpoint configuration was retrieved
  in the loan actions and replace item custom endpoints.
- removes support for Elasticsearch 5
- adds support for Python 3.7 and 3.8

Version 1.0.0a27 (released 2020-09-15)

- fixes the loan record update method not working properly with custom fields

Version 1.0.0a26 (released 2020-07-17)

- fixes `initial_loan`, a copy of loan before transition, to be a local
  variable instead of a Transition object property.

Version 1.0.0a25 (released 2020-06-18)

- adds config CIRCULATION_LOAN_LOCATIONS_VALIDATION to allow validation
  of loan locations

Version 1.0.0a24 (released 2020-05-25)

- fixes the way the default module configuration is defined to allow
  overriding it from the Invenio app

Version 1.0.0a23 (released 2020-05-22)

- renames signals parameter from `prev_loan` to `initial_loan`
- adds an extra parameter `initial_loan` to the default duration functions
  in checkout policies

Version 1.0.0a22 (released 2020-05-22)

- adds additional checks when transitioning loans from and to Item at Desk
- removes example app and updates Invenio modules dependencies

Version 1.0.0a21 (released 2020-01-23)

- introduces `pid_type` for `item_pid` to uniquely identify an Item record
- changes methods that were expecting `item_pid`
- removed unused view circulation/items to retrieve the item from the loan

Version 1.0.0a20 (released 2019-11-01)

- adds a JSON resolver for the document of the loan

Version 1.0.0a19 (released 2019-09-27)

- adds a JSON resolver for the patron of the loan
- fixes deserialization bug on loan REST loader when a date/datetime
  field is missing

Version 1.0.0a18 (released 2019-09-26)

- handle date/time record fields as datetime object internally
- add `request_start_date` field to loan schema
- automatic assignement of item on request is now configurable
- add marshmallow loader for REST endpoint
- add support to ES7
- drop support for Python 2
- bugfixes

Version 1.0.0a17 (released 2019-09-13)

- add `delivery` object to the `loan` schema
- pin invenio-records-rest version to ensure compatibility with python 3
  and marshmallow 3

Version 1.0.0a16 (released 2019-08-09)

- change loan duration from number of days as int to timedelta

Version 1.0.0a15 (released 2019-08-07)

- remove ES 2 support
- change `loan_pid` to `pid` schema field

Version 1.0.0a14 (released 2019-06-24)

- now allows loans to be created solely on document_pid
- refactored and added more tests for transitions

Version 1.0.0a13 (released 2019-04-24)

- fixed item reference attachment on checkout

Version 1.0.0a12 (released 2019-04-17)

- Renamed is_item_available circulation policy to item_can_circulate.

Version 1.0.0a11 (released 2019-03-29)

- Add sort options to search api

Version 1.0.0a10 (released 2019-03-27)

- Fix for permissions check


Version 1.0.0a9 (released 2019-03-25)

- Introduce Circulation Exceptions

Version 1.0.0a8 (released 2019-03-06)

- Introduce `request` policy.
- Pass previous loan and trigger name on the state change signal.

Version 1.0.0a7 (released 2019-02-25)

- Replace item_pid with loan_pid in $ref Loan schema.

Version 1.0.0a6 (released 2019-02-04)

- Force user to implement configuration utils functions instead of returning a
  dummy value.

Version 1.0.0a5 (released 2019-01-28)

- Add config for defining loan `completed` state.

Version 1.0.0a4 (released 2019-01-26)

- Loan replace item endpoint.

Version 1.0.0a3 (released 2019-01-18)

- Creating item reference only when item pid is attached.

Version 1.0.0a2 (released 2019-01-18)

- Adding support for creating a reference inside `Loan` record to an item.

Version 1.0.0a1 (released 2018-12-04)

- Initial public release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inveniosoftware/invenio-circulation",
    "name": "invenio-circulation",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "invenio-circulation Invenio",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/90/5a/67e6a60836406a0ebc7c1b9b4ed818ac1b36841058b88f85161b74a748c9/invenio-circulation-3.0.0a1.tar.gz",
    "platform": "any",
    "description": "..\n    Copyright (C) 2018 CERN.\n    Copyright (C) 2018 RERO.\n    Invenio-Circulation is free software; you can redistribute it and/or modify it\n    under the terms of the MIT License; see LICENSE file for more details.\n\n=====================\n Invenio-Circulation\n=====================\n\n.. image:: https://img.shields.io/travis/inveniosoftware/invenio-circulation.svg\n        :target: https://travis-ci.org/inveniosoftware/invenio-circulation\n\n.. image:: https://img.shields.io/coveralls/inveniosoftware/invenio-circulation.svg\n        :target: https://coveralls.io/r/inveniosoftware/invenio-circulation\n\n.. image:: https://img.shields.io/github/tag/inveniosoftware/invenio-circulation.svg\n        :target: https://github.com/inveniosoftware/invenio-circulation/releases\n\n.. image:: https://img.shields.io/pypi/dm/invenio-circulation.svg\n        :target: https://pypi.python.org/pypi/invenio-circulation\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-circulation.svg\n        :target: https://github.com/inveniosoftware/invenio-circulation/blob/master/LICENSE\n\nInvenio module for the circulation of bibliographic items.\n\n*This is an experimental developer preview release.*\n\nTODO: Please provide feature overview of module\n\nFurther documentation is available on\nhttps://invenio-circulation.readthedocs.io/\n\n..\n    Copyright (C) 2018-2020 CERN.\n    Copyright (C) 2018-2020 RERO.\n    Invenio-Circulation is free software; you can redistribute it and/or modify it\n    under the terms of the MIT License; see LICENSE file for more details.\n\nChanges\n=======\n\nVersion v3.0.0a1 (released 2023-12-05)\n\n- breaking change: drop ES6 compatibility\n- installation: upgrade to opensearch\n- installation: upgrade invenio packages\n- installation: move to setup.cfg\n- CI: update test matrix\n\n\nVersion v2.0.0a1 (released 2023-03-07)\n\n- opensearch: create opensearch v1 and v2 mappings.\n\nVersion v1.0.0a36 (released 2022-02-21)\n\n- Fix invenio_base.api_blueprints in setup.py\n\nVersion 1.0.0a35 (released 2021-11-26)\n\n- Made compatibility changes for werkzeug 2\n- Bumped Sphinx\n\nVersion 1.0.0a34 (released 2021-10-26)\n\n- make \"same location\" check overridable\n\nVersion 1.0.0a33 (released 2021-09-30)\n\n- transition kwargs : change signature in signal\n\nVersion 1.0.0a32 (released 2021-09-30)\n\n- update dependencies\n- add additional kwargs to transition after method\n- add additional kwargs to after transition signal\n\nVersion 1.0.0a31 (released 2021-05-05)\n\n- fix default transaction date on loan loader\n\nVersion 1.0.0a30 (released 2021-01-27)\n\n- fix default loan state assignment\n\nVersion 1.0.0a29 (released 2020-11-26)\n\n- set transaction date default value in marshamallow loader to fix bug with start date\n\nVersion 1.0.0a28 (released 2020-10-09)\n\n- fixes how the overridden records REST endpoint configuration was retrieved\n  in the loan actions and replace item custom endpoints.\n- removes support for Elasticsearch 5\n- adds support for Python 3.7 and 3.8\n\nVersion 1.0.0a27 (released 2020-09-15)\n\n- fixes the loan record update method not working properly with custom fields\n\nVersion 1.0.0a26 (released 2020-07-17)\n\n- fixes `initial_loan`, a copy of loan before transition, to be a local\n  variable instead of a Transition object property.\n\nVersion 1.0.0a25 (released 2020-06-18)\n\n- adds config CIRCULATION_LOAN_LOCATIONS_VALIDATION to allow validation\n  of loan locations\n\nVersion 1.0.0a24 (released 2020-05-25)\n\n- fixes the way the default module configuration is defined to allow\n  overriding it from the Invenio app\n\nVersion 1.0.0a23 (released 2020-05-22)\n\n- renames signals parameter from `prev_loan` to `initial_loan`\n- adds an extra parameter `initial_loan` to the default duration functions\n  in checkout policies\n\nVersion 1.0.0a22 (released 2020-05-22)\n\n- adds additional checks when transitioning loans from and to Item at Desk\n- removes example app and updates Invenio modules dependencies\n\nVersion 1.0.0a21 (released 2020-01-23)\n\n- introduces `pid_type` for `item_pid` to uniquely identify an Item record\n- changes methods that were expecting `item_pid`\n- removed unused view circulation/items to retrieve the item from the loan\n\nVersion 1.0.0a20 (released 2019-11-01)\n\n- adds a JSON resolver for the document of the loan\n\nVersion 1.0.0a19 (released 2019-09-27)\n\n- adds a JSON resolver for the patron of the loan\n- fixes deserialization bug on loan REST loader when a date/datetime\n  field is missing\n\nVersion 1.0.0a18 (released 2019-09-26)\n\n- handle date/time record fields as datetime object internally\n- add `request_start_date` field to loan schema\n- automatic assignement of item on request is now configurable\n- add marshmallow loader for REST endpoint\n- add support to ES7\n- drop support for Python 2\n- bugfixes\n\nVersion 1.0.0a17 (released 2019-09-13)\n\n- add `delivery` object to the `loan` schema\n- pin invenio-records-rest version to ensure compatibility with python 3\n  and marshmallow 3\n\nVersion 1.0.0a16 (released 2019-08-09)\n\n- change loan duration from number of days as int to timedelta\n\nVersion 1.0.0a15 (released 2019-08-07)\n\n- remove ES 2 support\n- change `loan_pid` to `pid` schema field\n\nVersion 1.0.0a14 (released 2019-06-24)\n\n- now allows loans to be created solely on document_pid\n- refactored and added more tests for transitions\n\nVersion 1.0.0a13 (released 2019-04-24)\n\n- fixed item reference attachment on checkout\n\nVersion 1.0.0a12 (released 2019-04-17)\n\n- Renamed is_item_available circulation policy to item_can_circulate.\n\nVersion 1.0.0a11 (released 2019-03-29)\n\n- Add sort options to search api\n\nVersion 1.0.0a10 (released 2019-03-27)\n\n- Fix for permissions check\n\n\nVersion 1.0.0a9 (released 2019-03-25)\n\n- Introduce Circulation Exceptions\n\nVersion 1.0.0a8 (released 2019-03-06)\n\n- Introduce `request` policy.\n- Pass previous loan and trigger name on the state change signal.\n\nVersion 1.0.0a7 (released 2019-02-25)\n\n- Replace item_pid with loan_pid in $ref Loan schema.\n\nVersion 1.0.0a6 (released 2019-02-04)\n\n- Force user to implement configuration utils functions instead of returning a\n  dummy value.\n\nVersion 1.0.0a5 (released 2019-01-28)\n\n- Add config for defining loan `completed` state.\n\nVersion 1.0.0a4 (released 2019-01-26)\n\n- Loan replace item endpoint.\n\nVersion 1.0.0a3 (released 2019-01-18)\n\n- Creating item reference only when item pid is attached.\n\nVersion 1.0.0a2 (released 2019-01-18)\n\n- Adding support for creating a reference inside `Loan` record to an item.\n\nVersion 1.0.0a1 (released 2018-12-04)\n\n- Initial public release.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Invenio Circulation Module",
    "version": "3.0.0a1",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/invenio-circulation"
    },
    "split_keywords": [
        "invenio-circulation",
        "invenio"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "859d4f9691a31921a16a41a5ee223f912636cb61f1241b48c9be8bcb169aa07f",
                "md5": "116b6ce6dabf951a28fcd9ee7b2a5ef4",
                "sha256": "5813650aef8d27d4f1e848f2a0c16c957a705c9dd6f1fc9a61078f9d1536a76f"
            },
            "downloads": -1,
            "filename": "invenio_circulation-3.0.0a1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "116b6ce6dabf951a28fcd9ee7b2a5ef4",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 65631,
            "upload_time": "2023-12-05T14:47:22",
            "upload_time_iso_8601": "2023-12-05T14:47:22.304871Z",
            "url": "https://files.pythonhosted.org/packages/85/9d/4f9691a31921a16a41a5ee223f912636cb61f1241b48c9be8bcb169aa07f/invenio_circulation-3.0.0a1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "905a67e6a60836406a0ebc7c1b9b4ed818ac1b36841058b88f85161b74a748c9",
                "md5": "a52efddbdd624ae9e499e4065f63425a",
                "sha256": "96b08cd5eb69274ada27141ea06308947d71f6efcdaa6bd0e76511ada8798461"
            },
            "downloads": -1,
            "filename": "invenio-circulation-3.0.0a1.tar.gz",
            "has_sig": false,
            "md5_digest": "a52efddbdd624ae9e499e4065f63425a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 515978,
            "upload_time": "2023-12-05T14:47:24",
            "upload_time_iso_8601": "2023-12-05T14:47:24.603938Z",
            "url": "https://files.pythonhosted.org/packages/90/5a/67e6a60836406a0ebc7c1b9b4ed818ac1b36841058b88f85161b74a748c9/invenio-circulation-3.0.0a1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-05 14:47:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "invenio-circulation",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "invenio-circulation"
}
        
Elapsed time: 0.27381s