Skip to main content
https://github.com/ome/omero-demo-cleanup/workflows/OMERO/badge.svg https://badge.fury.io/py/omero-demo-cleanup.svg

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

Metadata

Release files for omero-demo-cleanup 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for omero-demo-cleanup 0.2.1
File Size Uploaded
omero-demo-cleanup-0.2.1.tar.gz 15.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for omero-demo-cleanup 0.2.1
File Interpreter ABI Platform
omero_demo_cleanup-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 31.3 kB

Release files / omero-demo-cleanup-0.2.1.tar.gz

Download URL omero-demo-cleanup-0.2.1.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e01f2496720bfed52f084903fc069bbca4ff27ef86374759c225e74109b6cccd
BLAKE2b-256 checksum
How to use checksums
d684db9ea95aa90f14e16f7f4e208c9302023e3bb460b295d9e4b3521f5a25f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.17

Release files / omero_demo_cleanup-0.2.1-py3-none-any.whl

Download URL omero_demo_cleanup-0.2.1-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
718c779edb93b804efb4cb72a43ea09458f02d57a8a25da61f9cd30515c122e2
BLAKE2b-256 checksum
How to use checksums
d5263074039fa3c120af98393f16453a42195c642b58081c45ca0ba37eeaa2e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.17

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page