reflink-copy


Namereflink-copy JSON
Version 0.3.1 PyPI version JSON
download
home_pagehttps://github.com/iterative/reflink-copy
SummaryPython wrapper for reflink_copy Rust library
upload_time2024-07-09 04:05:11
maintainerNone
docs_urlNone
authorSaugat Pachhai
requires_python>=3.8
licenseApache License 2.0
keywords reflink
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ### `reflink-copy`

Python wrapper for [`reflink-copy`](https://github.com/cargo-bins/reflink-copy).

### Installation

You can install the library via `pip` from [PyPI](https://pypi.org/reflink-copy):

```console
pip install reflink-copy
```

### Usage

```python
from reflink_copy import reflink, reflink_or_copy

reflink("file1", "file2")
reflink_or_copy("file1", "file2")
```

### Reference

```python
def reflink(src: str | os.PathLike[str], dst: str | os.PathLike[str]) -> None: ...
def reflink_or_copy(src: str | os.PathLike[str], dst: str | os.PathLike[str]) -> None: ...
```

### Contributing

```bash
python -m venv .venv; source .venv/bin/activate
pip install maturin
maturin develop
pytest
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/iterative/reflink-copy",
    "name": "reflink-copy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "reflink",
    "author": "Saugat Pachhai",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/09/8a/bdd4b47a3fee11c12050ad1a65402f5d20cf88207e5b84b2ecc2f4607130/reflink_copy-0.3.1.tar.gz",
    "platform": null,
    "description": "### `reflink-copy`\n\nPython wrapper for [`reflink-copy`](https://github.com/cargo-bins/reflink-copy).\n\n### Installation\n\nYou can install the library via `pip` from [PyPI](https://pypi.org/reflink-copy):\n\n```console\npip install reflink-copy\n```\n\n### Usage\n\n```python\nfrom reflink_copy import reflink, reflink_or_copy\n\nreflink(\"file1\", \"file2\")\nreflink_or_copy(\"file1\", \"file2\")\n```\n\n### Reference\n\n```python\ndef reflink(src: str | os.PathLike[str], dst: str | os.PathLike[str]) -> None: ...\ndef reflink_or_copy(src: str | os.PathLike[str], dst: str | os.PathLike[str]) -> None: ...\n```\n\n### Contributing\n\n```bash\npython -m venv .venv; source .venv/bin/activate\npip install maturin\nmaturin develop\npytest\n```\n\n",
    "bugtrack_url": null,
    "license": "Apache License 2.0",
    "summary": "Python wrapper for reflink_copy Rust library",
    "version": "0.3.1",
    "project_urls": {
        "Homepage": "https://github.com/iterative/reflink-copy",
        "Source": "https://github.com/iterative/reflink-copy"
    },
    "split_keywords": [
        "reflink"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b08f435a5ed62095b2688b56f4a3e9cfd773f4243df5bdf7a56caa9963ee8a8b",
                "md5": "1195a68ac1792a0abd15a6ad5c39a830",
                "sha256": "f350c233c916c95b7dd1bf7a6ddc28c27571b25986f4bcba8b9a990c754f47f3"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-macosx_10_12_x86_64.whl",
            "has_sig": false,
            "md5_digest": "1195a68ac1792a0abd15a6ad5c39a830",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 172898,
            "upload_time": "2024-07-09T04:05:09",
            "upload_time_iso_8601": "2024-07-09T04:05:09.511233Z",
            "url": "https://files.pythonhosted.org/packages/b0/8f/435a5ed62095b2688b56f4a3e9cfd773f4243df5bdf7a56caa9963ee8a8b/reflink_copy-0.3.1-cp38-abi3-macosx_10_12_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "d1adfeef9ae7963c88d49c9cb09f8dcc74e13d6476faf82399438ee132c35a52",
                "md5": "83772bbe5bc01a18ebddad96897dbda8",
                "sha256": "2c438e17a5282c90f26853938728edac3be419ec2dd3cfe7e79face4270ad829"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-macosx_11_0_arm64.whl",
            "has_sig": false,
            "md5_digest": "83772bbe5bc01a18ebddad96897dbda8",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 168420,
            "upload_time": "2024-07-09T04:05:07",
            "upload_time_iso_8601": "2024-07-09T04:05:07.933118Z",
            "url": "https://files.pythonhosted.org/packages/d1/ad/feef9ae7963c88d49c9cb09f8dcc74e13d6476faf82399438ee132c35a52/reflink_copy-0.3.1-cp38-abi3-macosx_11_0_arm64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b399aea63109b4789a305b8c4f211a73da7aec651d57d20f2098c4c17fff629f",
                "md5": "8b5a32a532213bcea79b7cd9c7a2dfb5",
                "sha256": "acbe81ffe1d42a5f24fc4bb71b2fb49d76398ea89695bbc3bdfa469287d38972"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "has_sig": false,
            "md5_digest": "8b5a32a532213bcea79b7cd9c7a2dfb5",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 181986,
            "upload_time": "2024-07-09T04:04:47",
            "upload_time_iso_8601": "2024-07-09T04:04:47.335413Z",
            "url": "https://files.pythonhosted.org/packages/b3/99/aea63109b4789a305b8c4f211a73da7aec651d57d20f2098c4c17fff629f/reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "08a9b2fa0ba7eebdc9cf64ea6baf800c5fa4ed066613c934167ced1ff34f85e5",
                "md5": "7a8306ecde33782fa86a0db63d34e0cd",
                "sha256": "3f58e243541912a357daaef3cb824592f832e36a2a690f07de1c57a3966e84e6"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl",
            "has_sig": false,
            "md5_digest": "7a8306ecde33782fa86a0db63d34e0cd",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 183928,
            "upload_time": "2024-07-09T04:04:51",
            "upload_time_iso_8601": "2024-07-09T04:04:51.382168Z",
            "url": "https://files.pythonhosted.org/packages/08/a9/b2fa0ba7eebdc9cf64ea6baf800c5fa4ed066613c934167ced1ff34f85e5/reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6cd10dc7dde0b3e97df37bbf675210f7b1517e84e157e7302d50f30996fedcb9",
                "md5": "1d53bcc7a33fcd7e53f36eff877b577d",
                "sha256": "36c8b481f950088172d2c67052438e2b2b90a2e3b05bec0ff63f94b4e7a29037"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "has_sig": false,
            "md5_digest": "1d53bcc7a33fcd7e53f36eff877b577d",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 206312,
            "upload_time": "2024-07-09T04:04:55",
            "upload_time_iso_8601": "2024-07-09T04:04:55.851857Z",
            "url": "https://files.pythonhosted.org/packages/6c/d1/0dc7dde0b3e97df37bbf675210f7b1517e84e157e7302d50f30996fedcb9/reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "285304c45885535de3f9ff7ddee174dc406b2ffa29bfc90cb03b825b7cab2a13",
                "md5": "bbf381ccb283423f42ae541eb4e0d189",
                "sha256": "5656dde6e268f51292cef7eadd620fe5e20ce5aa2c521814a7ff3271443de87b"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "has_sig": false,
            "md5_digest": "bbf381ccb283423f42ae541eb4e0d189",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 256599,
            "upload_time": "2024-07-09T04:04:57",
            "upload_time_iso_8601": "2024-07-09T04:04:57.814888Z",
            "url": "https://files.pythonhosted.org/packages/28/53/04c45885535de3f9ff7ddee174dc406b2ffa29bfc90cb03b825b7cab2a13/reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ee4db2cd58ec9c74ab46e0d5d1e3b167c1f575ae01d237c2f57a90a231fa23ae",
                "md5": "9b5bac8a47961779af51a51c008de222",
                "sha256": "212f1217d9f2193ed8802818a0d58d47ea1233f7c8d76e8597573f55e758431c"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "9b5bac8a47961779af51a51c008de222",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 189103,
            "upload_time": "2024-07-09T04:05:03",
            "upload_time_iso_8601": "2024-07-09T04:05:03.612093Z",
            "url": "https://files.pythonhosted.org/packages/ee/4d/b2cd58ec9c74ab46e0d5d1e3b167c1f575ae01d237c2f57a90a231fa23ae/reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "39f79a04c7ae0e1b809c088baabaace135de6f6e7d098912ac596aee8e0273ac",
                "md5": "f24a146bc6a71637d9e1ebd970dd509f",
                "sha256": "dca595265054b530b5b77c9accb32d7d147c38804aec53b395a35be3c254cefc"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl",
            "has_sig": false,
            "md5_digest": "f24a146bc6a71637d9e1ebd970dd509f",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 197841,
            "upload_time": "2024-07-09T04:04:59",
            "upload_time_iso_8601": "2024-07-09T04:04:59.664346Z",
            "url": "https://files.pythonhosted.org/packages/39/f7/9a04c7ae0e1b809c088baabaace135de6f6e7d098912ac596aee8e0273ac/reflink_copy-0.3.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2766132e6271f6c3b3ae48321eb50d37e822b5c8c65e29eaeda2ec5c27e63ec7",
                "md5": "9ce1ab3f6140c1fa9387b3a13ca1962d",
                "sha256": "4ae10c3370fb5f777881863d35445effbf57d4c4afac7be6511fc2bc816dc3e0"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_aarch64.whl",
            "has_sig": false,
            "md5_digest": "9ce1ab3f6140c1fa9387b3a13ca1962d",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 362262,
            "upload_time": "2024-07-09T04:04:49",
            "upload_time_iso_8601": "2024-07-09T04:04:49.633539Z",
            "url": "https://files.pythonhosted.org/packages/27/66/132e6271f6c3b3ae48321eb50d37e822b5c8c65e29eaeda2ec5c27e63ec7/reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_aarch64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9442973057a1990bf7f4b56373ae2ff0619de9e7785b53c53399e8789b920a3d",
                "md5": "fce4cb63be074277f5f4aabb7eda3dff",
                "sha256": "2a1ee72b1b1fddf6430799c3a8b3993cc9779867b612f0791673ef08b7393a46"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_armv7l.whl",
            "has_sig": false,
            "md5_digest": "fce4cb63be074277f5f4aabb7eda3dff",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 447300,
            "upload_time": "2024-07-09T04:04:53",
            "upload_time_iso_8601": "2024-07-09T04:04:53.401102Z",
            "url": "https://files.pythonhosted.org/packages/94/42/973057a1990bf7f4b56373ae2ff0619de9e7785b53c53399e8789b920a3d/reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_armv7l.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "ce16621b59930f4018e44741b45f93e9cc8c9bbcad86a0ea603148eba77ca5b9",
                "md5": "d3dc93ad0f70be098662f73e48044f62",
                "sha256": "4ed37b12cdf892b3aa14c88daa46c2b2b4357a0a35122bc3bc433093f3d29308"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_i686.whl",
            "has_sig": false,
            "md5_digest": "d3dc93ad0f70be098662f73e48044f62",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 379228,
            "upload_time": "2024-07-09T04:05:01",
            "upload_time_iso_8601": "2024-07-09T04:05:01.577415Z",
            "url": "https://files.pythonhosted.org/packages/ce/16/621b59930f4018e44741b45f93e9cc8c9bbcad86a0ea603148eba77ca5b9/reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_i686.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "4da7bf492d56fb46f7882b1615cbaf35b83055d2a041afe7d70293bea638da5e",
                "md5": "09daa069f6474d068ea607fecd75abed",
                "sha256": "6f5d5bf189d32c51abd4f47399b2f43cf89a2cbf24cd93e8b0691af5fa587e70"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "09daa069f6474d068ea607fecd75abed",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 360392,
            "upload_time": "2024-07-09T04:05:05",
            "upload_time_iso_8601": "2024-07-09T04:05:05.769153Z",
            "url": "https://files.pythonhosted.org/packages/4d/a7/bf492d56fb46f7882b1615cbaf35b83055d2a041afe7d70293bea638da5e/reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "425ea59d49476688218e58b889fcc383ec644f66bae203f60a3ed9df3077a641",
                "md5": "474943110e999d60de2352b95f310136",
                "sha256": "8d445aa7202d441cea82b00ce865444a784ce9588aedef639f56e35550c248b9"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-win32.whl",
            "has_sig": false,
            "md5_digest": "474943110e999d60de2352b95f310136",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 99842,
            "upload_time": "2024-07-09T04:05:14",
            "upload_time_iso_8601": "2024-07-09T04:05:14.282208Z",
            "url": "https://files.pythonhosted.org/packages/42/5e/a59d49476688218e58b889fcc383ec644f66bae203f60a3ed9df3077a641/reflink_copy-0.3.1-cp38-abi3-win32.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "75316779e9d09f4efab46175e5ccdefd46d33a92366dd81a0509f93cf5b782ca",
                "md5": "ac588da5801fad86888128c781d3fde2",
                "sha256": "d62e847c5b89820b12ecb37efc82cd97c734a6c5abc46b9c4a7d8561ed887ba9"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1-cp38-abi3-win_amd64.whl",
            "has_sig": false,
            "md5_digest": "ac588da5801fad86888128c781d3fde2",
            "packagetype": "bdist_wheel",
            "python_version": "cp38",
            "requires_python": ">=3.8",
            "size": 104953,
            "upload_time": "2024-07-09T04:05:12",
            "upload_time_iso_8601": "2024-07-09T04:05:12.377902Z",
            "url": "https://files.pythonhosted.org/packages/75/31/6779e9d09f4efab46175e5ccdefd46d33a92366dd81a0509f93cf5b782ca/reflink_copy-0.3.1-cp38-abi3-win_amd64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "098abdd4b47a3fee11c12050ad1a65402f5d20cf88207e5b84b2ecc2f4607130",
                "md5": "9ba2e29184f4092ba0c8d6432d7cea63",
                "sha256": "f5f3574b91097cbe93fef2e41351530ba4e4ce360c14c7c2d4ec8fdf3d4f415b"
            },
            "downloads": -1,
            "filename": "reflink_copy-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9ba2e29184f4092ba0c8d6432d7cea63",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 10368,
            "upload_time": "2024-07-09T04:05:11",
            "upload_time_iso_8601": "2024-07-09T04:05:11.113634Z",
            "url": "https://files.pythonhosted.org/packages/09/8a/bdd4b47a3fee11c12050ad1a65402f5d20cf88207e5b84b2ecc2f4607130/reflink_copy-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-09 04:05:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "iterative",
    "github_project": "reflink-copy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "reflink-copy"
}
        
Elapsed time: 1.22983s