win-roboco-py


Namewin-roboco-py JSON
Version 0.5.0 PyPI version JSON
download
home_page
SummaryA wrapper for Window's Robocopy utility.
upload_time2024-02-23 05:50:47
maintainer
docs_urlNone
authorEmilian Cioca
requires_python>=3.7
license
keywords copy move filesystem windows
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # win-roboco-py
A thin python wrapper around Window's [Robocopy](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy) utility.

This package is not intended to cover 100% of Robocopy's functionality.
Instead, the focus of the package is allow you to easily take advantage of Robocopy's robustness for the most common operations.

# Contributions
Pull requests or issue tickets are very welcome and appreciated.

# Quick Usage

```python
import win_roboco_py as robo

# Copies the file to the destination, with the same filename.
robo.copy_file(Path('./src/file.txt'), Path('./dst'))

# Copies the file to the destination, then deletes the source file.
robo.move_file(Path('./src/file.txt'), Path('./dst'))

# Copies all files to the destination.
robo.copy_directory(Path('./src'), Path('./dst'), recursive=True)

# Copies all files to the destination, then deletes the sources.
robo.move_directory(Path('./src'), Path('./dst'), recursive=False)

# Copies all files to the destination, and deletes extra files.
robo.mirror_directory(Path('./src'), Path('./dst'))
```


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "win-roboco-py",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "copy,move,filesystem,windows",
    "author": "Emilian Cioca",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/34/fc/40f68572726e709533d71e5285cee38350932b4ac40335ddc1674c64a7d6/win_roboco_py-0.5.0.tar.gz",
    "platform": null,
    "description": "# win-roboco-py\nA thin python wrapper around Window's [Robocopy](https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy) utility.\n\nThis package is not intended to cover 100% of Robocopy's functionality.\nInstead, the focus of the package is allow you to easily take advantage of Robocopy's robustness for the most common operations.\n\n# Contributions\nPull requests or issue tickets are very welcome and appreciated.\n\n# Quick Usage\n\n```python\nimport win_roboco_py as robo\n\n# Copies the file to the destination, with the same filename.\nrobo.copy_file(Path('./src/file.txt'), Path('./dst'))\n\n# Copies the file to the destination, then deletes the source file.\nrobo.move_file(Path('./src/file.txt'), Path('./dst'))\n\n# Copies all files to the destination.\nrobo.copy_directory(Path('./src'), Path('./dst'), recursive=True)\n\n# Copies all files to the destination, then deletes the sources.\nrobo.move_directory(Path('./src'), Path('./dst'), recursive=False)\n\n# Copies all files to the destination, and deletes extra files.\nrobo.mirror_directory(Path('./src'), Path('./dst'))\n```\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A wrapper for Window's Robocopy utility.",
    "version": "0.5.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/EmilianC/win-roboco-py/issues",
        "Changes": "https://github.com/EmilianC/win-roboco-py/blob/main/CHANGELOG.md",
        "Homepage": "https://github.com/EmilianC/win-roboco-py",
        "Repository": "https://github.com/EmilianC/win-roboco-py"
    },
    "split_keywords": [
        "copy",
        "move",
        "filesystem",
        "windows"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f0202ee532ef84ea937c89c0cf6b689494dd232363c621404f7ce0218f597c03",
                "md5": "904718346e717e8b299b1b86ecd9f51a",
                "sha256": "f31964067ea65ea17971d839803dcabc35059cabe67bff3d3379fd36891f7a63"
            },
            "downloads": -1,
            "filename": "win_roboco_py-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "904718346e717e8b299b1b86ecd9f51a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 3427,
            "upload_time": "2024-02-23T05:50:45",
            "upload_time_iso_8601": "2024-02-23T05:50:45.321078Z",
            "url": "https://files.pythonhosted.org/packages/f0/20/2ee532ef84ea937c89c0cf6b689494dd232363c621404f7ce0218f597c03/win_roboco_py-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "34fc40f68572726e709533d71e5285cee38350932b4ac40335ddc1674c64a7d6",
                "md5": "7752954c7d81d5a3cadc389d0133aa42",
                "sha256": "5eb194c041043748460c2f9964a5fba0468f1f352be083c40a99882f5f5ae27d"
            },
            "downloads": -1,
            "filename": "win_roboco_py-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7752954c7d81d5a3cadc389d0133aa42",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3007,
            "upload_time": "2024-02-23T05:50:47",
            "upload_time_iso_8601": "2024-02-23T05:50:47.326027Z",
            "url": "https://files.pythonhosted.org/packages/34/fc/40f68572726e709533d71e5285cee38350932b4ac40335ddc1674c64a7d6/win_roboco_py-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-23 05:50:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "EmilianC",
    "github_project": "win-roboco-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "win-roboco-py"
}
        
Elapsed time: 0.19478s