#### Intro
`binswap` is a lightweight command-line utility that monitors a directory for changes and auto relaunch an executable or script file whenever it's modified or replaced.
#### Install
```sh
$ pip install binswap
```
#### Binswap
- Automatically detects file creations, modifications, and deletions in the monitored directory.
- Relaunches the executable or script whenever it's modified or replaced.
- Handles termination of the old process before relaunching.
- Supports various script interpreters
#### Usage
```sh
$ binswap --bin "executable_or_script_file" --dir "path/to/directory"
Ex: binswap --bin "script.js" --dir "path/to/directory"
```
```
Options
-v, --version: Displays package version.
-h, --help: Displays help message and usage information.
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Mt9555/binswap",
"name": "binswap",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "temcr",
"author_email": "topzydrumz@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/81/30/51c63956ca6013ca72ef84329c0b84a2e076e44fa6f81e67fc06f6691f83/binswap-0.3.3.tar.gz",
"platform": null,
"description": "#### Intro\r\n`binswap` is a lightweight command-line utility that monitors a directory for changes and auto relaunch an executable or script file whenever it's modified or replaced.\r\n\r\n#### Install\r\n```sh\r\n$ pip install binswap\r\n```\r\n\r\n#### Binswap\r\n- Automatically detects file creations, modifications, and deletions in the monitored directory. \r\n- Relaunches the executable or script whenever it's modified or replaced. \r\n- Handles termination of the old process before relaunching. \r\n- Supports various script interpreters \r\n\r\n#### Usage\r\n```sh\r\n$ binswap --bin \"executable_or_script_file\" --dir \"path/to/directory\"\r\nEx: binswap --bin \"script.js\" --dir \"path/to/directory\"\r\n```\r\n\r\n```\r\nOptions\r\n -v, --version: Displays package version.\r\n -h, --help: Displays help message and usage information.\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Command-line utility for Monitoring and Relaunching Executables and Scripts.",
"version": "0.3.3",
"project_urls": {
"Homepage": "https://github.com/Mt9555/binswap"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "98d031415cf234e7675a38c4523a867fcea813ed3c268c413cde0e787f6812d7",
"md5": "9dbddd8b158e2c79aed8edd22faa1a90",
"sha256": "0d9faa64b8f507bf7e7b5411db6ff0982bf64dfaf7ce1021e3fcb939f0783405"
},
"downloads": -1,
"filename": "binswap-0.3.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9dbddd8b158e2c79aed8edd22faa1a90",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 5147,
"upload_time": "2023-10-08T04:35:23",
"upload_time_iso_8601": "2023-10-08T04:35:23.414057Z",
"url": "https://files.pythonhosted.org/packages/98/d0/31415cf234e7675a38c4523a867fcea813ed3c268c413cde0e787f6812d7/binswap-0.3.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "813051c63956ca6013ca72ef84329c0b84a2e076e44fa6f81e67fc06f6691f83",
"md5": "a40adb918cf53173c4b42e6f8339066d",
"sha256": "41b7df15e7854bd266a0a2daa4e8ba936c9cc64fe3ca8489c6e44506004bfcde"
},
"downloads": -1,
"filename": "binswap-0.3.3.tar.gz",
"has_sig": false,
"md5_digest": "a40adb918cf53173c4b42e6f8339066d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4490,
"upload_time": "2023-10-08T04:35:24",
"upload_time_iso_8601": "2023-10-08T04:35:24.341036Z",
"url": "https://files.pythonhosted.org/packages/81/30/51c63956ca6013ca72ef84329c0b84a2e076e44fa6f81e67fc06f6691f83/binswap-0.3.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-08 04:35:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Mt9555",
"github_project": "binswap",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "watchdog",
"specs": [
[
"==",
"3.0.0"
]
]
}
],
"lcname": "binswap"
}