omero-demo-cleanup


Nameomero-demo-cleanup JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/ome/omero-demo-cleanup/
SummaryPlugin for managing the disk space on the demo server.
upload_time2023-06-12 10:51:04
maintainer
docs_urlNone
authorThe Open Microscopy Team
requires_python>=3.6
license
keywords omero.cli plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. image:: https://github.com/ome/omero-demo-cleanup/workflows/OMERO/badge.svg
   :target: https://github.com/ome/omero-demo-cleanup/actions

.. image:: https://badge.fury.io/py/omero-demo-cleanup.svg
    :target: https://badge.fury.io/py/omero-demo-cleanup

OMERO demo cleanup
==================

This OMERO command-line plugin allows you to compute the space per user, find
the users with the biggest amount of data and free disk space on a server

To generate the list of users which data must be deleted to free 300GB on the
system without running the deletion::

    $ omero demo-cleanup --gigabytes 300

To ignore users who's data whose data must not be deleted, you can Tag those users
and specify the `Tag` or parent `Tag Group` by `Name` or `ID`.
This is enabled by default using a Tag named "NO DELETE".
So it is preferable to Tag users on the server with a `Tag` named "NO DELETE" or create
a `Tag Group` named "NO DELETE" containing Tags linked to users.

    # Add a Tag to a User via CLI (not possible to see this in the clients)
    $ omero obj new ExperimenterAnnotationLink child=TagAnnotation:123 parent=Experimenter:52

    # Choose a non-default Tag or Tag Group (by ID or Name) to ignore the tagged users
    $ omero demo-cleanup --gigabytes 300 --ignore-tag "Tag Name"

You can also specify individual users by ID or user name, e.g:

    --ignore-users 123,user-1,ben,234

To generate the list of users which data must be deleted to free 300GB on the
system and running the deletion (WARNING: data belonging to these users will
be removed permanently)::

    $ omero demo-cleanup --gigabytes 300 --force

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ome/omero-demo-cleanup/",
    "name": "omero-demo-cleanup",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "OMERO.CLI,plugin",
    "author": "The Open Microscopy Team",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/d6/84/db9ea95aa90f14e16f7f4e208c9302023e3bb460b295d9e4b3521f5a25f1/omero-demo-cleanup-0.2.1.tar.gz",
    "platform": null,
    "description": ".. image:: https://github.com/ome/omero-demo-cleanup/workflows/OMERO/badge.svg\n   :target: https://github.com/ome/omero-demo-cleanup/actions\n\n.. image:: https://badge.fury.io/py/omero-demo-cleanup.svg\n    :target: https://badge.fury.io/py/omero-demo-cleanup\n\nOMERO demo cleanup\n==================\n\nThis OMERO command-line plugin allows you to compute the space per user, find\nthe users with the biggest amount of data and free disk space on a server\n\nTo generate the list of users which data must be deleted to free 300GB on the\nsystem without running the deletion::\n\n    $ omero demo-cleanup --gigabytes 300\n\nTo ignore users who's data whose data must not be deleted, you can Tag those users\nand specify the `Tag` or parent `Tag Group` by `Name` or `ID`.\nThis is enabled by default using a Tag named \"NO DELETE\".\nSo it is preferable to Tag users on the server with a `Tag` named \"NO DELETE\" or create\na `Tag Group` named \"NO DELETE\" containing Tags linked to users.\n\n    # Add a Tag to a User via CLI (not possible to see this in the clients)\n    $ omero obj new ExperimenterAnnotationLink child=TagAnnotation:123 parent=Experimenter:52\n\n    # Choose a non-default Tag or Tag Group (by ID or Name) to ignore the tagged users\n    $ omero demo-cleanup --gigabytes 300 --ignore-tag \"Tag Name\"\n\nYou can also specify individual users by ID or user name, e.g:\n\n    --ignore-users 123,user-1,ben,234\n\nTo generate the list of users which data must be deleted to free 300GB on the\nsystem and running the deletion (WARNING: data belonging to these users will\nbe removed permanently)::\n\n    $ omero demo-cleanup --gigabytes 300 --force\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Plugin for managing the disk space on the demo server.",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/ome/omero-demo-cleanup/"
    },
    "split_keywords": [
        "omero.cli",
        "plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d5263074039fa3c120af98393f16453a42195c642b58081c45ca0ba37eeaa2e9",
                "md5": "28b10e0c01bbe79790bb5224036b2319",
                "sha256": "718c779edb93b804efb4cb72a43ea09458f02d57a8a25da61f9cd30515c122e2"
            },
            "downloads": -1,
            "filename": "omero_demo_cleanup-0.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "28b10e0c01bbe79790bb5224036b2319",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 16149,
            "upload_time": "2023-06-12T10:51:03",
            "upload_time_iso_8601": "2023-06-12T10:51:03.244567Z",
            "url": "https://files.pythonhosted.org/packages/d5/26/3074039fa3c120af98393f16453a42195c642b58081c45ca0ba37eeaa2e9/omero_demo_cleanup-0.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d684db9ea95aa90f14e16f7f4e208c9302023e3bb460b295d9e4b3521f5a25f1",
                "md5": "57866bd2a1ba622ceb0dcb4d17a3b710",
                "sha256": "e01f2496720bfed52f084903fc069bbca4ff27ef86374759c225e74109b6cccd"
            },
            "downloads": -1,
            "filename": "omero-demo-cleanup-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "57866bd2a1ba622ceb0dcb4d17a3b710",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 15125,
            "upload_time": "2023-06-12T10:51:04",
            "upload_time_iso_8601": "2023-06-12T10:51:04.583233Z",
            "url": "https://files.pythonhosted.org/packages/d6/84/db9ea95aa90f14e16f7f4e208c9302023e3bb460b295d9e4b3521f5a25f1/omero-demo-cleanup-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-12 10:51:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ome",
    "github_project": "omero-demo-cleanup",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "omero-demo-cleanup"
}
        
Elapsed time: 0.10568s