{ "info": { "author": "John Harrison", "author_email": "john.harrison@archiveanalytics.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Application", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", "Topic :: System :: Archiving" ], "description": "Alloy Client\n============\n\nDescription\n-----------\n\nA Python client and command-line tool for the Alloy digital archive. Also\nincludes a rudimentary client for any CDMI enabled cloud storage.\n\nAfter Installation_, connect to an Alloy archive::\n\n alloy init --api=https://alloy.example.com/api/cdmi\n\n(or if authentication is required by the archive)::\n\n alloy init --api=https://alloy.example.com/api/cdmi --username=USER --password=PASS\n\nShow current working container::\n\n alloy pwd\n\nList a container or object::\n\n alloy ls [name]\n\nMove to a new container::\n\n alloy cd subdir\n ...\n alloy cd .. # back up to parent\n\nCreate a new container::\n\n alloy mkdir new\n\nPut a local file::\n\n alloy put source.txt\n ...\n alloy put source.txt destination.txt # Put to a different name remotely\n\nProvide the MIME type of the object (if not supplied ``alloy put`` will attempt\nto guess)::\n\n alloy put --mimetype \"text-plain\" source.txt\n\nFetch a data object from the archive to a local file::\n\n alloy get source.txt\n\n alloy get source.txt destination.txt # Get with a different name locally\n\n alloy get --force source.txt # Overwrite an existing local file\n\nRemove an object::\n\n alloy rm file.txt\n\nRecursively remove a container (WARNING: Dangerous!)::\n\n alloy rm -r container\n\nRemove an already empty container (Safer!)::\n\n alloy rmdir container\n\nClose the current session to prevent unauthorized access::\n\n alloy exit\n\n\nAdvanced Use - Metadata\n~~~~~~~~~~~~~~~~~~~~~~~\n\nSet (overwrite) a metadata value for a field::\n\n alloy meta file.txt \"org.dublincore.creator=S M Body\"\n alloy meta . \"org.dublincore.title=My Collection\"\n\nAdd another value to an existing metadata field::\n\n alloy meta file.txt \"org.dublincore.creator+=A N Other\"\n\nList metadata values for all fields::\n\n alloy meta file.txt\n\nList metadata value(s) for a specific field::\n\n alloy meta file.txt org.dublincore.creator\n\nDelete a metadata field::\n\n alloy meta file.txt \"org.dublincore.creator=\"\n\n\nInstallation\n------------\n\nCreate And Activate A Virtual Environment\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n::\n\n $ virtualenv ~/ve/alloyclient\n ...\n $ source ~/ve/alloyclient/bin/activate\n\n\nInstall Dependencies\n~~~~~~~~~~~~~~~~~~~~\n::\n\n pip install -r requirements.txt\n\n\nInstall Alloy Client\n~~~~~~~~~~~~~~~~~~~~\n::\n\n pip install -e .\n\n\nDetailed OSX install commands\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n::\n\n sudo easy_install virtualenv # virtualenv installs pip\n python -m virtualenv ~/ve/alloyclient\n source ~/ve/alloyclient/bin/activate\n pip install -r requirements.txt\n pip install -e .\n\n\nLicense\n-------\n\nCopyright 2014 Archive Analytics Solutions\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/archiveanalytics/alloy-client", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "alloyclient", "package_url": "https://pypi.org/project/alloyclient/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/alloyclient/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://bitbucket.org/archiveanalytics/alloy-client" }, "release_url": "https://pypi.org/project/alloyclient/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Alloy Client", "version": "1.0.0" }, "last_serial": 1494868, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "3e59e5b2c7d59461025bf9e06e8b3d37", "sha256": "779550cf7d4f12d14741a3680dddedf2e748e096282755cd35defd3373099b86" }, "downloads": -1, "filename": "alloyclient-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3e59e5b2c7d59461025bf9e06e8b3d37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19789, "upload_time": "2015-04-07T20:26:18", "url": "https://files.pythonhosted.org/packages/66/6b/c5b16102e66ec117da020ffbfd766b743105ba2b37e3f6b3da4123135138/alloyclient-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3e59e5b2c7d59461025bf9e06e8b3d37", "sha256": "779550cf7d4f12d14741a3680dddedf2e748e096282755cd35defd3373099b86" }, "downloads": -1, "filename": "alloyclient-1.0.0.tar.gz", "has_sig": false, "md5_digest": "3e59e5b2c7d59461025bf9e06e8b3d37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19789, "upload_time": "2015-04-07T20:26:18", "url": "https://files.pythonhosted.org/packages/66/6b/c5b16102e66ec117da020ffbfd766b743105ba2b37e3f6b3da4123135138/alloyclient-1.0.0.tar.gz" } ] }