{ "info": { "author": "Abolfazl Amiri", "author_email": "aa.smpro@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.1", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3 :: Only", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# django smart share\na simple django app for sharing files over http / https.\n\n> attention :\n>\n> on test, not bug free.\n> i just started this project for fun, so will be glad if you use and report issues on this project.\n\n\n## Requirements\n* python >= 3.5\n* django >= 2\n\n## Installation\ninstall using `pip`:\n```\npip install djangosmartshare\n```\nadding `smartshare` to `INSTALLED_APPS` in `settings.py`:\n```python\nINSTALLED_APPS = [\n ...,\n 'smartshare',\n ...,\n]\n```\nincluding `smartshare.urls` in your project `urls.py`:\n```python\nfrom django.urls import path, include\n\nurlpatterns = [\n ...,\n path('', include('smartshare.urls')),\n ...,\n]\n```\nrunning `migrate` for making related database tables:\n```\npython3 manage.py migrate\n```\n\n## Features\nyou can simply share any directory on your local system over http / https, in short : just like a file browser.\n\nin `Location` model, by adding a new location, system will check if the path exist, so you can have following permissions separated for 3 different user types per each **Location** object. **Admins** , **Users** ( mean normal users ) and **Anonymouse Visitors** ( public ) :\n\n> attention : \n> 1. if you share a directory, inside another shared directory, neither **Base Directory** nor **Sub Directory** will not change each other permissions. the deepest available **Sub Directory** Location object permissions will be used for each directory.\n> 2. the root path **`/`** is not available.\n> 3. only directories path are allowed to be shared, not files.\n> 4. commands will run as logged-in user on local system, so even if a permission like **Can Delete** be **True**, on a directory that need superuser **sudo** permission, the command will not effect, for security reasons.\n\npermission | description\n------------|------------\nActive | wheather to show this directory for the allowed user or not.\nShow Files | user can view Files in directory. ( only view, nothing more )\nShow Directories | user can view Directories in directory.\nShow Hidden Files | same as Files, fore Hidden Files.\nShow Hidden Directories | same as Directories, for Hidden Directories\nCan Download | if this permission be `True`, user can download shared directory and it's subdirectories in compressed files as **zip**, **tar**, **tar.gz** and **tar.bz2**. an also user allowed to download any Files in directory and it's subdirectories.\nCan Upload | if this permission be `True`, user can upload Files in directory and it's subdirectories.\nCan Delete | if this permission be `True`, a **Delete** button will be showed for each subdirectories and files in directory, so user can delete them.\nCan Create | if this permission be `True`, an **Add** button will be showed for Directories and Files, so user can add new directory, or a file with it's content.\n\nthis app have a simple responsive front-end design, created using **Bootstrap 4** framework. by default, needed static files are in `static/css` and `static/js` directories outside of app directory for avoiding duplication. if you are planning to uses this app make sure to include these files or replacing `share/templates/base.html` styles and scripts with **Bootstrap 4** SDN.\n\nthis users are added for testing :\n\nusername | password | is superuser\n---------|----------|-------------\nadmin | adminadmin | yes\nuser | useruser | no\n\n## TO DO\nthis Features are planned to be added in next version :\n- [ ] adding **Run Command** ability.\n- [ ] adding **Copy** and **Move**.\n- [ ] adding **multi upload**.\n- [ ] adding **multi selecting** files and directories ability for Download or Delete.\n- [ ] adding **Preview** and **Edit** abilities.\n- [ ] adding **permissions** for duplicated files and directories while adding or uploading.\n- [ ] changing **dirs.html** template for adding **Upload**, **Delete**, **Add** forms.\n- [ ] rewriting **views** definitions.\n- [ ] rewriting responsive template for a better UX / UI.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aasmpro/djangosmartshare", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "djangosmartshare", "package_url": "https://pypi.org/project/djangosmartshare/", "platform": "", "project_url": "https://pypi.org/project/djangosmartshare/", "project_urls": { "Homepage": "https://github.com/aasmpro/djangosmartshare" }, "release_url": "https://pypi.org/project/djangosmartshare/0.8.8/", "requires_dist": null, "requires_python": "", "summary": "simple django app for sharing files over http / https.", "version": "0.8.8" }, "last_serial": 4332031, "releases": { "0.8.8": [ { "comment_text": "", "digests": { "md5": "38fbdddf168b5618254631dacbb7bbaa", "sha256": "91276ebcb1f4125aab59be1eaf0306469e524270cc94e15baf81f0e094bd671b" }, "downloads": -1, "filename": "djangosmartshare-0.8.8-py3-none-any.whl", "has_sig": false, "md5_digest": "38fbdddf168b5618254631dacbb7bbaa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 656793, "upload_time": "2018-10-02T10:22:37", "url": "https://files.pythonhosted.org/packages/19/85/1ed2a6945a8af36ecb340008c8c180d6a21bef5c18e3fa6492cf6f29213a/djangosmartshare-0.8.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a005af04d3ef83abf3bb2f0ff95ff9d", "sha256": "58def0f08c1d94d759b0e2349a3a6be77452648f6d90c595a8d613f5dd671d06" }, "downloads": -1, "filename": "djangosmartshare-0.8.8.tar.gz", "has_sig": false, "md5_digest": "9a005af04d3ef83abf3bb2f0ff95ff9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 642861, "upload_time": "2018-10-02T10:22:41", "url": "https://files.pythonhosted.org/packages/63/6a/a59db9b9ae70957e3808989c222719dfe52067dd0634e38115fe83c3cf82/djangosmartshare-0.8.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "38fbdddf168b5618254631dacbb7bbaa", "sha256": "91276ebcb1f4125aab59be1eaf0306469e524270cc94e15baf81f0e094bd671b" }, "downloads": -1, "filename": "djangosmartshare-0.8.8-py3-none-any.whl", "has_sig": false, "md5_digest": "38fbdddf168b5618254631dacbb7bbaa", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 656793, "upload_time": "2018-10-02T10:22:37", "url": "https://files.pythonhosted.org/packages/19/85/1ed2a6945a8af36ecb340008c8c180d6a21bef5c18e3fa6492cf6f29213a/djangosmartshare-0.8.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a005af04d3ef83abf3bb2f0ff95ff9d", "sha256": "58def0f08c1d94d759b0e2349a3a6be77452648f6d90c595a8d613f5dd671d06" }, "downloads": -1, "filename": "djangosmartshare-0.8.8.tar.gz", "has_sig": false, "md5_digest": "9a005af04d3ef83abf3bb2f0ff95ff9d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 642861, "upload_time": "2018-10-02T10:22:41", "url": "https://files.pythonhosted.org/packages/63/6a/a59db9b9ae70957e3808989c222719dfe52067dd0634e38115fe83c3cf82/djangosmartshare-0.8.8.tar.gz" } ] }