{ "info": { "author": "Martin Mahner", "author_email": "raphael.barrois+xelpaste@polytechnique.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4" ], "description": "========\nxelpaste\n========\n\n\nxelpaste is a Django based pastebin, based on the `dpaste `_ project.\nIt's intended to run separately but it is also possible to be installed into an existing Django project like a regular app.\n\nYou can find a live example on http://xelpaste.org/.\n\n\nInstallation\n============\n\nYou may install this software from your distribution packages, or through pip:\n\n.. code-block:: sh\n\n $ pip install xelpaste\n\nOnce installed, you must configure it.\nThe minimal set of settings is the ``[db]`` section of the ``/etc/xelpaste/config.ini`` file (see below for details).\n\nOnce this is configured, you must prepare the database:\n\n.. code-block:: sh\n\n $ xelpastectl migrate\n\nThis will create the database; the last step is to point your WSGI server to ``xelpaste.wsgi``.\n\n\nConfiguration\n=============\n\nXelpaste will read all configuration files matching ``/etc/xelpaste/*.ini``.\nThose are ini-style files, defining the following parameters:\n\n\nApplication (``[app]``)\n-----------------------\n\nGeneral behavior of the application.\n\nOptions:\n\n``mode``\n ``str``, the application mode.\n Use ``dev`` for local development and ``prod`` otherwise.\n\n``debug``\n ``bool``, whether to enable debug.\n Valid values: ``on``, ``off``\n\n``secret_key``\n ``str``, **REQUIRED** in ``prod`` mode.\n A secret key for Django security hooks\n\n\nSite (``[site]``)\n-----------------\n\nHosting and URLs.\n\nOptions:\n\n``name``\n ``str``, the name of your site (``xelpaste``, ``mypaster``, ...).\n\n``base_url``\n ``str``, where your site is hosted.\n A trailing slash is **required**.\n\n``assets_url``\n ``str``, the URL where assets (CSS, JS, ...) are served.\n May be a relative URL.\n\n``admin_mail``\n ``str``, the email where the admin should be notified.\n\n``allowed_hosts``\n ``str list``, comma-separated list of valid ``Host:`` HTTP headers.\n See Django docs for details.\n\n\nDatabase (``[db]``)\n-------------------\n\nRequired; these define where snippets will be stored.\nValid options are:\n\n``engine``\n ``str``, the engine to choose.\n Must be one of ``sqlite``, ``mysql``, ``postgresql``; default is ``sqlite``.\n\n``name``\n ``str``, the name of the database, or its path for sqlite.\n Defaults to ``/var/lib/xelpaste/db.sqlite``.\n\n``host``\n ``str``, the host of the database server.\n\n``port``\n ``int``, the port of the database server.\n\n``user``\n ``str``, the login to use to connect to the database server.\n\n``password``\n ``str``, the password for the database\n\n\nExamples:\n\n.. code-block:: ini\n\n ; A Postgresql configuration; uses default psql port.\n [db]\n engine = postgresql\n name = xelpaste\n host = psql42.local\n\n.. code-block:: ini\n\n ; A sample sqlite configuration.\n [db]\n engine = sqlite\n name = /data/replicated/xelpaste/db.sqlite\n\n\nSnippets (``[snippets]``)\n-------------------------\n\nOptions for snippets behavior.\n\n``slug_length``\n ``int``, the length of the snippet tags.\n\n``max_content``\n ``size``, the maximum size of code snippets.\n Valid values include ``10kB``, ``2MB``, ...\n\n``max_file``\n ``size``, the maximum size for uploads\n Valid values include ``10kB``, ``2MB``, ...\n\n\nUploads (``[uploads]``)\n-----------------------\n\nOptions related to private file uploads.\n\n``dir``\n ``path``, storage folder for uploads.\n Must be writable by the WSGI process.\n\n Example: ``/var/www/xelpaste/uploads``\n\n``serve``\n ``str``, the file serving mode.\n ``xelpaste`` relies on `django-sendfile `_\n to enhance performance and protection.\n\n Valid options: ``simple``, ``nginx``, ``xsendfile``, ``mod_wsgi``.\n\n``internal_url``\n ``str``, the internal URL used by django-sendfile to serve the files.\n\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/rbarrois/xelpaste/", "keywords": "xelpaste,dpaste,pastebin", "license": "MIT", "maintainer": "Rapha\u00ebl Barrois", "maintainer_email": "raphael.barrois+xelpaste@polytechnique.org", "name": "xelpaste", "package_url": "https://pypi.org/project/xelpaste/", "platform": "", "project_url": "https://pypi.org/project/xelpaste/", "project_urls": { "Homepage": "https://github.com/rbarrois/xelpaste/" }, "release_url": "https://pypi.org/project/xelpaste/3.1.1/", "requires_dist": [ "Django (<3.0,>=2.0)", "django-mptt (<0.10,>=0.9.1)", "pygments (<2.3,>=2.2.0)", "django-appconf (<1.1,>=1.0.1)", "django-sendfile (<0.4,>=0.3.9)", "getconf (<2,>=1.3.0)" ], "requires_python": "", "summary": "Standalone, django-based pastebin with image support.", "version": "3.1.1" }, "last_serial": 4239341, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "dd8ae32790a0b59a8272d8d939a925e5", "sha256": "f78205dce1066bcf37e0caae648a4b87759727a747ab8e3da2ba34c41447eb07" }, "downloads": -1, "filename": "xelpaste-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dd8ae32790a0b59a8272d8d939a925e5", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 1076937, "upload_time": "2015-08-13T22:44:21", "url": "https://files.pythonhosted.org/packages/2e/d2/fcc888e103468dae8950512a73740e36ac1f705697e292ee4b01fed878d5/xelpaste-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "520691c4e60595efc9a9108a6a3179af", "sha256": "3ab60cbf899a30a1aa6bba45e2f04fa9dbf5b9ea67ba0b6cf672c887eb61f020" }, "downloads": -1, "filename": "xelpaste-1.0.0.tar.gz", "has_sig": false, "md5_digest": "520691c4e60595efc9a9108a6a3179af", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1046095, "upload_time": "2015-08-13T22:44:16", "url": "https://files.pythonhosted.org/packages/12/96/f77d640889859f3597549891a0197b6fdb39958e6be69881a271ab5280b4/xelpaste-1.0.0.tar.gz" } ], "3.0.1": [ { "comment_text": "", "digests": { "md5": "73befd4fedfa4e2d9f4716c87737637b", "sha256": "9494f89666d22ef05bc865446278033029bb6320f52a75459a7736a9385578ce" }, "downloads": -1, "filename": "xelpaste-3.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "73befd4fedfa4e2d9f4716c87737637b", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 1077407, "upload_time": "2015-08-14T23:31:04", "url": "https://files.pythonhosted.org/packages/3d/5a/31ce10c1d9c30669aa9011cd66a01b8628e5dc37ae19eace4506ece2b2a0/xelpaste-3.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d02a6ab4652a524c1935a3c18cddb634", "sha256": "d99d7517a5556212db171cf3254a334525a0bcbe124d12e2dbb233513aa3519e" }, "downloads": -1, "filename": "xelpaste-3.0.1.tar.gz", "has_sig": false, "md5_digest": "d02a6ab4652a524c1935a3c18cddb634", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1046341, "upload_time": "2015-08-14T23:30:58", "url": "https://files.pythonhosted.org/packages/52/2a/240c2bd8730b2934c4a2277b8b1e1986b58829159121b2519fc4afc8ad73/xelpaste-3.0.1.tar.gz" } ], "3.1.0": [ { "comment_text": "", "digests": { "md5": "f1f5c53f0ea35f17447bf826e98fe307", "sha256": "e90b7fb45a03bf1c739555d614018c79897087bdb71c4bea21e7866758e7a7d9" }, "downloads": -1, "filename": "xelpaste-3.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f1f5c53f0ea35f17447bf826e98fe307", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1109963, "upload_time": "2018-09-04T21:56:26", "url": "https://files.pythonhosted.org/packages/8b/cf/c4b524b49e0f7f0523fe7a36092f724579a45a6d0b34f0d44517bea19b22/xelpaste-3.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "712bc7fe2cb4b88e413af3d13d70d7c3", "sha256": "405950cc1e4d8c42e4bc7d42b387cf52914ec198d7fcaf4f1269cb0c7bc5249d" }, "downloads": -1, "filename": "xelpaste-3.1.0.tar.gz", "has_sig": false, "md5_digest": "712bc7fe2cb4b88e413af3d13d70d7c3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1072162, "upload_time": "2018-09-04T21:56:29", "url": "https://files.pythonhosted.org/packages/bc/a5/0459e7070423aa16e966d3a3f675a4ba48cb209ebab9ccdb8ab8d19a9fbe/xelpaste-3.1.0.tar.gz" } ], "3.1.1": [ { "comment_text": "", "digests": { "md5": "b72ddb921f6c1ea4d1ff76b5b42af075", "sha256": "4e9974c91234dbd3a23c76526594d86fe926fe0afa3cd0bb5f08378c30d9936c" }, "downloads": -1, "filename": "xelpaste-3.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b72ddb921f6c1ea4d1ff76b5b42af075", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1111024, "upload_time": "2018-09-04T23:05:58", "url": "https://files.pythonhosted.org/packages/83/b9/ca828b0198c13e1355bd256317cce6a416da94508d64e0e0c51c77ece18c/xelpaste-3.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c939878898abba135945f134d3469f47", "sha256": "e016cc7d99b3cb26eddd00294534070cf0edceabf8e913e2f49609702bf93660" }, "downloads": -1, "filename": "xelpaste-3.1.1.tar.gz", "has_sig": false, "md5_digest": "c939878898abba135945f134d3469f47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38638, "upload_time": "2018-09-04T23:06:00", "url": "https://files.pythonhosted.org/packages/57/ea/db20cb1c6f4e7f98e2abe134ef57cd4645113bcf17fbfa283c172437fb77/xelpaste-3.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b72ddb921f6c1ea4d1ff76b5b42af075", "sha256": "4e9974c91234dbd3a23c76526594d86fe926fe0afa3cd0bb5f08378c30d9936c" }, "downloads": -1, "filename": "xelpaste-3.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b72ddb921f6c1ea4d1ff76b5b42af075", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 1111024, "upload_time": "2018-09-04T23:05:58", "url": "https://files.pythonhosted.org/packages/83/b9/ca828b0198c13e1355bd256317cce6a416da94508d64e0e0c51c77ece18c/xelpaste-3.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c939878898abba135945f134d3469f47", "sha256": "e016cc7d99b3cb26eddd00294534070cf0edceabf8e913e2f49609702bf93660" }, "downloads": -1, "filename": "xelpaste-3.1.1.tar.gz", "has_sig": false, "md5_digest": "c939878898abba135945f134d3469f47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 38638, "upload_time": "2018-09-04T23:06:00", "url": "https://files.pythonhosted.org/packages/57/ea/db20cb1c6f4e7f98e2abe134ef57cd4645113bcf17fbfa283c172437fb77/xelpaste-3.1.1.tar.gz" } ] }