oarepo-global-search


Nameoarepo-global-search JSON
Version 1.0.25 PyPI version JSON
download
home_pagehttps://github.com/oarepo/oarepo-global-search
Summary"A model builder plugin for global search"
upload_time2024-09-03 08:50:38
maintainerNone
docs_urlNone
authorAlzbeta Pokorna
requires_python>=3.10
licenseMIT
keywords invenio relations model builder
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Global search plugin

### Usage

To use the library you need to define the following paths in the config:

```
GLOBAL_SEARCH_MODELS = [{"model_service": "documents.services.records.service.DocumentsService",
                         "service_config": "documents.services.records.config.DocumentsServiceConfig",
                         "ui_resource_config": "ui.documents.DocumentsResourceConfig",
                         "api_resource_config": "documents.resources.records.config.DocumentsResourceConfig",
                         }]
```


for example:
```
GLOBAL_SEARCH_MODELS = [{"model_service": "path_to_service_class",
                         "service_config": "path_to_service_config",
                         "ui_resource_config": "path_to_ui_resource_config",
                         "api_resource_config": "path_to_api_resource_config",
                         }]
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/oarepo/oarepo-global-search",
    "name": "oarepo-global-search",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "invenio relations model builder",
    "author": "Alzbeta Pokorna",
    "author_email": "Alzbeta.Pokorna@cesnet.cz",
    "download_url": "https://files.pythonhosted.org/packages/63/b7/b0f6e3f64c51715a540c4561b283dc991e8d1b24c4a56bb1d59160826d9b/oarepo_global_search-1.0.25.tar.gz",
    "platform": "any",
    "description": "# Global search plugin\n\n### Usage\n\nTo use the library you need to define the following paths in the config:\n\n```\nGLOBAL_SEARCH_MODELS = [{\"model_service\": \"documents.services.records.service.DocumentsService\",\n                         \"service_config\": \"documents.services.records.config.DocumentsServiceConfig\",\n                         \"ui_resource_config\": \"ui.documents.DocumentsResourceConfig\",\n                         \"api_resource_config\": \"documents.resources.records.config.DocumentsResourceConfig\",\n                         }]\n```\n\n\nfor example:\n```\nGLOBAL_SEARCH_MODELS = [{\"model_service\": \"path_to_service_class\",\n                         \"service_config\": \"path_to_service_config\",\n                         \"ui_resource_config\": \"path_to_ui_resource_config\",\n                         \"api_resource_config\": \"path_to_api_resource_config\",\n                         }]\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\"A model builder plugin for global search\"",
    "version": "1.0.25",
    "project_urls": {
        "Homepage": "https://github.com/oarepo/oarepo-global-search"
    },
    "split_keywords": [
        "invenio",
        "relations",
        "model",
        "builder"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "57fecf49ec6a24e8f96979ba982bb7267d79a6692b3961cf9426fe05a2d92e29",
                "md5": "affe356202060d7124ef8d252e1280c0",
                "sha256": "4f9240964dd32deb65452ef50c43d20403f3d6ce338a57c663a4ddf5ca58f504"
            },
            "downloads": -1,
            "filename": "oarepo_global_search-1.0.25-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "affe356202060d7124ef8d252e1280c0",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.10",
            "size": 24596,
            "upload_time": "2024-09-03T08:50:37",
            "upload_time_iso_8601": "2024-09-03T08:50:37.492545Z",
            "url": "https://files.pythonhosted.org/packages/57/fe/cf49ec6a24e8f96979ba982bb7267d79a6692b3961cf9426fe05a2d92e29/oarepo_global_search-1.0.25-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "63b7b0f6e3f64c51715a540c4561b283dc991e8d1b24c4a56bb1d59160826d9b",
                "md5": "b10e9ffcb9e630c2e6595c5d58be4877",
                "sha256": "19485d1906c16842a7f0f3c97fb3e3a999e82dfb56cecce8e6be09646b74f134"
            },
            "downloads": -1,
            "filename": "oarepo_global_search-1.0.25.tar.gz",
            "has_sig": false,
            "md5_digest": "b10e9ffcb9e630c2e6595c5d58be4877",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 14579,
            "upload_time": "2024-09-03T08:50:38",
            "upload_time_iso_8601": "2024-09-03T08:50:38.808014Z",
            "url": "https://files.pythonhosted.org/packages/63/b7/b0f6e3f64c51715a540c4561b283dc991e8d1b24c4a56bb1d59160826d9b/oarepo_global_search-1.0.25.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-03 08:50:38",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "oarepo",
    "github_project": "oarepo-global-search",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "oarepo-global-search"
}
        
Elapsed time: 0.31058s