{ "info": { "author": "Idan Gazit", "author_email": "idan@pixane.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "##############\n django-scrup\n##############\n\nA django-based web receiver for Scrup_ which stores screencaptures on S3.\n\n.. _Scrup: http://github.com/rsms/scrup/\n\nFeatures\n========\n\n* Receives POST'ed images from scrup and uploads them to S3, and returns a valid URL\n for the image.\n\nThere are a few things on the roadmap:\n\n* Giving some consideration to security matters -- right now it's either HTTPS or\n nothing.\n* Exception handling.\n* Thumbnail generation and storage on S3\n* A web-based timeline showing your history of screenshot uploads so you can easily\n find an old screenshot you've uploaded.\n\nRequirements\n============\n\n#. Django_ (obviously).\n#. Boto_, the python frontend to AWS\n\n.. _Django: http://www.djangoproject.com\n.. _Boto: http://code.google.com/p/boto/\n\nInstallation\n============\n\nGetting django-scrup can be as easy as::\n\t\n\t$ pip install django-scrup\n\nin your favorite shell.\n\nIf you prefer to pull down and install the package yourself, you can always download or\ncheckout the `latest release`_ and install via the usual ``python setup.py install``.\n\n.. _`latest release`: http://github.com/idangazit/django-scrup\n\nConfiguration and Usage\n=======================\n\nFirst, add ``'scrup'`` to your ``INSTALLED_APPS``. Don't forget to ``./manage.py syncdb``!\n\nYou'll also need to define a few values in your ``settings.py``:\n\n``SCRUP_AWS_ACCESS_KEY``\n\tYour AWS access key.\n\n``SCRUP_AWS_SECRET_KEY``\n\tYour AWS secret key.\n\n``SCRUP_AWS_BUCKET``\n\tThe bucket in which django-scrup should store the uploaded screenshots. This must\n\tbe a bucket which is writeable by the AWS user identified by the above credentials.\n\tThis bucket should be **solely devoted to the use of django-scrup**, as the app will\n\tlikely barf if it tries to upload a file with the same name as an existing file.\n\tBy default, the uploaded files are stored in the root of the bucket, unless\n\t``SCRUP_AWS_PREFIX`` is specified.\n\n``SCRUP_AWS_PREFIX``\n\t**Optional.**\n\tA relative pathname to a folder within the bucket. If this value is specified,\n\tuploads will be copied to ``http://yourbucket.s3.amazonaws.com/``\n\n``SCRUP_AWS_CNAME``\n\t**Optional.**\n\tA boolean value indicating whether to use the bucketname as the domain of the\n\treturned screenshot URL. If you've created a CNAME for your bucket, set this to\n\t``True`` and the returned URLs will be of the form ``http:///foo`` vs.\n\t``http://.s3.amazonaws.com/foo``.\n\nNext, make sure to import ``django-scrup``'s urls. A line like the following in your\n``urls.py`` should do the trick::\n\n (r'^scrup/', include('scrup.urls')),\n\nFinally, plug the URL into Scrup's configuration. Obviously, this depends on your\nserver's domain and how you've chosen to setup ``django-scrup``'s urls. By default,\n``django-scrup`` accepts uploads at ``upload/``, where ```` is\noptional. Here's an example of the default URL scheme for ``mydomain.com``::\n\n\thttp://mydomain.com/scrup/upload/{filename}\n\nLicense\n=======\n\ndjango-scrup is made available under the terms of the `new BSD license`_. For the full\nlegal text, please consult the ``LICENSE.txt`` file included in the root of the source\ntree.\n\n.. _`new BSD license`: http://www.opensource.org/licenses/bsd-license.php", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/idangazit/django-scrup", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-scrup", "package_url": "https://pypi.org/project/django-scrup/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-scrup/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/idangazit/django-scrup" }, "release_url": "https://pypi.org/project/django-scrup/0.1/", "requires_dist": null, "requires_python": null, "summary": "A django-based web receiver for Scrup which stores screencaptures on S3.", "version": "0.1" }, "last_serial": 790548, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "57fd6ae4937098f678be0b06a77fb467", "sha256": "315194da111bdf57e3dc0767dc7c3043e3101b6dbcf4cb8fdc64cc1cb1e2985d" }, "downloads": -1, "filename": "django_scrup-0.1-py2.6.egg", "has_sig": false, "md5_digest": "57fd6ae4937098f678be0b06a77fb467", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 9180, "upload_time": "2010-03-08T23:45:25", "url": "https://files.pythonhosted.org/packages/be/8f/7490c77dccfb3c567025520b6a8b3f067027507078811297df0c920560b1/django_scrup-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "5e634fc66faffb44800eab0f45de71e9", "sha256": "9b4ba2b00bddc85c96bc3ccd952817a8f78ca3639818132b97f9daaa525612bf" }, "downloads": -1, "filename": "django-scrup-0.1.tar.gz", "has_sig": false, "md5_digest": "5e634fc66faffb44800eab0f45de71e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4779, "upload_time": "2010-03-08T23:45:24", "url": "https://files.pythonhosted.org/packages/7c/c7/e5be1b5f07fb49826c1ecbc055bb033282633c52b1b333d941713a54142e/django-scrup-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "57fd6ae4937098f678be0b06a77fb467", "sha256": "315194da111bdf57e3dc0767dc7c3043e3101b6dbcf4cb8fdc64cc1cb1e2985d" }, "downloads": -1, "filename": "django_scrup-0.1-py2.6.egg", "has_sig": false, "md5_digest": "57fd6ae4937098f678be0b06a77fb467", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 9180, "upload_time": "2010-03-08T23:45:25", "url": "https://files.pythonhosted.org/packages/be/8f/7490c77dccfb3c567025520b6a8b3f067027507078811297df0c920560b1/django_scrup-0.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "5e634fc66faffb44800eab0f45de71e9", "sha256": "9b4ba2b00bddc85c96bc3ccd952817a8f78ca3639818132b97f9daaa525612bf" }, "downloads": -1, "filename": "django-scrup-0.1.tar.gz", "has_sig": false, "md5_digest": "5e634fc66faffb44800eab0f45de71e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4779, "upload_time": "2010-03-08T23:45:24", "url": "https://files.pythonhosted.org/packages/7c/c7/e5be1b5f07fb49826c1ecbc055bb033282633c52b1b333d941713a54142e/django-scrup-0.1.tar.gz" } ] }