invenio-records-marc21


Nameinvenio-records-marc21 JSON
Version 0.20.0 PyPI version JSON
download
home_pagehttps://github.com/tu-graz-library/invenio-records-marc21
Summary"Invenio Marc21 datamodel."
upload_time2024-03-08 12:03:46
maintainer
docs_urlNone
author"Graz University of Technology"
requires_python>=3.8
licenseMIT
keywords invenio marc21 record
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    Copyright (C) 2021 Graz University of Technology.

    Invenio-Records-Marc21 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-Records-Marc21
========================

.. image:: https://img.shields.io/github/license/tu-graz-library/invenio-records-marc21.svg
        :target: https://github.com/tu-graz-library/invenio-records-marc21/blob/master/LICENSE

.. image:: https://github.com/tu-graz-library/invenio-records-marc21/workflows/CI/badge.svg
        :target: https://github.com/tu-graz-library/invenio-records-marc21/actions

.. image:: https://img.shields.io/coveralls/tu-graz-library/invenio-records-marc21.svg
        :target: https://coveralls.io/r/tu-graz-library/invenio-records-marc21

.. image:: https://img.shields.io/pypi/v/invenio-records-marc21.svg
        :target: https://pypi.org/pypi/invenio-records-marc21

Marc21 datamodel

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


Development
===========

Install
-------

Choose a version of elasticsearch and a DB, then run:

.. code-block:: console
    
    pipenv run pip install -e .[all]
    pipenv run pip install invenio-search[elasticsearch7]
    pipenv run pip install invenio-db[postgresql,versioning]


Service
=========

** Create Marc21 Record**

Tests
=========

.. code-block:: console

    pipenv run ./run-tests.sh
..
    Copyright (C) 2021 Graz University of Technology.

    Invenio-Records-Marc21 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 v0.20.0 (release 2024-03-08)

- deps: remove upper limit of rdm-records
- modification: pretty export records
- fix(deposit): react remove deprecated dependency


Version v0.19.1 (release 2024-02-19)

- fix: embargo date could contain strings


Version v0.19.0 (release 2024-02-19)

- landingpage: embargo date from marc21 metadata


Version v0.18.0 (release 2024-02-14)

- fix: dashboard-visibility not working
- modification(search): : Apply Same Style to Publication Search Bar
- setup: increase upper limits
- black: fix v24.2.0
- fix: frontent serializer following whitespace


Version v0.17.3 (release 2024-01-11)

- fix: indexer needs queue name


Version v0.17.2 (release 2024-01-07)

- setup: add support for python3.10 and 3.11
- fix: controlfield not correct build for marcxml
- fix: ind1 could be undefined
- ui: move react-records-marc21 code here
- fix: rebuild-index not working
- fix: missing special for AVE
- bugfix: add schema to record


Version v0.17.1 (release 2023-12-01)

- alembic: add missing deletion_status


Version v0.17.0 (release 2023-11-09)

- ui: change dependency to invenio_rdm_records
- bugfix: files links list
- bugfix: add missing permissions
- CI: disable python 3.10
- tests: remove sqlalchemy NoResultFound
- tests: modification to testset and codestyle
- modification: permission policy records and files
- modification: create marc21 v2 schema and mappings
- global: change path to publications
- tests: add parameters to run-tests
- ui: redesign edit button
- records: add deletion_status
- services: make components customizable
- cli: change parameters
- resources: add dublin core serializer
- build:  limit draft resource version
- testset: modification files in record
- modification: import structure
- modification: unit of work
- modification: parent schema
- tests: fix test
- modification: records service config
- modifcation: use invenio-i18n translations module
- modification: create demo records
- modification: serializer structure
- build: bump version
- modification: marc21 v1 mapping
- modification: result item on dashboard
- modification: search mapping
- modification: user dashboard translations
- modification: translations in config module
- modification: empty search result
- translations: resource type translations
- modification: resource type translate
- modification: code style
- modification: gitignore
- translations: i18next update
- modification: result item translations
- modification: dashboard layout
- modification: user dashboard search
- fix: subfield may not exist
- landing-page: add additional titles
- translations: update
- modification: user dashboard search application
- modification: search components
- modification: configuration search application
- modification: api search options
- modification: clean code


Version v0.16.1 (release 2023-09-14)

- fix: doi modal


Version v0.16.0 (release 2023-09-14)

- landing_page: conditional wrap show doi
- modification: translations
- translation: update
- refactoring: variable naming
- landing_page: increase space above title
- landing-page: change created at to published
- landing_page: use improved export
- bugfix: import landing page


