This release is a pre-release and may not be stable for production use.
annex_dataproxy
This git annex external remote extension uses AnnexRemote to talk to EBRAINS Data Proxy so that you can use EBRAINS Collaboratory buckets as Datalad siblings.
Install
pip install annex_dataproxy.
Usage
create a dataset
$ datalad create pdfdata
[INFO ] Creating a new annex repo at /tmp/pdfdata
[INFO ] scanning for unlocked files (this may take some time)
create(ok): /tmp/pdfdata (dataset)
$ cd pdfdata/
$ rsync -ra $HOME/PDFs/ ./
$ datalad save
add(ok): 1107.0903 Montbrio Pazo - Stuart Landau.pdf (file)
[199 similar messages have been suppressed; disable with datalad.ui.suppress-similar-results=off]
save(ok): . (dataset)
action summary:
add (ok: 209)
save (ok: 1)
tell the dataproxy remote our token and what bucket & prefix to use
$ export EBRAINS_TOKEN=$EBRAINS_TOKEN
$ export DATAPROXY_PATH=insference/pdfs
create the annex remote and datalad push --to it
$ git annex initremote pdfs type=external externaltype=dataproxy encryption=none
initremote pdfs ok
(recording state in git...)
$ datalad push --to pdfs
copy(ok): 15009.full.pdf (file) [to pdfs...]
[193 similar messages have been suppressed; disable with datalad.ui.suppress-similar-results=off]
action summary:
copy (notneeded: 6, ok: 203)
Status
- sloppy proof of concept
-
git annex testremotepasses - PyPI package for easier install
- better mechanism for specifying bucket & prefix
Metadata
Release files for annex-dataproxy 1.0.0rc3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| annex_dataproxy-1.0.0rc3.tar.gz | 2.9 kB | Without provenance | Details for annex_dataproxy-1.0.0rc3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| annex_dataproxy-1.0.0rc3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for annex_dataproxy-1.0.0rc3-py2.py3-none-any.whl |
Total release size: 7.4 kB
Release files / annex_dataproxy-1.0.0rc3.tar.gz
| Download URL | annex_dataproxy-1.0.0rc3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d9ec8de9b59371b3be49efb257ae11c411b3e45712643b2879fe7cb67888606
|
|
BLAKE2b-256 checksum How to use checksums |
3a1a0fd956a1c8670763e50b37e0e987c75cf341e6cb6b677b1a5bceb1e41085
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / annex_dataproxy-1.0.0rc3-py2.py3-none-any.whl
| Download URL | annex_dataproxy-1.0.0rc3-py2.py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1eece3506d5a5d69a1c6cbd07c6de2f05d4c97eb098d044d1328d45d9779a009
|
|
BLAKE2b-256 checksum How to use checksums |
5420a166f3036ff467ad7a76cdd9d032d2237eae6af375edd6f76283aaa80077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for annex-dataproxy 1.0.0rc3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.