pycopy


Namepycopy JSON
Version 2025.1.17 PyPI version JSON
download
home_pageNone
SummaryA simple python script (cli and package) for syncing files between directories
upload_time2025-01-28 13:49:53
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords files syncing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pycopy

This tool was made as a simple python library for syncing files. It also works famously as a simple cli for doing the same thing.

### Usage as library
```python
import pycopy

pycopy.sync("path/to/directory1", "path/to/directory2")
```

To make it also delete files:
```python
import pycopy

pycopy.sync("path/to/directory1", "path/to/directory2", do_delete=True)
```

### Usage as command
First install the library as a command, usually like so:
```bash
pipx install pycopy
```

Then simply execute the command using:
```bash
pycopy "path/to/directory1" "path/to/directory2" 
```

To make it also delete files:
```bash
pycopy -d "path/to/directory1" "path/to/directory2" 
```
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pycopy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "Files, Syncing",
    "author": null,
    "author_email": "Guenthner <guenthner.jonathan@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/75/09/e6b24f9a749623e45c63069033bd05720b129b56e89bc074197321e14f2a/pycopy-2025.1.17.tar.gz",
    "platform": null,
    "description": "# pycopy\n\nThis tool was made as a simple python library for syncing files. It also works famously as a simple cli for doing the same thing.\n\n### Usage as library\n```python\nimport pycopy\n\npycopy.sync(\"path/to/directory1\", \"path/to/directory2\")\n```\n\nTo make it also delete files:\n```python\nimport pycopy\n\npycopy.sync(\"path/to/directory1\", \"path/to/directory2\", do_delete=True)\n```\n\n### Usage as command\nFirst install the library as a command, usually like so:\n```bash\npipx install pycopy\n```\n\nThen simply execute the command using:\n```bash\npycopy \"path/to/directory1\" \"path/to/directory2\" \n```\n\nTo make it also delete files:\n```bash\npycopy -d \"path/to/directory1\" \"path/to/directory2\" \n```",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple python script (cli and package) for syncing files between directories",
    "version": "2025.1.17",
    "project_urls": null,
    "split_keywords": [
        "files",
        " syncing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4bf800a4b9016beac0cc4195d704673c516109389c12b59f1d0f510d8c5a37c",
                "md5": "3a23d3bb40b7f2757b67fd43ed5befa5",
                "sha256": "d740e0636aa75be6c101edaa83897e0d1c9d54836249651c81c802f4e957067f"
            },
            "downloads": -1,
            "filename": "pycopy-2025.1.17-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3a23d3bb40b7f2757b67fd43ed5befa5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 5964,
            "upload_time": "2025-01-28T13:49:52",
            "upload_time_iso_8601": "2025-01-28T13:49:52.886910Z",
            "url": "https://files.pythonhosted.org/packages/a4/bf/800a4b9016beac0cc4195d704673c516109389c12b59f1d0f510d8c5a37c/pycopy-2025.1.17-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7509e6b24f9a749623e45c63069033bd05720b129b56e89bc074197321e14f2a",
                "md5": "51ec929fc1217479f96635cb19be8a7a",
                "sha256": "8af8d785263fa0cd25c0ee6830706b766cf49875902064ed3a7b115575d83576"
            },
            "downloads": -1,
            "filename": "pycopy-2025.1.17.tar.gz",
            "has_sig": false,
            "md5_digest": "51ec929fc1217479f96635cb19be8a7a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 4764,
            "upload_time": "2025-01-28T13:49:53",
            "upload_time_iso_8601": "2025-01-28T13:49:53.923756Z",
            "url": "https://files.pythonhosted.org/packages/75/09/e6b24f9a749623e45c63069033bd05720b129b56e89bc074197321e14f2a/pycopy-2025.1.17.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-28 13:49:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pycopy"
}
        
Elapsed time: 2.25569s