Version v0.15.0 (release 2023-09-12)

- fix: create_record dangling draft
- modification: gitignore
- modification: translations update
- modification: templates structured
- modification: add comments
- modifications: marc21 service permissions


Version v0.14.2 (release 2023-06-16)

- fix: namespace handling was wrong


Version v0.14.1 (release 2023-06-07)

- fix: remove whitespace and close div tag


Version v0.14.0 (release 2023-06-07)

- modification: alembic scripts
- modification: remove prefix in configuration variables


Version v0.13.2 (release 2023-06-05)

- bugfix: draft get file content


Version v0.13.1 (release 2023-06-01)

- bugfix: load default roles needed


Version v0.13.0 (release 2023-05-25)

- setup: remove compatibility check with python3.8
- metadata: add methods to get fields and values


Version v0.12.7 (release 2023-05-12)

- metadata: subfs, character before numbers


Version v0.12.6 (release 2023-05-11)

- pids: remove 2 subfields


Version v0.12.5 (release 2023-05-11)

- fix: metadata export needs a space


Version v0.12.4 (release 2023-05-10)

- doi: apply marc21 request changes
- tests: cleaned tests, remove unused statements
- metadata: add 856 field after doi creation
- modification: templates load from roles


Version v0.12.3 (release 2023-04-28)

- fix: distinguish between str and list


Version v0.12.2 (release 2023-04-25)

- bugfix: previewer allow to access files


Version v0.12.1 (release 2023-04-20)




Version v0.11.0 (release 2023-03-06)

- permissions: re-add SystemProcess to can_manage
- fix: to keep flask-babelex
- permissions: enlarge permission system
- modification: update marc21 record permissions
- modification: remove duplicate code
- modification: add pids to new version
- bugfix: create new version
- modification: dashboard records edit


Version v0.10.0 (release 2023-02-13)

- fix: category could be AVA
- modification: add fix me in the future
- modification: create dashboard entry for marc21


Version v0.9.2 (release 2023-02-09)

- fix: sort xml subfields generation
- fix: the value in subfs is a list
- fix: unify order of et.Element attributes


Version v0.9.1 (release 2023-01-23)

- fix: wrong alias for drafts and records
- modification: record status in deposit


Version v0.9.0 (release 2023-01-11)

- metadata: use id property instead
- fixes:
- global: pass through exports
- modification: add multiple files to record
- metadata: add param do_publish
- metadata: add exists method
- ui: update react-records-marc21
- services: add exception for common search
- services: add types
- codestyle: deposit form
- modification: deposit form style
- tests: testset update
- modification: put doi into the metadata
- modification: create identifier with draft
- bugfix: files enabled
- fix: correct CHANGES.rst


Version v0.8.4 (release 2022-11-17)

- fix:
- api: add duplicate check function
- fix
- metadata: implement convert_json_to_marc21xml
- metadata: add default values to selector
- api: add two functions moved from invenio-alma
- improve: add subfs parameter to emplace_datafield
- modification: add access_status field
- modification: use jast jsonschema
- codestyle: variable on top of the function definition.
- modification: service file config
- modification: api register services
- modification: create draft with errors
- modification: deposit structure
- modification: deposit application


Version v0.8.3 (release 2022-11-02)

- fix
- metadata: implement convert_json_to_marc21xml
- metadata: add default values to selector
- api: add two functions moved from invenio-alma
- improve: add subfs parameter to emplace_datafield
- fix: remove import of semantic css


Version v0.8.2 (release 2022-10-14)

- fix: pypi-publish inherit secrets


Version v0.8.1 (release 2022-10-14)

- global: migrate publish to reusable workflows
- setup: fix classifier


Version v0.8.0 (release 2022-10-14)

- tests: move to resuable workflows
- tests: remove CACHE and MQ
- setup: sort imports, remove doublets
- global: migrate to opensearch2


Version v0.7.5 (release 2022-09-27)

- fix: javascript dependencies


Version v0.7.4 (release 2022-09-27)

- fix: ConfigurationMixin changed location
- global: increase version of invenio-search


Version v0.7.3 (release 2022-08-10)

- fix use 009[7:11] for publication year


Version v0.7.2 (release 2022-08-10)

- modification: datacite schema\n\n changing the field numbers
- tests: modification datacite testset
- bugfix: pids components from rdm records


Version v0.7.1 (release 2022-08-09)

- fix: the missing mappings causes an error with the empty search feature


Version v0.7.0 (release 2022-08-04)

- improve (WIP) landing page and search results


