| 1 | Source: borgstore |
| 2 | Section: python |
| 3 | Priority: optional |
| 4 | Maintainer: Gianfranco Costamagna <[email protected]> |
| 5 | Build-Depends: debhelper-compat (= 13), |
| 6 | dh-python, |
| 7 | pybuild-plugin-pyproject, |
| 8 | python3, |
| 9 | python3-blake3, |
| 10 | python3-boto3, |
| 11 | python3-paramiko, |
| 12 | python3-requests, |
| 13 | python3-setuptools, |
| 14 | python3-setuptools-scm, |
| 15 | python3-sphinx, |
| 16 | Standards-Version: 4.7.3 |
| 17 | Homepage: https://github.com/borgbackup/borgstore |
| 18 | Vcs-Git: https://salsa.debian.org/debian/borgstore.git |
| 19 | Vcs-Browser: https://salsa.debian.org/debian/borgstore |
| 20 | |
| 21 | Package: python3-borgstore |
| 22 | Architecture: all |
| 23 | Depends: ${misc:Depends}, ${python3:Depends}, |
| 24 | python3-blake3, |
| 25 | python3-boto3, |
| 26 | python3-paramiko, |
| 27 | python3-requests, |
| 28 | Recommends: ${python3:Recommends} |
| 29 | Suggests: ${python3:Suggests} |
| 30 | Description: General purpose key/value store in Python |
| 31 | borgstore implements a general purpose key/value store in Python. |
| 32 | . |
| 33 | Overview |
| 34 | -------- |
| 35 | . |
| 36 | Keys are simple strings like `config/main` or `data/0123456789abcdef` `[str]` |
| 37 | (config and data are namespaces here). Values are binary objects `[bytes]` - |
| 38 | when storing, a `memoryview` is accepted as well, so callers can avoid copying. |
| 39 | . |
| 40 | The `Store` class is the high-level API, so you can comfortably work with the |
| 41 | kv store without caring for low-level details. |
| 42 | . |
| 43 | The `backends` package has misc. storage backend implementations. |
| 44 | . |
| 45 | The `server` package has a REST server implementation, complementing the REST |
| 46 | client functionality in the `rest` backend. To actually store stuff, the REST server |
| 47 | can use any backend internally, e.g. the `posixfs` backend. |
| 48 | . |
| 49 | Store features |
| 50 | -------------- |
| 51 | . |
| 52 | - supports URLs, like `file:///srv/borgstore` or `https://myserver/path` |
| 53 | - easy to use, high-level `Store` API: create/destroy, open/close, list, |
| 54 | load/store, delete, move, soft delete/undelete, hash, defrag, ... |
| 55 | - uses a backend to implement the storage |
| 56 | - optionally uses an additional caching backend, with a configurable cache |
| 57 | policy per namespace |
| 58 | - name nesting / unnesting, recursive directory listing |
| 59 | - statistics collection |
| 60 | - latency/bandwidth emulator |
| 61 | . |
| 62 | Backend features |
| 63 | ---------------- |
| 64 | . |
| 65 | - existing backends for local filesystem, sftp, REST, S3 / B2 (native) and |
| 66 | many other cloud storage protocols via rclone |
| 67 | - new backends are simple to implement |
| 68 | - key validation |
| 69 | - partial loads / range requests |
| 70 | - stored object hashing (hashlib algorithms, e.g. sha256, and optionally blake3) |
| 71 | - stored object defragmentation |
| 72 | - quota support (only `posixfs`) |
| 73 | - permissions checking (only `posixfs`) |
| 74 | . |
| 75 | REST server features |
| 76 | -------------------- |
| 77 | . |
| 78 | - server-side permissions/quota enforcement |
| 79 | - server-side hashsum check of transferred objects before storing |
| 80 | - network traffic optimization by doing stuff server-side: |
| 81 | . |
| 82 | - stored object hashing |
| 83 | - stored object defragmentation |
| 84 | - the REST server can internally use any backend for storage, e.g. `posixfs` |
| 85 | - for the REST server, we provide CI tested configs for: |
| 86 | . |
| 87 | - an nginx-based reverse proxy |
| 88 | - systemd-based on-demand `borgstore.server` process creation |
| 89 | . |
| 90 | State of this project |
| 91 | --------------------- |
| 92 | . |
| 93 | **API is still unstable and expected to change as development goes on.** |
| 94 | . |
| 95 | **As long as the API is unstable, there will be no data migration tools, |
| 96 | such as tools for upgrading an existing store's data to a new release.** |
| 97 | . |
| 98 | There are tests, and they pass for the basic functionality, so some functionality is already working well. |
| 99 | . |
| 100 | There might be missing features or optimization potential. Feedback is welcome! |
| 101 | . |
| 102 | Many possible backends are still missing. If you want to create and support one, pull requests are welcome. |
| 103 | . |
| 104 | Borg? |
| 105 | ----- |
| 106 | . |
| 107 | Please note that this code is currently **not** used by the stable release of |
| 108 | BorgBackup (also known as "borg"), but only by Borg 2 beta 10+ and the master branch. |
| 109 | |
| 110 | Package: python3-borgstore-server-rest |
| 111 | Architecture: all |
| 112 | Depends: nginx, python3-borgstore, ${misc:Depends}, ${python3:Depends}, |
| 113 | Recommends: ${python3:Recommends} |
| 114 | Suggests: ${python3:Suggests} |
| 115 | Description: General purpose key/value store in Python |
| 116 | borgstore implements a general purpose key/value store in Python. |
| 117 | . |
| 118 | Overview |
| 119 | -------- |
| 120 | . |
| 121 | Keys are simple strings like `config/main` or `data/0123456789abcdef` `[str]` |
| 122 | (config and data are namespaces here). Values are binary objects `[bytes]` - |
| 123 | when storing, a `memoryview` is accepted as well, so callers can avoid copying. |
| 124 | . |
| 125 | The `Store` class is the high-level API, so you can comfortably work with the |
| 126 | kv store without caring for low-level details. |
| 127 | . |
| 128 | The `backends` package has misc. storage backend implementations. |
| 129 | . |
| 130 | The `server` package has a REST server implementation, complementing the REST |
| 131 | client functionality in the `rest` backend. To actually store stuff, the REST server |
| 132 | can use any backend internally, e.g. the `posixfs` backend. |
| 133 | . |
| 134 | Store features |
| 135 | -------------- |
| 136 | . |
| 137 | - supports URLs, like `file:///srv/borgstore` or `https://myserver/path` |
| 138 | - easy to use, high-level `Store` API: create/destroy, open/close, list, |
| 139 | load/store, delete, move, soft delete/undelete, hash, defrag, ... |
| 140 | - uses a backend to implement the storage |
| 141 | - optionally uses an additional caching backend, with a configurable cache |
| 142 | policy per namespace |
| 143 | - name nesting / unnesting, recursive directory listing |
| 144 | - statistics collection |
| 145 | - latency/bandwidth emulator |
| 146 | . |
| 147 | Backend features |
| 148 | ---------------- |
| 149 | . |
| 150 | - existing backends for local filesystem, sftp, REST, S3 / B2 (native) and |
| 151 | many other cloud storage protocols via rclone |
| 152 | - new backends are simple to implement |
| 153 | - key validation |
| 154 | - partial loads / range requests |
| 155 | - stored object hashing (hashlib algorithms, e.g. sha256, and optionally blake3) |
| 156 | - stored object defragmentation |
| 157 | - quota support (only `posixfs`) |
| 158 | - permissions checking (only `posixfs`) |
| 159 | . |
| 160 | REST server features |
| 161 | -------------------- |
| 162 | . |
| 163 | - server-side permissions/quota enforcement |
| 164 | - server-side hashsum check of transferred objects before storing |
| 165 | - network traffic optimization by doing stuff server-side: |
| 166 | . |
| 167 | - stored object hashing |
| 168 | - stored object defragmentation |
| 169 | - the REST server can internally use any backend for storage, e.g. `posixfs` |
| 170 | - for the REST server, we provide CI tested configs for: |
| 171 | . |
| 172 | - an nginx-based reverse proxy |
| 173 | - systemd-based on-demand `borgstore.server` process creation |
| 174 | . |
| 175 | State of this project |
| 176 | --------------------- |
| 177 | . |
| 178 | **API is still unstable and expected to change as development goes on.** |
| 179 | . |
| 180 | **As long as the API is unstable, there will be no data migration tools, |
| 181 | such as tools for upgrading an existing store's data to a new release.** |
| 182 | . |
| 183 | There are tests, and they pass for the basic functionality, so some functionality is already working well. |
| 184 | . |
| 185 | There might be missing features or optimization potential. Feedback is welcome! |
| 186 | . |
| 187 | Many possible backends are still missing. If you want to create and support one, pull requests are welcome. |
| 188 | . |
| 189 | Borg? |
| 190 | ----- |
| 191 | . |
| 192 | Please note that this code is currently **not** used by the stable release of |
| 193 | BorgBackup (also known as "borg"), but only by Borg 2 beta 10+ and the master branch. |
| 194 | . |
| 195 | This is the nginx based rest server. |
| 196 | |
| 197 | Package: python3-borgstore-doc |
| 198 | Architecture: all |
| 199 | Depends: ${misc:Depends}, ${sphinxdoc:Depends}, |
| 200 | Multi-Arch: foreign |
| 201 | Description: General purpose key/value store in Python (common documentation) |
| 202 | borgstore implements a general purpose key/value store in Python. |
| 203 | . |
| 204 | Overview |
| 205 | -------- |
| 206 | . |
| 207 | Keys are simple strings like `config/main` or `data/0123456789abcdef` `[str]` |
| 208 | (config and data are namespaces here). Values are binary objects `[bytes]` - |
| 209 | when storing, a `memoryview` is accepted as well, so callers can avoid copying. |
| 210 | . |
| 211 | The `Store` class is the high-level API, so you can comfortably work with the |
| 212 | kv store without caring for low-level details. |
| 213 | . |
| 214 | The `backends` package has misc. storage backend implementations. |
| 215 | . |
| 216 | The `server` package has a REST server implementation, complementing the REST |
| 217 | client functionality in the `rest` backend. To actually store stuff, the REST server |
| 218 | can use any backend internally, e.g. the `posixfs` backend. |
| 219 | . |
| 220 | Store features |
| 221 | -------------- |
| 222 | . |
| 223 | - supports URLs, like `file:///srv/borgstore` or `https://myserver/path` |
| 224 | - easy to use, high-level `Store` API: create/destroy, open/close, list, |
| 225 | load/store, delete, move, soft delete/undelete, hash, defrag, ... |
| 226 | - uses a backend to implement the storage |
| 227 | - optionally uses an additional caching backend, with a configurable cache |
| 228 | policy per namespace |
| 229 | - name nesting / unnesting, recursive directory listing |
| 230 | - statistics collection |
| 231 | - latency/bandwidth emulator |
| 232 | . |
| 233 | Backend features |
| 234 | ---------------- |
| 235 | . |
| 236 | - existing backends for local filesystem, sftp, REST, S3 / B2 (native) and |
| 237 | many other cloud storage protocols via rclone |
| 238 | - new backends are simple to implement |
| 239 | - key validation |
| 240 | - partial loads / range requests |
| 241 | - stored object hashing (hashlib algorithms, e.g. sha256, and optionally blake3) |
| 242 | - stored object defragmentation |
| 243 | - quota support (only `posixfs`) |
| 244 | - permissions checking (only `posixfs`) |
| 245 | . |
| 246 | REST server features |
| 247 | -------------------- |
| 248 | . |
| 249 | - server-side permissions/quota enforcement |
| 250 | - server-side hashsum check of transferred objects before storing |
| 251 | - network traffic optimization by doing stuff server-side: |
| 252 | . |
| 253 | - stored object hashing |
| 254 | - stored object defragmentation |
| 255 | - the REST server can internally use any backend for storage, e.g. `posixfs` |
| 256 | - for the REST server, we provide CI tested configs for: |
| 257 | . |
| 258 | - an nginx-based reverse proxy |
| 259 | - systemd-based on-demand `borgstore.server` process creation |
| 260 | . |
| 261 | State of this project |
| 262 | --------------------- |
| 263 | . |
| 264 | **API is still unstable and expected to change as development goes on.** |
| 265 | . |
| 266 | **As long as the API is unstable, there will be no data migration tools, |
| 267 | such as tools for upgrading an existing store's data to a new release.** |
| 268 | . |
| 269 | There are tests, and they pass for the basic functionality, so some functionality is already working well. |
| 270 | . |
| 271 | There might be missing features or optimization potential. Feedback is welcome! |
| 272 | . |
| 273 | Many possible backends are still missing. If you want to create and support one, pull requests are welcome. |
| 274 | . |
| 275 | Borg? |
| 276 | ----- |
| 277 | . |
| 278 | Please note that this code is currently **not** used by the stable release of |
| 279 | BorgBackup (also known as "borg"), but only by Borg 2 beta 10+ and the master branch. |
| 280 | . |
| 281 | This is the common documentation pacakge. |