{ "info": { "author": "Derek Adair", "author_email": "d@derekadair.com", "bugtrack_url": null, "classifiers": [], "description": "Phial API\n==================\n\nPhial API is a project that exposes a consistant way to interact with multiple storage engines. It leverages [django-rest-framework](https://github.com/tomchristie/django-rest-framework) for file uploading, parsing and all the goodies that DRF offers, as well as django storages to add to django's storage engine's.\n\n**With Fig/Docker**\n\n # Grab the code\n git clone git@github.com:derek-adair/flex-api.git && cd flex-api\n # spin up the initial containers (this should throw some db errors, django isn't installed)\n fig up\n # Create a throw-away container and install django / app tables / super user\n fig run --rm web syncdb\n # re-create containers\n fig up\n #App should be running on localhost:8080 via forwarded docker port.\n\n**Manual setup**\n\nIf you insist on building this manually, be my guest, but its by far easier to learn/install/use Docker and fig. Before you can do this I'd suggest working in [virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/) with python-2.7.\n\nInstall psql/psychopg2 deps on Ubuntu (look [here](https://wiki.postgresql.org/wiki/Detailed_installation_guides) for other instuctions):\n```\n DEBIAN_FRONTEND=noninteractive && \\\n apt-get update -y && \\\n apt-get install -y libpq-dev\n```\nInstall python packages\n```\n pip install -r requirements.txt\n``` \nSet env variables\n\n```\n export AWS_UPLOAD_CLIENT_SECRET_KEY='keep me secret!'\n export AWS_UPLOAD_CLIENT_KEY='who cares if i am secret'\n #not the entire ARN resource, just the bucket name\n export AWS_EXPECTED_BUCKET='your-bucket'\n export AWS_EXPECTED_SIZE='XXXX'\n```\nSync/Run it...\n```\n ./manage.py migrate\n ./manage.py collectstatic\n ./manage.py runserver 0.0.0.0:8080\n``` \n\n\n.. :changelog:\n\nHistory\n=======\n\n0.0.1 (2015-03-30)\n------------------\n\n- Initial pre-alpha release.\n\n\n\nCredits\n=======\n\n\u201cphial_api\u201d is written and maintained by Derk Adair.\n\n\nContributors\n------------\n\nThe following wonderful people contributed directly or indirectly to this project:\n\n- `Derek Adair `_\n\nPlease add yourself here alphabetically when you submit your first pull request.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/derek-adair/phial-api", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "phialapi", "package_url": "https://pypi.org/project/phialapi/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/phialapi/", "project_urls": { "Homepage": "http://github.com/derek-adair/phial-api" }, "release_url": "https://pypi.org/project/phialapi/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Simple django-rest implementation to store files in a plethora of storage engines", "version": "0.0.2" }, "last_serial": 1490131, "releases": { "0.0.1": [], "0.0.2": [ { "comment_text": "", "digests": { "md5": "016ff15a7bc40d7ef1cd0a1fd95f1f40", "sha256": "4264839f6f7dbef7d2cd554fd429c65b9018dfce440f02351729de05eb9db022" }, "downloads": -1, "filename": "phialapi-0.0.2.tar.gz", "has_sig": false, "md5_digest": "016ff15a7bc40d7ef1cd0a1fd95f1f40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18189, "upload_time": "2015-04-03T20:59:24", "url": "https://files.pythonhosted.org/packages/d9/3f/d5e37e38d2302dbe5000e5e8b8936b461867ac0fb895e6a4e8cec983bf7a/phialapi-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "016ff15a7bc40d7ef1cd0a1fd95f1f40", "sha256": "4264839f6f7dbef7d2cd554fd429c65b9018dfce440f02351729de05eb9db022" }, "downloads": -1, "filename": "phialapi-0.0.2.tar.gz", "has_sig": false, "md5_digest": "016ff15a7bc40d7ef1cd0a1fd95f1f40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18189, "upload_time": "2015-04-03T20:59:24", "url": "https://files.pythonhosted.org/packages/d9/3f/d5e37e38d2302dbe5000e5e8b8936b461867ac0fb895e6a4e8cec983bf7a/phialapi-0.0.2.tar.gz" } ] }