{ "info": { "author": "Andrew P. Davison and Shailesh Appukuttan, CNRS", "author_email": "andrew.davison@unic.cnrs-gif.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering" ], "description": "A high-level API for interacting with the Human Brain Project archival storage at CSCS.\n\nAuthors: Andrew Davison and Shailesh Appukuttan, CNRS\n\nDocumentation: https://hbp-archive.readthedocs.io\n\nInstallation: `pip install hbp_archive`\n\nUsage:\n\n```python\n from hbp_archive import Container, PublicContainer, Project, Archive\n\n # Working with a public container\n\n container = PublicContainer(\"https://object.cscs.ch/v1/AUTH_id/my_container\")\n files = container.list()\n local_file = container.download(\"README.txt\")\n print(container.read(\"README.txt\"))\n number_of_files = container.count()\n size_in_MB = container.size(\"MB\")\n\n # Working with a private container\n\n container = Container(\"MyContainer\", username=\"xyzabc\") # you will be prompted for your password\n files = container.list()\n local_file = container.download(\"README.txt\", overwrite=True) # default is not to overwrite existing files\n print(container.read(\"README.txt\"))\n number_of_files = container.count()\n size_in_MB = container.size(\"MB\")\n\n container.move(\"my_file.dat\", \"a_subdirectory\", \"new_name.dat\") # move/rename file within a container\n\n # Reading a file directly, without downloading it\n\n with container.open(\"my_data.txt\") as fp:\n data = np.loadtxt(fp)\n\n # Working with a project\n\n my_proj = Project('MyProject', username=\"xyzabc\")\n container = my_proj.get_container(\"MyContainer\")\n\n # Listing all your projects\n\n archive = Archive(username=\"xyzabc\")\n projects = archive.projects\n container = archive.find_container(\"MyContainer\") # will search through all projects\n```\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/apdavison/hbp_archive", "keywords": "swift hbp cscs data", "license": "", "maintainer": "", "maintainer_email": "", "name": "hbp_archive", "package_url": "https://pypi.org/project/hbp_archive/", "platform": "", "project_url": "https://pypi.org/project/hbp_archive/", "project_urls": { "Homepage": "https://github.com/apdavison/hbp_archive" }, "release_url": "https://pypi.org/project/hbp_archive/0.8.1/", "requires_dist": null, "requires_python": "", "summary": "A high-level API for interacting with the Human Brain Project archival storage at CSCS", "version": "0.8.1" }, "last_serial": 4844617, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "783aa46783997fe6db27bd69889937f5", "sha256": "584f5d5406d3a664e0d63dfd9498fe8a1685098bbb34d4a211acaa18ae118e09" }, "downloads": -1, "filename": "hbp_archive-0.1.0.tar.gz", "has_sig": false, "md5_digest": "783aa46783997fe6db27bd69889937f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3609, "upload_time": "2018-02-06T10:03:22", "url": "https://files.pythonhosted.org/packages/4c/6d/67a587076eb99ecd07be56d949540707a4b20dee46c75baa7abbf497dcae/hbp_archive-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "76c141661f04980435070098c709ad9b", "sha256": "5ed4aa3d7386d062504934470f6ba5b37ecb1e55d6f8d66b5aae5ce8ea4abab4" }, "downloads": -1, "filename": "hbp_archive-0.2.0.tar.gz", "has_sig": false, "md5_digest": "76c141661f04980435070098c709ad9b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4590, "upload_time": "2018-02-08T11:21:46", "url": "https://files.pythonhosted.org/packages/90/04/7eeeaa2b97dae915986f582853819e8c0b4877eb79ed5de6b1bee0530c00/hbp_archive-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "12bf9aff988195c81892fd35b770e211", "sha256": "467d390937052fea3d083a403e3621d1d1edcc9c8a0c42f597db4f9e17fbb2a0" }, "downloads": -1, "filename": "hbp_archive-0.3.0.tar.gz", "has_sig": false, "md5_digest": "12bf9aff988195c81892fd35b770e211", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9483, "upload_time": "2018-05-24T20:29:37", "url": "https://files.pythonhosted.org/packages/23/f1/d6f40939b9accce15c8415ddbd9d3d76460dd57ff75f92b7d4dc16ef68c0/hbp_archive-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "0a59e61a9021d11331856819ce21262d", "sha256": "7c6ce10bbf50fa429a73c97cf247204248e39784db4b33232d7e0a8e6adb3c9e" }, "downloads": -1, "filename": "hbp_archive-0.4.0.tar.gz", "has_sig": false, "md5_digest": "0a59e61a9021d11331856819ce21262d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9779, "upload_time": "2018-05-25T11:40:53", "url": "https://files.pythonhosted.org/packages/20/19/d74270c304219252c01966eef5ca46679bd7f203f6ceca0a01a705a4df9c/hbp_archive-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "9e718b03f0ff822da02319b9f76c5531", "sha256": "b3015b4a8434b6d74ef18c4f74dda128b8af46602add8a9e9da73979da76f200" }, "downloads": -1, "filename": "hbp_archive-0.5.0.tar.gz", "has_sig": false, "md5_digest": "9e718b03f0ff822da02319b9f76c5531", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10892, "upload_time": "2018-05-25T15:44:45", "url": "https://files.pythonhosted.org/packages/d6/74/63f2f112433a8746d127b2003001a7e6684cd24230f4892e9cf942bc0d7f/hbp_archive-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "bd842c5a9bd127dad8c14f52855336c6", "sha256": "9fa5a95274ee2838d6e5dd146ce300e318c4437b3e00e8a5e65821c47d765147" }, "downloads": -1, "filename": "hbp_archive-0.6.0.tar.gz", "has_sig": false, "md5_digest": "bd842c5a9bd127dad8c14f52855336c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11640, "upload_time": "2018-06-20T08:27:09", "url": "https://files.pythonhosted.org/packages/84/08/6da9aa7ca26f7829183ae9048ff96fbb3a40405d7463d3f08274bd8cd77f/hbp_archive-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "c9e49ef0b126aa050c64bc4613e4fa27", "sha256": "d758c2bbcaa22cb085ee64bcc5df6da73a88a6832e8c75e8cfdb3023e5a1f148" }, "downloads": -1, "filename": "hbp_archive-0.7.0.tar.gz", "has_sig": false, "md5_digest": "c9e49ef0b126aa050c64bc4613e4fa27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14609, "upload_time": "2018-10-16T10:17:27", "url": "https://files.pythonhosted.org/packages/d9/17/1f879da73378708d972572664807bb748a227a051b78b08a2b5839a3f9f8/hbp_archive-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "b959763860db0f161d9aa16d33ff5f19", "sha256": "b4028e202633a2be5ccf4597833eeba4030960068aaa34460ec4d143ce57bd86" }, "downloads": -1, "filename": "hbp_archive-0.8.0.tar.gz", "has_sig": false, "md5_digest": "b959763860db0f161d9aa16d33ff5f19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15876, "upload_time": "2019-02-11T14:03:02", "url": "https://files.pythonhosted.org/packages/59/07/50e3cbffb84203b0d218b9cee09f7e9d0ed775abb58513d9ab21e2b154eb/hbp_archive-0.8.0.tar.gz" } ], "0.8.1": [ { "comment_text": "", "digests": { "md5": "372b52ce353d99ee6cabc56aca8f9224", "sha256": "f0f3caf60d8c416b27b9e59b4cbb24140f9e4e437b80377aafd873ecd8626ed6" }, "downloads": -1, "filename": "hbp_archive-0.8.1.tar.gz", "has_sig": false, "md5_digest": "372b52ce353d99ee6cabc56aca8f9224", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16189, "upload_time": "2019-02-20T09:34:48", "url": "https://files.pythonhosted.org/packages/3d/cb/f7e650e33730ae62db147fbc2aaaa41330140cbcd20108aa1d2419d571b2/hbp_archive-0.8.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "372b52ce353d99ee6cabc56aca8f9224", "sha256": "f0f3caf60d8c416b27b9e59b4cbb24140f9e4e437b80377aafd873ecd8626ed6" }, "downloads": -1, "filename": "hbp_archive-0.8.1.tar.gz", "has_sig": false, "md5_digest": "372b52ce353d99ee6cabc56aca8f9224", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16189, "upload_time": "2019-02-20T09:34:48", "url": "https://files.pythonhosted.org/packages/3d/cb/f7e650e33730ae62db147fbc2aaaa41330140cbcd20108aa1d2419d571b2/hbp_archive-0.8.1.tar.gz" } ] }