Python wrapper for reflink_copy Rust library
Project description
reflink-copy
Python wrapper for reflink-copy
.
Installation
You can install the library via pip
from PyPI:
pip install reflink-copy
Usage
from reflink_copy import reflink, reflink_or_copy
reflink("file1", "file2")
reflink_or_copy("file1", "file2")
Reference
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
python -m venv .venv; source .venv/bin/activate
pip install maturin
maturin develop
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file reflink_copy-0.3.1.tar.gz
.
File metadata
- Download URL: reflink_copy-0.3.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5f3574b91097cbe93fef2e41351530ba4e4ce360c14c7c2d4ec8fdf3d4f415b |
|
MD5 | 9ba2e29184f4092ba0c8d6432d7cea63 |
|
BLAKE2b-256 | 098abdd4b47a3fee11c12050ad1a65402f5d20cf88207e5b84b2ecc2f4607130 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-win_amd64.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 105.0 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d62e847c5b89820b12ecb37efc82cd97c734a6c5abc46b9c4a7d8561ed887ba9 |
|
MD5 | ac588da5801fad86888128c781d3fde2 |
|
BLAKE2b-256 | 75316779e9d09f4efab46175e5ccdefd46d33a92366dd81a0509f93cf5b782ca |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-win32.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-win32.whl
- Upload date:
- Size: 99.8 kB
- Tags: CPython 3.8+, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d445aa7202d441cea82b00ce865444a784ce9588aedef639f56e35550c248b9 |
|
MD5 | 474943110e999d60de2352b95f310136 |
|
BLAKE2b-256 | 425ea59d49476688218e58b889fcc383ec644f66bae203f60a3ed9df3077a641 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_x86_64.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_x86_64.whl
- Upload date:
- Size: 360.4 kB
- Tags: CPython 3.8+, musllinux: musl 1.1+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f5d5bf189d32c51abd4f47399b2f43cf89a2cbf24cd93e8b0691af5fa587e70 |
|
MD5 | 09daa069f6474d068ea607fecd75abed |
|
BLAKE2b-256 | 4da7bf492d56fb46f7882b1615cbaf35b83055d2a041afe7d70293bea638da5e |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_i686.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_i686.whl
- Upload date:
- Size: 379.2 kB
- Tags: CPython 3.8+, musllinux: musl 1.1+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ed37b12cdf892b3aa14c88daa46c2b2b4357a0a35122bc3bc433093f3d29308 |
|
MD5 | d3dc93ad0f70be098662f73e48044f62 |
|
BLAKE2b-256 | ce16621b59930f4018e44741b45f93e9cc8c9bbcad86a0ea603148eba77ca5b9 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_armv7l.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_armv7l.whl
- Upload date:
- Size: 447.3 kB
- Tags: CPython 3.8+, musllinux: musl 1.1+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a1ee72b1b1fddf6430799c3a8b3993cc9779867b612f0791673ef08b7393a46 |
|
MD5 | fce4cb63be074277f5f4aabb7eda3dff |
|
BLAKE2b-256 | 9442973057a1990bf7f4b56373ae2ff0619de9e7785b53c53399e8789b920a3d |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_aarch64.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_aarch64.whl
- Upload date:
- Size: 362.3 kB
- Tags: CPython 3.8+, musllinux: musl 1.1+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ae10c3370fb5f777881863d35445effbf57d4c4afac7be6511fc2bc816dc3e0 |
|
MD5 | 9ce1ab3f6140c1fa9387b3a13ca1962d |
|
BLAKE2b-256 | 2766132e6271f6c3b3ae48321eb50d37e822b5c8c65e29eaeda2ec5c27e63ec7 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 189.1 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 212f1217d9f2193ed8802818a0d58d47ea1233f7c8d76e8597573f55e758431c |
|
MD5 | 9b5bac8a47961779af51a51c008de222 |
|
BLAKE2b-256 | ee4db2cd58ec9c74ab46e0d5d1e3b167c1f575ae01d237c2f57a90a231fa23ae |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 256.6 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5656dde6e268f51292cef7eadd620fe5e20ce5aa2c521814a7ff3271443de87b |
|
MD5 | bbf381ccb283423f42ae541eb4e0d189 |
|
BLAKE2b-256 | 285304c45885535de3f9ff7ddee174dc406b2ffa29bfc90cb03b825b7cab2a13 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 206.3 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c8b481f950088172d2c67052438e2b2b90a2e3b05bec0ff63f94b4e7a29037 |
|
MD5 | 1d53bcc7a33fcd7e53f36eff877b577d |
|
BLAKE2b-256 | 6cd10dc7dde0b3e97df37bbf675210f7b1517e84e157e7302d50f30996fedcb9 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 183.9 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f58e243541912a357daaef3cb824592f832e36a2a690f07de1c57a3966e84e6 |
|
MD5 | 7a8306ecde33782fa86a0db63d34e0cd |
|
BLAKE2b-256 | 08a9b2fa0ba7eebdc9cf64ea6baf800c5fa4ed066613c934167ced1ff34f85e5 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 182.0 kB
- Tags: CPython 3.8+, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acbe81ffe1d42a5f24fc4bb71b2fb49d76398ea89695bbc3bdfa469287d38972 |
|
MD5 | 8b5a32a532213bcea79b7cd9c7a2dfb5 |
|
BLAKE2b-256 | b399aea63109b4789a305b8c4f211a73da7aec651d57d20f2098c4c17fff629f |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl
- Upload date:
- Size: 197.8 kB
- Tags: CPython 3.8+, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dca595265054b530b5b77c9accb32d7d147c38804aec53b395a35be3c254cefc |
|
MD5 | f24a146bc6a71637d9e1ebd970dd509f |
|
BLAKE2b-256 | 39f79a04c7ae0e1b809c088baabaace135de6f6e7d098912ac596aee8e0273ac |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 168.4 kB
- Tags: CPython 3.8+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c438e17a5282c90f26853938728edac3be419ec2dd3cfe7e79face4270ad829 |
|
MD5 | 83772bbe5bc01a18ebddad96897dbda8 |
|
BLAKE2b-256 | d1adfeef9ae7963c88d49c9cb09f8dcc74e13d6476faf82399438ee132c35a52 |
File details
Details for the file reflink_copy-0.3.1-cp38-abi3-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: reflink_copy-0.3.1-cp38-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 172.9 kB
- Tags: CPython 3.8+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f350c233c916c95b7dd1bf7a6ddc28c27571b25986f4bcba8b9a990c754f47f3 |
|
MD5 | 1195a68ac1792a0abd15a6ad5c39a830 |
|
BLAKE2b-256 | b08f435a5ed62095b2688b56f4a3e9cfd773f4243df5bdf7a56caa9963ee8a8b |