close-mongo-ops-manager


Nameclose-mongo-ops-manager JSON
Version 0.1.25 PyPI version JSON
download
home_pageNone
SummaryMonitor and kill MongoDB operations
upload_time2025-02-20 10:48:11
maintainerNone
docs_urlNone
authorNone
requires_python>=3.12
licenseNone
keywords manager mongo operations
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # close-mongo-ops-manager
Monitor and kill MongoDB operations (Be advised that this is in a pre-alpha state. Use at your own risk.)

# Requirements

Install [uv](https://docs.astral.sh/uv/getting-started/installation/#installing-uv)

Once installed you should see something similar to this:
```shell
$ uv version
uv 0.5.4 (c62c83c37 2024-11-20)
```

Use the right Python version
```shell
uv python install 3.13
```

List the Python versions
```shell
uv python list
```

Pin the Python 3.13 version
```shell
uv python pin cpython-3.13.0-macos-aarch64-none
```

# Dependencies

Sync the project
```shell
uv sync
```

# Running the app

Launch the application
```shell
uv run src/close_mongo_ops_manager/app.py --help
```

Or you can just use `uvx`
```shell
uvx -n close-mongo-ops-manager
```

## Usage

These are the actions you can do in the app. You can see them in the app help menu as well.
```
f1      : Show this help
Ctrl+Q  : Quit application
Ctrl+R  : Refresh operations list
Ctrl+K  : Kill selected operations
Ctrl+P  : Pause/Resume auto-refresh
Ctrl+S  : Sort by running time
Ctrl+L  : View application logs
Ctrl+U  : Deselect all operations
Ctrl+A  : Select all operations
Ctrl++  : Increase refresh interval
Ctrl+-  : Decrease refresh interval
Enter   : See operation details
Space   : Select operation
```

The mouse is enabled, so all menus are clickable.

Take into account that the auto-refresh is disabled by default. If you enable it to refresh the operations automatically, when you find the operation you want to kill you need to stop it first. Then select the operation and kill it.

The selected operations are not preserved between refreshes. This will improve in the future releases.
There is also a known issue about in the filter bar that looses focus.

This is the tipical usage:

- Use arrow keys or mouse to navigate
- Space/Click to select operations
- Filter operations using the input fields
- Clear filters with the Clear button
- Confirm kill operations when prompted

## Screenshot

![App screenshot](img/close-mongo-ops-manager.png "Close Mongo Ops Manager")

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "close-mongo-ops-manager",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.12",
    "maintainer_email": null,
    "keywords": "manager, mongo, operations",
    "author": null,
    "author_email": "Vicen\u00e7 Juan Tom\u00e0s Monserrat <vicenc.monserrat@close.com>",
    "download_url": "https://files.pythonhosted.org/packages/4c/4c/fe502073e71e457c422e6c4a97c46151d1f2a70f2a5c538e7eaec2d1ed6f/close_mongo_ops_manager-0.1.25.tar.gz",
    "platform": null,
    "description": "# close-mongo-ops-manager\nMonitor and kill MongoDB operations (Be advised that this is in a pre-alpha state. Use at your own risk.)\n\n# Requirements\n\nInstall [uv](https://docs.astral.sh/uv/getting-started/installation/#installing-uv)\n\nOnce installed you should see something similar to this:\n```shell\n$ uv version\nuv 0.5.4 (c62c83c37 2024-11-20)\n```\n\nUse the right Python version\n```shell\nuv python install 3.13\n```\n\nList the Python versions\n```shell\nuv python list\n```\n\nPin the Python 3.13 version\n```shell\nuv python pin cpython-3.13.0-macos-aarch64-none\n```\n\n# Dependencies\n\nSync the project\n```shell\nuv sync\n```\n\n# Running the app\n\nLaunch the application\n```shell\nuv run src/close_mongo_ops_manager/app.py --help\n```\n\nOr you can just use `uvx`\n```shell\nuvx -n close-mongo-ops-manager\n```\n\n## Usage\n\nThese are the actions you can do in the app. You can see them in the app help menu as well.\n```\nf1      : Show this help\nCtrl+Q  : Quit application\nCtrl+R  : Refresh operations list\nCtrl+K  : Kill selected operations\nCtrl+P  : Pause/Resume auto-refresh\nCtrl+S  : Sort by running time\nCtrl+L  : View application logs\nCtrl+U  : Deselect all operations\nCtrl+A  : Select all operations\nCtrl++  : Increase refresh interval\nCtrl+-  : Decrease refresh interval\nEnter   : See operation details\nSpace   : Select operation\n```\n\nThe mouse is enabled, so all menus are clickable.\n\nTake into account that the auto-refresh is disabled by default. If you enable it to refresh the operations automatically, when you find the operation you want to kill you need to stop it first. Then select the operation and kill it.\n\nThe selected operations are not preserved between refreshes. This will improve in the future releases.\nThere is also a known issue about in the filter bar that looses focus.\n\nThis is the tipical usage:\n\n- Use arrow keys or mouse to navigate\n- Space/Click to select operations\n- Filter operations using the input fields\n- Clear filters with the Clear button\n- Confirm kill operations when prompted\n\n## Screenshot\n\n![App screenshot](img/close-mongo-ops-manager.png \"Close Mongo Ops Manager\")\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Monitor and kill MongoDB operations",
    "version": "0.1.25",
    "project_urls": {
        "Documentation": "https://github.com/closeio/close-mongo-ops-manager#readme",
        "Issues": "https://github.com/closeio/close-mongo-ops-manager/issues",
        "Source": "https://github.com/closeio/close-mongo-ops-manager"
    },
    "split_keywords": [
        "manager",
        " mongo",
        " operations"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b8553be4ca8e718645c66bb0d10ba34574f9cc7692c28f5e8ab1f6ad1d4a91f7",
                "md5": "6e0b16d3ec02e30beb143fc689131b3e",
                "sha256": "eed4b237c74530bdfe3f023ce3f33b4aa61349607df87c6e6371d4a32b66f10d"
            },
            "downloads": -1,
            "filename": "close_mongo_ops_manager-0.1.25-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6e0b16d3ec02e30beb143fc689131b3e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.12",
            "size": 18819,
            "upload_time": "2025-02-20T10:48:09",
            "upload_time_iso_8601": "2025-02-20T10:48:09.392646Z",
            "url": "https://files.pythonhosted.org/packages/b8/55/3be4ca8e718645c66bb0d10ba34574f9cc7692c28f5e8ab1f6ad1d4a91f7/close_mongo_ops_manager-0.1.25-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4c4cfe502073e71e457c422e6c4a97c46151d1f2a70f2a5c538e7eaec2d1ed6f",
                "md5": "7903c0bcc3fbd4989b362023d8152a11",
                "sha256": "88ad6ab96e19196b9e117bbff2b29c0121be0342532f31bf3d19d6977ebe42b1"
            },
            "downloads": -1,
            "filename": "close_mongo_ops_manager-0.1.25.tar.gz",
            "has_sig": false,
            "md5_digest": "7903c0bcc3fbd4989b362023d8152a11",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.12",
            "size": 1681088,
            "upload_time": "2025-02-20T10:48:11",
            "upload_time_iso_8601": "2025-02-20T10:48:11.544255Z",
            "url": "https://files.pythonhosted.org/packages/4c/4c/fe502073e71e457c422e6c4a97c46151d1f2a70f2a5c538e7eaec2d1ed6f/close_mongo_ops_manager-0.1.25.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-02-20 10:48:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "closeio",
    "github_project": "close-mongo-ops-manager#readme",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "close-mongo-ops-manager"
}
        
Elapsed time: 0.62731s