Python reflink wraps around platform specific reflink implementations
Project description
Python reflink
Python wrapper around the reflink system calls.
Free software: MIT license
Documentation: https://reflink.readthedocs.io.
Documentation for master branch: https://rubdos.gitlab.io/pyreflink/docs
Features
Btrfs, XFS, OCFS2 reflink support. Btrfs is tested the most.
A convenience method that checks support for reflinks within a specific directory.
Quick start example
To use Python reflink in a project:
from reflink import reflink # Reflink copy 'large_file.img' to 'copy_of_file.img' reflink("large_file.img", "copy_of_file.img")
Help wanted
Someone to implement the macOS backend; please see the macOS/APFS issue.
The same for a Windows/ReFS implementation
Support
Support on the GitLab repository, feel free to file an issue.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.0 (2017-07-27)
First release on PyPI.
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
Built Distributions
Hashes for reflink-0.1.4-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d59b68f228f2f2386c872a99fa7db443b9526c025fd84474a58aaefebedeebf0 |
|
MD5 | 9f8fcafcdf8897fbbe0f59ae33db2f4e |
|
BLAKE2b-256 | 9e1f85d45bfb90e580a8d168460364196f8af1370350e11c03f2e0815fcfd9cc |
Hashes for reflink-0.1.4-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 704451a9d322b8a4ef11a7bbda832facd193cdf8d8cd7c36106e0d285620be40 |
|
MD5 | ccb5bc084675e30a6267107b816c1ced |
|
BLAKE2b-256 | bfae910afb9ca6a01b7d2080cbe2edd497668cc488c0145b371bdcc015c38529 |