| 1 |
Installation |
| 2 |
============ |
| 3 |
|
| 4 |
Minimal installation |
| 5 |
-------------------- |
| 6 |
|
| 7 |
.. code-block:: bash |
| 8 |
|
| 9 |
pip install 'borgstore' |
| 10 |
|
| 11 |
Only the `posixfs` (`file://...`) backend will be available. |
| 12 |
|
| 13 |
|
| 14 |
Installation with optional dependencies |
| 15 |
--------------------------------------- |
| 16 |
|
| 17 |
To also enable other backends or other optional features, use: |
| 18 |
|
| 19 |
.. code-block:: bash |
| 20 |
|
| 21 |
pip install 'borgstore[rest,rclone,sftp,s3,blake3]' |
| 22 |
|
| 23 |
For the available optional dependencies, see ``pyproject.toml``, section ``[project.optional-dependencies]``. |
| 24 |
|
| 25 |
The ``blake3`` extra is not about a backend: it enables the "blake3" hash algorithm |
| 26 |
for hash computations (blake3 is not part of ``hashlib``). For remote backends that |
| 27 |
compute hashes server-side, it needs to be installed on the server. |
| 28 |
|
| 29 |
|
| 30 |
Running the demo |
| 31 |
---------------- |
| 32 |
|
| 33 |
Run this to get instructions on how to run the demo:: |
| 34 |
|
| 35 |
python3 -m borgstore |
| 36 |
|