Version v0.6.0 (release 2022-08-01)

- make the jsonschema less restrictive


Version v0.5.2 (release 2022-07-29)

- use search react components provided by invenio-app-rdm
- update the search initial query state


Version v0.5.1 (release 2022-07-07)




Version 0.0.1 (released TBD)

- Initial public release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tu-graz-library/invenio-records-marc21",
    "name": "invenio-records-marc21",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "invenio Marc21 record",
    "author": "\"Graz University of Technology\"",
    "author_email": "info@tugraz.at",
    "download_url": "https://files.pythonhosted.org/packages/f9/81/a926be963258e9953ee50cf99512aff970e43a18320bed9dd3148a5d4c60/invenio-records-marc21-0.20.0.tar.gz",
    "platform": "any",
    "description": "..\n    Copyright (C) 2021 Graz University of Technology.\n\n    Invenio-Records-Marc21 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-Records-Marc21\n========================\n\n.. image:: https://img.shields.io/github/license/tu-graz-library/invenio-records-marc21.svg\n        :target: https://github.com/tu-graz-library/invenio-records-marc21/blob/master/LICENSE\n\n.. image:: https://github.com/tu-graz-library/invenio-records-marc21/workflows/CI/badge.svg\n        :target: https://github.com/tu-graz-library/invenio-records-marc21/actions\n\n.. image:: https://img.shields.io/coveralls/tu-graz-library/invenio-records-marc21.svg\n        :target: https://coveralls.io/r/tu-graz-library/invenio-records-marc21\n\n.. image:: https://img.shields.io/pypi/v/invenio-records-marc21.svg\n        :target: https://pypi.org/pypi/invenio-records-marc21\n\nMarc21 datamodel\n\nFurther documentation is available on\nhttps://invenio-records-marc21.readthedocs.io/\n\n\nDevelopment\n===========\n\nInstall\n-------\n\nChoose a version of elasticsearch and a DB, then run:\n\n.. code-block:: console\n    \n    pipenv run pip install -e .[all]\n    pipenv run pip install invenio-search[elasticsearch7]\n    pipenv run pip install invenio-db[postgresql,versioning]\n\n\nService\n=========\n\n** Create Marc21 Record**\n\nTests\n=========\n\n.. code-block:: console\n\n    pipenv run ./run-tests.sh\n..\n    Copyright (C) 2021 Graz University of Technology.\n\n    Invenio-Records-Marc21 is free software; you can redistribute it and/or\n    modify it under the terms of the MIT License; see LICENSE file for more\n    details.\n\nChanges\n=======\n\nVersion v0.20.0 (release 2024-03-08)\n\n- deps: remove upper limit of rdm-records\n- modification: pretty export records\n- fix(deposit): react remove deprecated dependency\n\n\nVersion v0.19.1 (release 2024-02-19)\n\n- fix: embargo date could contain strings\n\n\nVersion v0.19.0 (release 2024-02-19)\n\n- landingpage: embargo date from marc21 metadata\n\n\nVersion v0.18.0 (release 2024-02-14)\n\n- fix: dashboard-visibility not working\n- modification(search): : Apply Same Style to Publication Search Bar\n- setup: increase upper limits\n- black: fix v24.2.0\n- fix: frontent serializer following whitespace\n\n\nVersion v0.17.3 (release 2024-01-11)\n\n- fix: indexer needs queue name\n\n\nVersion v0.17.2 (release 2024-01-07)\n\n- setup: add support for python3.10 and 3.11\n- fix: controlfield not correct build for marcxml\n- fix: ind1 could be undefined\n- ui: move react-records-marc21 code here\n- fix: rebuild-index not working\n- fix: missing special for AVE\n- bugfix: add schema to record\n\n\nVersion v0.17.1 (release 2023-12-01)\n\n- alembic: add missing deletion_status\n\n\nVersion v0.17.0 (release 2023-11-09)\n\n- ui: change dependency to invenio_rdm_records\n- bugfix: files links list\n- bugfix: add missing permissions\n- CI: disable python 3.10\n- tests: remove sqlalchemy NoResultFound\n- tests: modification to testset and codestyle\n- modification: permission policy records and files\n- modification: create marc21 v2 schema and mappings\n- global: change path to publications\n- tests: add parameters to run-tests\n- ui: redesign edit button\n- records: add deletion_status\n- services: make components customizable\n- cli: change parameters\n- resources: add dublin core serializer\n- build:  limit draft resource version\n- testset: modification files in record\n- modification: import structure\n- modification: unit of work\n- modification: parent schema\n- tests: fix test\n- modification: records service config\n- modifcation: use invenio-i18n translations module\n- modification: create demo records\n- modification: serializer structure\n- build: bump version\n- modification: marc21 v1 mapping\n- modification: result item on dashboard\n- modification: search mapping\n- modification: user dashboard translations\n- modification: translations in config module\n- modification: empty search result\n- translations: resource type translations\n- modification: resource type translate\n- modification: code style\n- modification: gitignore\n- translations: i18next update\n- modification: result item translations\n- modification: dashboard layout\n- modification: user dashboard search\n- fix: subfield may not exist\n- landing-page: add additional titles\n- translations: update\n- modification: user dashboard search application\n- modification: search components\n- modification: configuration search application\n- modification: api search options\n- modification: clean code\n\n\nVersion v0.16.1 (release 2023-09-14)\n\n- fix: doi modal\n\n\nVersion v0.16.0 (release 2023-09-14)\n\n- landing_page: conditional wrap show doi\n- modification: translations\n- translation: update\n- refactoring: variable naming\n- landing_page: increase space above title\n- landing-page: change created at to published\n- landing_page: use improved export\n- bugfix: import landing page\n\n\nVersion v0.15.0 (release 2023-09-12)\n\n- fix: create_record dangling draft\n- modification: gitignore\n- modification: translations update\n- modification: templates structured\n- modification: add comments\n- modifications: marc21 service permissions\n\n\nVersion v0.14.2 (release 2023-06-16)\n\n- fix: namespace handling was wrong\n\n\nVersion v0.14.1 (release 2023-06-07)\n\n- fix: remove whitespace and close div tag\n\n\nVersion v0.14.0 (release 2023-06-07)\n\n- modification: alembic scripts\n- modification: remove prefix in configuration variables\n\n\nVersion v0.13.2 (release 2023-06-05)\n\n- bugfix: draft get file content\n\n\nVersion v0.13.1 (release 2023-06-01)\n\n- bugfix: load default roles needed\n\n\nVersion v0.13.0 (release 2023-05-25)\n\n- setup: remove compatibility check with python3.8\n- metadata: add methods to get fields and values\n\n\nVersion v0.12.7 (release 2023-05-12)\n\n- metadata: subfs, character before numbers\n\n\nVersion v0.12.6 (release 2023-05-11)\n\n- pids: remove 2 subfields\n\n\nVersion v0.12.5 (release 2023-05-11)\n\n- fix: metadata export needs a space\n\n\nVersion v0.12.4 (release 2023-05-10)\n\n- doi: apply marc21 request changes\n- tests: cleaned tests, remove unused statements\n- metadata: add 856 field after doi creation\n- modification: templates load from roles\n\n\nVersion v0.12.3 (release 2023-04-28)\n\n- fix: distinguish between str and list\n\n\nVersion v0.12.2 (release 2023-04-25)\n\n- bugfix: previewer allow to access files\n\n\nVersion v0.12.1 (release 2023-04-20)\n\n\n\n\nVersion v0.11.0 (release 2023-03-06)\n\n- permissions: re-add SystemProcess to can_manage\n- fix: to keep flask-babelex\n- permissions: enlarge permission system\n- modification: update marc21 record permissions\n- modification: remove duplicate code\n- modification: add pids to new version\n- bugfix: create new version\n- modification: dashboard records edit\n\n\nVersion v0.10.0 (release 2023-02-13)\n\n- fix: category could be AVA\n- modification: add fix me in the future\n- modification: create dashboard entry for marc21\n\n\nVersion v0.9.2 (release 2023-02-09)\n\n- fix: sort xml subfields generation\n- fix: the value in subfs is a list\n- fix: unify order of et.Element attributes\n\n\nVersion v0.9.1 (release 2023-01-23)\n\n- fix: wrong alias for drafts and records\n- modification: record status in deposit\n\n\nVersion v0.9.0 (release 2023-01-11)\n\n- metadata: use id property instead\n- fixes:\n- global: pass through exports\n- modification: add multiple files to record\n- metadata: add param do_publish\n- metadata: add exists method\n- ui: update react-records-marc21\n- services: add exception for common search\n- services: add types\n- codestyle: deposit form\n- modification: deposit form style\n- tests: testset update\n- modification: put doi into the metadata\n- modification: create identifier with draft\n- bugfix: files enabled\n- fix: correct CHANGES.rst\n\n\nVersion v0.8.4 (release 2022-11-17)\n\n- fix:\n- api: add duplicate check function\n- fix\n- metadata: implement convert_json_to_marc21xml\n- metadata: add default values to selector\n- api: add two functions moved from invenio-alma\n- improve: add subfs parameter to emplace_datafield\n- modification: add access_status field\n- modification: use jast jsonschema\n- codestyle: variable on top of the function definition.\n- modification: service file config\n- modification: api register services\n- modification: create draft with errors\n- modification: deposit structure\n- modification: deposit application\n\n\nVersion v0.8.3 (release 2022-11-02)\n\n- fix\n- metadata: implement convert_json_to_marc21xml\n- metadata: add default values to selector\n- api: add two functions moved from invenio-alma\n- improve: add subfs parameter to emplace_datafield\n- fix: remove import of semantic css\n\n\nVersion v0.8.2 (release 2022-10-14)\n\n- fix: pypi-publish inherit secrets\n\n\nVersion v0.8.1 (release 2022-10-14)\n\n- global: migrate publish to reusable workflows\n- setup: fix classifier\n\n\nVersion v0.8.0 (release 2022-10-14)\n\n- tests: move to resuable workflows\n- tests: remove CACHE and MQ\n- setup: sort imports, remove doublets\n- global: migrate to opensearch2\n\n\nVersion v0.7.5 (release 2022-09-27)\n\n- fix: javascript dependencies\n\n\nVersion v0.7.4 (release 2022-09-27)\n\n- fix: ConfigurationMixin changed location\n- global: increase version of invenio-search\n\n\nVersion v0.7.3 (release 2022-08-10)\n\n- fix use 009[7:11] for publication year\n\n\nVersion v0.7.2 (release 2022-08-10)\n\n- modification: datacite schema\\n\\n changing the field numbers\n- tests: modification datacite testset\n- bugfix: pids components from rdm records\n\n\nVersion v0.7.1 (release 2022-08-09)\n\n- fix: the missing mappings causes an error with the empty search feature\n\n\nVersion v0.7.0 (release 2022-08-04)\n\n- improve (WIP) landing page and search results\n\n\nVersion v0.6.0 (release 2022-08-01)\n\n- make the jsonschema less restrictive\n\n\nVersion v0.5.2 (release 2022-07-29)\n\n- use search react components provided by invenio-app-rdm\n- update the search initial query state\n\n\nVersion v0.5.1 (release 2022-07-07)\n\n\n\n\nVersion 0.0.1 (released TBD)\n\n- Initial public release.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\"Invenio Marc21 datamodel.\"",
    "version": "0.20.0",
    "project_urls": {
        "Homepage": "https://github.com/tu-graz-library/invenio-records-marc21"
    },
    "split_keywords": [
        "invenio",
        "marc21",
        "record"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dfbc522e56e16813287d408dd561d460ba22aa62d2d75c5e17b112187ff01ac4",
                "md5": "d469fe578a8c5620038a27baec0462b6",
                "sha256": "7c12ea839f7455024a2b1eed791026d87aaa11cbf9258a99c00b564632c1a6cd"
            },
            "downloads": -1,
            "filename": "invenio_records_marc21-0.20.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d469fe578a8c5620038a27baec0462b6",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 265738,
            "upload_time": "2024-03-08T12:03:44",
            "upload_time_iso_8601": "2024-03-08T12:03:44.160909Z",
            "url": "https://files.pythonhosted.org/packages/df/bc/522e56e16813287d408dd561d460ba22aa62d2d75c5e17b112187ff01ac4/invenio_records_marc21-0.20.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f981a926be963258e9953ee50cf99512aff970e43a18320bed9dd3148a5d4c60",
                "md5": "92f5026ed7cb573f8942b8ddddb95034",
                "sha256": "ed947baa0f9961480c43f844c3d581803d1ddd7ebfc31f4f8f59dcb07562c2f3"
            },
            "downloads": -1,
            "filename": "invenio-records-marc21-0.20.0.tar.gz",
            "has_sig": false,
            "md5_digest": "92f5026ed7cb573f8942b8ddddb95034",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 178416,
            "upload_time": "2024-03-08T12:03:46",
            "upload_time_iso_8601": "2024-03-08T12:03:46.470230Z",
            "url": "https://files.pythonhosted.org/packages/f9/81/a926be963258e9953ee50cf99512aff970e43a18320bed9dd3148a5d4c60/invenio-records-marc21-0.20.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-08 12:03:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "tu-graz-library",
    "github_project": "invenio-records-marc21",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "invenio-records-marc21"
}
        
Elapsed time: 0.19633s