Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reflink_copy-0.3.1.tar.gz (10.4 kB view details)

Uploaded Source

Built Distributions

reflink_copy-0.3.1-cp38-abi3-win_amd64.whl (105.0 kB view details)

Uploaded CPython 3.8+ Windows x86-64

reflink_copy-0.3.1-cp38-abi3-win32.whl (99.8 kB view details)

Uploaded CPython 3.8+ Windows x86

reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_x86_64.whl (360.4 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.1+ x86-64

reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_i686.whl (379.2 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.1+ i686

reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_armv7l.whl (447.3 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.1+ ARMv7l

reflink_copy-0.3.1-cp38-abi3-musllinux_1_1_aarch64.whl (362.3 kB view details)

Uploaded CPython 3.8+ musllinux: musl 1.1+ ARM64

reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (189.1 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ x86-64

reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (256.6 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ s390x

reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (206.3 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ppc64le

reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (183.9 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ARMv7l

reflink_copy-0.3.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (182.0 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.17+ ARM64

reflink_copy-0.3.1-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl (197.8 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.5+ i686

reflink_copy-0.3.1-cp38-abi3-macosx_11_0_arm64.whl (168.4 kB view details)

Uploaded CPython 3.8+ macOS 11.0+ ARM64

reflink_copy-0.3.1-cp38-abi3-macosx_10_12_x86_64.whl (172.9 kB view details)

Uploaded CPython 3.8+ macOS 10.12+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page