invenio-jobs


Nameinvenio-jobs JSON
Version 2.0.0 PyPI version JSON
download
home_pagehttps://github.com/inveniosoftware/invenio-jobs
SummaryInvenioRDM module for jobs management
upload_time2024-10-14 12:36:19
maintainerNone
docs_urlNone
authorCERN
requires_python>=3.7
licenseMIT
keywords invenio rdm celery jobs
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ..
    Copyright (C) 2024 CERN.

    Invenio-Jobs 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-Jobs
==============

.. image:: https://github.com/inveniosoftware/invenio-jobs/workflows/CI/badge.svg
        :target: https://github.com/inveniosoftware/invenio-jobs/actions?query=workflow%3ACI

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

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

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

InvenioRDM module for jobs management

Usage
=====

This module adds a custom scheduler to schedule jobs that exist in the local database.

To use this scheduler, the following command can be ran locally:

.. code-block:: console

    $ celery -A invenio_app.celery beat -l ERROR --scheduler invenio_jobs.services.scheduler:RunScheduler -s /var/run/celery-schedule --pidfile /var/run/celerybeat.pid

Jobs can be managed through the administration view in the Invenio instance. By default, this view is disabled and can be enabled by adding the following configuration to the Invenio instance:

.. code-block:: python

    JOBS_ADMINISTRATION_ENABLED = True


More Help
---------

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

..
    Copyright (C) 2024 CERN.

    Invenio-Jobs 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 v2.0.0 (released 2024-10-14)

- job types: refactor public method name (breaking change)

Version v1.1.0 (released 2024-10-10)

- webpack: bump react-searchkit

Version v1.0.0 (released 2024-09-27)

- db: change tables names
- global: add jobs registry
- interface: add job types

Version v0.5.1 (released 2024-09-19)

- fix: add compatibility layer to move to flask>=3

Version v0.5.0 (released 2024-08-22)

- bump invenio-users-resources

Version v0.4.0 (released 2024-08-22)

