{ "info": { "author": "Nurlan Abyken", "author_email": "abyken.nurlan@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Utilities" ], "description": "almastorage\n========\n\nSimple web-application used for accessing project with SwiftStack storage\n\nQuick Install\n-------------\n\n1) Install almastorage:\n\n pip install django-almastorage\n\n2) Add 'almastorage' into your INSTALLED_APPS in project settings \n\n3) Add fields into project settings infortation from your swiftstack:\n\n\tSW_USERNAME = 'user'//account name\n\n\tSW_KEY = 'key' //account key\n\t\n\tSW_AUTH_URL = 'http://your_url' //auth_url \n\n\tAUTH_USER_MODEL = 'your User model' //your User model\n\n4) Migrate\n\n\t./manage.py migrate almastorage\n\n5) Create default container\n\n\t./manage.py shell\n\n\t> from almastorage.models import SwiftContainer\n\n\t> SwiftContainer.create_default_container()\n\n-------------\nYou can download it directly from storage, but in that case your filename will be some key generated\nfrom your filename and uploaded date. For download you can use 'download' view from views.py, just \nappend to your urls url(r'^files', include('almastorage.urls')), and then download using swiftfile id, 'http://your_domain/files/download/(?P[0-9]+)/'\n-------------\nUse API for upload: http://yourdomain/api/v1/storage/:SW_USERNAME/upload/ \n\tpost_data={\n\t\t'filename': filename,\n\t\t'content_type': mime_type,\n\t\t'uploaded_file': base64.b64encode(open(file_path, \"rb\").read())\n\t\t}\nUse API for download: http://yourdomain/api/v1/file/:id/download/ \n\twhich will return {'temp_url': 'http://temp_url'}, use get to this url to get the file", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aaannnyyy/django-almastorage", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-almastorage", "package_url": "https://pypi.org/project/django-almastorage/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-almastorage/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/aaannnyyy/django-almastorage" }, "release_url": "https://pypi.org/project/django-almastorage/0.4.1/", "requires_dist": null, "requires_python": null, "summary": "A simple Django app to use SwiftStack Storage", "version": "0.4.1" }, "last_serial": 1765673, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "e7f69789c34e8dc6d53bdbac7b773c65", "sha256": "26dc819aa85d7c2e1aae4e5480aa451354a7182f5d8417448e963e589c0619fc" }, "downloads": -1, "filename": "django-almastorage-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e7f69789c34e8dc6d53bdbac7b773c65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4396, "upload_time": "2015-04-30T11:07:03", "url": "https://files.pythonhosted.org/packages/3f/7e/fa3b430a6a58956743bd83ff18ef1694949772933d7a1cb30225a56a42f7/django-almastorage-0.0.2.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "f972a13e9ffb45ae072a191618c8a91c", "sha256": "b92add350eba9e287614c9cdeb0d0d42e491848eb3eb6f381892fcc613aaa047" }, "downloads": -1, "filename": "django-almastorage-0.1.tar.gz", "has_sig": false, "md5_digest": "f972a13e9ffb45ae072a191618c8a91c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6317, "upload_time": "2015-05-04T08:25:52", "url": "https://files.pythonhosted.org/packages/41/4f/97d787eee70536f448380503049e8453869f68b7516a9d2c77e22884522a/django-almastorage-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "cd8c9dd84e5f1048bc1883d65224de7c", "sha256": "faea3c6a3a9b7dcd144ef1b910731ba3e24d5db2b207089e0449c6371de0fce4" }, "downloads": -1, "filename": "django-almastorage-0.1.1.tar.gz", "has_sig": false, "md5_digest": "cd8c9dd84e5f1048bc1883d65224de7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6752, "upload_time": "2015-05-06T09:48:46", "url": "https://files.pythonhosted.org/packages/69/24/3b6818c3dc31e1bf7065edc750aab5f48b04bff64eb15be90a412e35e014/django-almastorage-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "afc068530b4e3b17af9f63900353d6f3", "sha256": "018eb5af553d18d01f5c8c66a25ce1d02395bf584a8d53986fa7fe4ffe5a2c08" }, "downloads": -1, "filename": "django-almastorage-0.1.2.tar.gz", "has_sig": false, "md5_digest": "afc068530b4e3b17af9f63900353d6f3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6806, "upload_time": "2015-05-06T10:44:07", "url": "https://files.pythonhosted.org/packages/f9/bf/7d3dfe66e1702e4a58b780e1966f76f163e8e8fd81a4664744ecd8157666/django-almastorage-0.1.2.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "cbb8f865693252f3afba5ea03b42e8d9", "sha256": "78cd9a7d986325315766f8b3ef20deb7145dee1942644034f4f5e6881dd3eae6" }, "downloads": -1, "filename": "django-almastorage-0.2.tar.gz", "has_sig": false, "md5_digest": "cbb8f865693252f3afba5ea03b42e8d9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6051, "upload_time": "2015-05-21T08:40:43", "url": "https://files.pythonhosted.org/packages/ef/e5/2e174b5a343cede0e08a0867cf9c8abe6be696954e3b7c06f488999b33f0/django-almastorage-0.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "bd07b2e1d0c5577e84502afb6e187a83", "sha256": "13e3176f96d2b1903ede6408c2b4883cab732411cae724042cd394949075c449" }, "downloads": -1, "filename": "django-almastorage-0.2.3.tar.gz", "has_sig": false, "md5_digest": "bd07b2e1d0c5577e84502afb6e187a83", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10583, "upload_time": "2015-05-29T06:36:41", "url": "https://files.pythonhosted.org/packages/a8/fb/944727f24df39026ba10e3b1fdad629c8a237a01cd3d080e6d2f80dd8fe8/django-almastorage-0.2.3.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e0341145dc722811a2985bceccacb8fc", "sha256": "302a5ca3c4e7fa2b37ebc7f1e06a2c51f1b63b4f7b3b5180a9eda0d5597a389f" }, "downloads": -1, "filename": "django-almastorage-0.3.tar.gz", "has_sig": false, "md5_digest": "e0341145dc722811a2985bceccacb8fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13490, "upload_time": "2015-08-19T06:51:58", "url": "https://files.pythonhosted.org/packages/92/a7/61931641cd93f367ea0efc461c2dd1165fbba7dd93359b3d1215d67689e6/django-almastorage-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "1d395d3b9e311602977bf2907c971c25", "sha256": "787c0883109c9664aeb62c4a86253953e5ef8a2fc92a94eb09ea33752a0ab7f3" }, "downloads": -1, "filename": "django-almastorage-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1d395d3b9e311602977bf2907c971c25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13544, "upload_time": "2015-08-27T09:29:53", "url": "https://files.pythonhosted.org/packages/09/39/79b7a7cb60699d055176d0686b1bb4c39a63b335fefecb9a8dd99eda5c76/django-almastorage-0.3.1.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "57825cf599b2266d13be1e700fe3c525", "sha256": "e32da9d90e142b9b6692097261fe89e9ee5f96b69026607d2f0ed37fe4c5c019" }, "downloads": -1, "filename": "django-almastorage-0.4.tar.gz", "has_sig": false, "md5_digest": "57825cf599b2266d13be1e700fe3c525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12704, "upload_time": "2015-09-22T05:17:52", "url": "https://files.pythonhosted.org/packages/2b/e3/035bee5a9c6d949ff8091397ff68ae0758e2f19cfb3a7ebf324c13ce5011/django-almastorage-0.4.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "74d3daff14dd6b1812c1e8b16b31d29e", "sha256": "7bcd7cb2bd9fc97b62c4b97343c94f2481091ec7548478ea5b2617f868a5e265" }, "downloads": -1, "filename": "django-almastorage-0.4.1.tar.gz", "has_sig": false, "md5_digest": "74d3daff14dd6b1812c1e8b16b31d29e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13270, "upload_time": "2015-10-13T06:12:48", "url": "https://files.pythonhosted.org/packages/f7/12/2c7181ea65748c5269c1ec3195a379255290bd18f6c6763ffea215e1e65b/django-almastorage-0.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "74d3daff14dd6b1812c1e8b16b31d29e", "sha256": "7bcd7cb2bd9fc97b62c4b97343c94f2481091ec7548478ea5b2617f868a5e265" }, "downloads": -1, "filename": "django-almastorage-0.4.1.tar.gz", "has_sig": false, "md5_digest": "74d3daff14dd6b1812c1e8b16b31d29e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13270, "upload_time": "2015-10-13T06:12:48", "url": "https://files.pythonhosted.org/packages/f7/12/2c7181ea65748c5269c1ec3195a379255290bd18f6c6763ffea215e1e65b/django-almastorage-0.4.1.tar.gz" } ] }