Skip to main content

A high-level API for interacting with the Human Brain Project archival storage at CSCS

Project description

A high-level API for interacting with the Human Brain Project archival storage at CSCS.

Author: Andrew Davison, CNRS

Usage:

```python
from hbp_archive import Container, Project, Archive

# Working with a single container

container = Container("MyContainer", username="xyzabc") # you will be prompted for your password
files = container.list()
local_file = container.download("README.txt")
number_of_files = container.count()
size_in_MB = container.size("MB")

# Working with a project

sp6 = Project('MyProject', username="xyzabc")
containers = sp6.containers

# Listing all your projects

archive = Archive(username="xyzabc")
projects = archive.projects
container = archive.find_container("MyContainer") # will search through all projects
```

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

hbp_archive-0.2.0.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file hbp_archive-0.2.0.tar.gz.

File metadata

File hashes

Hashes for hbp_archive-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5ed4aa3d7386d062504934470f6ba5b37ecb1e55d6f8d66b5aae5ce8ea4abab4
MD5 76c141661f04980435070098c709ad9b
BLAKE2b-256 90047eeeaa2b97dae915986f582853819e8c0b4877eb79ed5de6b1bee0530c00

See more details on using hashes here.

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