- package: bump react-invenio-forms (#52)

Version v0.3.4 (released 2024-08-08)

- fix: pass args to task via run

Version v0.3.3 (released 2024-08-08)

- fix: utils: only eval strings

Version 0.3.2 (released 2024-07-24)

- UI: fix schedule save
- UI: fix default queue; don't error on empty args

Version 0.3.1 (released 2024-07-11)

- services: skip index rebuilding

Version 0.3.0 (released 2024-06-20)

- UI: Added create, edit and schedule options
- fix: only show stop button when task is running
- bug: fix display of durations
- global: support Jinja templating for job args
- config: rename enabled flag
- config: disable jobs view by default

Version 0.2.0 (released 2024-06-05)

- translations: added translations folder
- scheduler: filter jobs with a schedule
- service: pass run queue to task

Version 0.1.0 (released 2024-06-04)

- Initial public release.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/inveniosoftware/invenio-jobs",
    "name": "invenio-jobs",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "invenio rdm celery jobs",
    "author": "CERN",
    "author_email": "info@inveniosoftware.org",
    "download_url": "https://files.pythonhosted.org/packages/c5/32/167374e074c0d30b414641acec9cf4a0d86955192d491e64a1417f9153c6/invenio-jobs-2.0.0.tar.gz",
    "platform": "any",
    "description": "..\n    Copyright (C) 2024 CERN.\n\n    Invenio-Jobs 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-Jobs\n==============\n\n.. image:: https://github.com/inveniosoftware/invenio-jobs/workflows/CI/badge.svg\n        :target: https://github.com/inveniosoftware/invenio-jobs/actions?query=workflow%3ACI\n\n.. image:: https://img.shields.io/github/tag/inveniosoftware/invenio-jobs.svg\n        :target: https://github.com/inveniosoftware/invenio-jobs/releases\n\n.. image:: https://img.shields.io/pypi/dm/invenio-jobs.svg\n        :target: https://pypi.python.org/pypi/invenio-jobs\n\n.. image:: https://img.shields.io/github/license/inveniosoftware/invenio-jobs.svg\n        :target: https://github.com/inveniosoftware/invenio-jobs/blob/master/LICENSE\n\nInvenioRDM module for jobs management\n\nUsage\n=====\n\nThis module adds a custom scheduler to schedule jobs that exist in the local database.\n\nTo use this scheduler, the following command can be ran locally:\n\n.. code-block:: console\n\n    $ celery -A invenio_app.celery beat -l ERROR --scheduler invenio_jobs.services.scheduler:RunScheduler -s /var/run/celery-schedule --pidfile /var/run/celerybeat.pid\n\nJobs can be managed through the administration view in the Invenio instance. By default, this view is disabled and can be enabled by adding the following configuration to the Invenio instance:\n\n.. code-block:: python\n\n    JOBS_ADMINISTRATION_ENABLED = True\n\n\nMore Help\n---------\n\nFurther documentation is available on\nhttps://invenio-jobs.readthedocs.io/\n\n..\n    Copyright (C) 2024 CERN.\n\n    Invenio-Jobs 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 v2.0.0 (released 2024-10-14)\n\n- job types: refactor public method name (breaking change)\n\nVersion v1.1.0 (released 2024-10-10)\n\n- webpack: bump react-searchkit\n\nVersion v1.0.0 (released 2024-09-27)\n\n- db: change tables names\n- global: add jobs registry\n- interface: add job types\n\nVersion v0.5.1 (released 2024-09-19)\n\n- fix: add compatibility layer to move to flask>=3\n\nVersion v0.5.0 (released 2024-08-22)\n\n- bump invenio-users-resources\n\nVersion v0.4.0 (released 2024-08-22)\n\n- package: bump react-invenio-forms (#52)\n\nVersion v0.3.4 (released 2024-08-08)\n\n- fix: pass args to task via run\n\nVersion v0.3.3 (released 2024-08-08)\n\n- fix: utils: only eval strings\n\nVersion 0.3.2 (released 2024-07-24)\n\n- UI: fix schedule save\n- UI: fix default queue; don't error on empty args\n\nVersion 0.3.1 (released 2024-07-11)\n\n- services: skip index rebuilding\n\nVersion 0.3.0 (released 2024-06-20)\n\n- UI: Added create, edit and schedule options\n- fix: only show stop button when task is running\n- bug: fix display of durations\n- global: support Jinja templating for job args\n- config: rename enabled flag\n- config: disable jobs view by default\n\nVersion 0.2.0 (released 2024-06-05)\n\n- translations: added translations folder\n- scheduler: filter jobs with a schedule\n- service: pass run queue to task\n\nVersion 0.1.0 (released 2024-06-04)\n\n- Initial public release.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "InvenioRDM module for jobs management",
    "version": "2.0.0",
    "project_urls": {
        "Homepage": "https://github.com/inveniosoftware/invenio-jobs"
    },
    "split_keywords": [
        "invenio",
        "rdm",
        "celery",
        "jobs"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9956f06cfaf6fb5a0d279b9b709d516dbb8ebec082e81a9c12481d2d36d6356e",
                "md5": "9033aeeb9a15e2760457de5453026356",
                "sha256": "5a82fd8d3564c6c3b1902938a6ab045598a037d6eeb290fa041113bff83ddd74"
            },
            "downloads": -1,
            "filename": "invenio_jobs-2.0.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9033aeeb9a15e2760457de5453026356",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.7",
            "size": 111536,
            "upload_time": "2024-10-14T12:36:17",
            "upload_time_iso_8601": "2024-10-14T12:36:17.961915Z",
            "url": "https://files.pythonhosted.org/packages/99/56/f06cfaf6fb5a0d279b9b709d516dbb8ebec082e81a9c12481d2d36d6356e/invenio_jobs-2.0.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c532167374e074c0d30b414641acec9cf4a0d86955192d491e64a1417f9153c6",
                "md5": "1a2260239e9298b896eab1401efd02e6",
                "sha256": "f8adf075c662212578dcf021ffc193a989e378ae86589270d1b117d4bd65fc92"
            },
            "downloads": -1,
            "filename": "invenio-jobs-2.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "1a2260239e9298b896eab1401efd02e6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 84261,
            "upload_time": "2024-10-14T12:36:19",
            "upload_time_iso_8601": "2024-10-14T12:36:19.616572Z",
            "url": "https://files.pythonhosted.org/packages/c5/32/167374e074c0d30b414641acec9cf4a0d86955192d491e64a1417f9153c6/invenio-jobs-2.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-14 12:36:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "inveniosoftware",
    "github_project": "invenio-jobs",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "invenio-jobs"
}
        
Elapsed time: 0.35875s