{ "info": { "author": "Pierre Walch", "author_email": "contact@pwal.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3.6", "Topic :: Communications :: File Sharing" ], "description": "# share-file-qr\n\n![PyPI](https://img.shields.io/pypi/v/share-file-qr.svg)\n\nShare files from the terminal of your computer to a smartphone by scanning a QR code.\n\nThis repo is a Python re-implementation of the original [Go version](https://github.com/claudiodangelis/qr-filetransfer)\nby [Claudio d'Angelis](https://claudiodangelis.com/).\n\n## Installation\n\nFancy installation (recommended):\n* `pipsi install share-file-qr`\n\nPip installation:\n* `pip install share-file-qr`\n\n## Principle\n\nThe principle is the same as in the Go version:\n1. you give a file to the tool\n2. the tool serves this file with HTTP server\n3. the tool gives you a QR code leading to the URL pointing to the server\n and the file on the local network\n4. you scan the QR code with your smartphone and get the URL to your file\n5. you open the URL with your smartphone's web browser, and download starts\n6. you stop the tool\n\n## Usage\n\nFirst, make sure your computer and your smartphone are connected to the same local\nnetwork. This is in general the case if they are connected to the same Wifi box. If you\nhave doubts, check their IP addresses. Please also be aware that this tool does not\nwork with IPv6.\n\nOnce connectivity issues are solved, run the tool by providing a file:\n\n```\n\u279c share-file-qr README.md \n\n\u00a0\u00a0\u00a0\u00a0\u2588\u2580\u2580\u2580\u2580\u2580\u2588\u00a0\u00a0\u2588\u00a0\u2588\u2584\u00a0\u00a0\u2580\u2580\u2584\u2584\u00a0\u2588\u00a0\u2588\u2580\u2580\u2580\u2580\u2580\u2588\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u00a0\u2588\u2588\u2588\u00a0\u2588\u00a0\u2588\u2584\u2580\u2584\u2588\u00a0\u2580\u00a0\u2588\u00a0\u2580\u2588\u2580\u00a0\u2588\u00a0\u2588\u2588\u2588\u00a0\u2588\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u00a0\u2580\u2580\u2580\u00a0\u2588\u00a0\u2588\u00a0\u2588\u2588\u2580\u2588\u2588\u2588\u2584\u00a0\u2580\u2580\u2584\u00a0\u2588\u00a0\u2580\u2580\u2580\u00a0\u2588\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u00a0\u2588\u2584\u2588\u00a0\u2580\u2584\u2580\u2584\u2580\u00a0\u2580\u00a0\u2588\u00a0\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2580\u00a0\u2580\u2588\u2580\u2580\u2580\u2584\u2584\u2588\u2580\u2584\u00a0\u00a0\u2580\u2588\u2584\u00a0\u2584\u2584\u2584\u00a0\u2588\u2580\u2588\u2588\u2588\u2584\u2584\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u2584\u2588\u2584\u2580\u2580\u2580\u2580\u2584\u2588\u2580\u2580\u00a0\u00a0\u2584\u00a0\u2584\u00a0\u2580\u00a0\u2584\u2584\u00a0\u00a0\u00a0\u00a0\u2580\u2588\u2584\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u2588\u2580\u2580\u2588\u2588\u2580\u2588\u00a0\u2584\u2580\u2584\u2580\u2584\u2584\u2584\u2580\u00a0\u2584\u2588\u2584\u2580\u2584\u2580\u2584\u2580\u2580\u2580\u2584\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u2580\u2580\u2588\u2588\u2588\u2580\u2588\u2580\u2584\u00a0\u2584\u2588\u2588\u2580\u2588\u2580\u00a0\u2584\u00a0\u2580\u2588\u00a0\u00a0\u2584\u2580\u00a0\u2580\u00a0\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u2580\u2584\u2588\u00a0\u00a0\u2580\u00a0\u2580\u00a0\u2584\u2584\u2588\u00a0\u2580\u2588\u2584\u2584\u2584\u2588\u2584\u2580\u2584\u2580\u2584\u2588\u2580\u2580\u2588\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u00a0\u00a0\u2580\u2584\u00a0\u2580\u2584\u2588\u2588\u2580\u2584\u00a0\u00a0\u2584\u00a0\u2584\u00a0\u00a0\u2584\u2584\u2588\u00a0\u2584\u00a0\u00a0\u2580\u2580\u00a0\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2580\u00a0\u2580\u00a0\u00a0\u00a0\u2580\u2580\u2588\u2584\u2588\u2584\u2580\u2584\u2584\u2584\u00a0\u00a0\u2584\u00a0\u2588\u2580\u2580\u2580\u2588\u2580\u2588\u2580\u2584\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u2580\u2580\u2580\u2580\u2580\u2588\u00a0\u2584\u2580\u2584\u2580\u00a0\u2588\u2580\u2588\u2584\u00a0\u00a0\u2588\u2588\u00a0\u2580\u00a0\u2588\u00a0\u00a0\u2580\u2584\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u00a0\u2588\u2588\u2588\u00a0\u2588\u00a0\u2588\u2588\u2584\u2584\u2588\u00a0\u2580\u2580\u2584\u2588\u2588\u2584\u2588\u2588\u2580\u2580\u2580\u2584\u2588\u00a0\u2580\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2588\u00a0\u2580\u2580\u2580\u00a0\u2588\u00a0\u2580\u2588\u2588\u2584\u2588\u2580\u2588\u2588\u2588\u2580\u2584\u2580\u2588\u2584\u2580\u00a0\u2588\u00a0\u2580\u2588\u00a0\u00a0\u00a0\u00a0\u00a0\n\u00a0\u00a0\u00a0\u00a0\u2580\u2580\u2580\u2580\u2580\u2580\u2580\u00a0\u2580\u2580\u00a0\u2580\u2580\u2580\u00a0\u00a0\u00a0\u2580\u00a0\u00a0\u00a0\u2580\u00a0\u00a0\u2580\u2580\u2580\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\nScan the QR code above to get the file on your phone.\nIf it does not work, try the --browser-display option.\n\nPress CTRL+C to exit once you get the file.\n```\n\nIn case your terminal does not render the QR code properly, try the `-b` option to\nget an SVG image to open in your browser:\n\n```\n\u279c share-file-qr -b README.md\nClick on this SVG image link to display the QR code to scan:\nhttp://192.168.0.2:4000/qrcode.svg\n\nPress CTRL+C to exit once you got the file.\n```\n\nAt this point, you should have a QR code displayed directly in your terminal, or in\nyour computer's browser as an SVG image.\n\nOnce you have a QR code (either directly from the terminal or from your computer's\nbrowser) scan it with your smartphone to get a URL to the file and download it in\nyour web browser. Depending on your phone's OS you may have to scan the QR\ncode differently:\n* iOS, use the standard camera app\n* Android: try [QR Code Scanner](https://play.google.com/store/apps/details?id=me.scan.android.client)\n by [Scan](https://www.scan.me/)\n\n## License\n\nGPLv3\n\n## Authors\n\nThis Python tool was implemented by [Pierre Walch](http://pwal.ch),\nbased on ideas from a Go project by [Claudio d'Angelis](https://github.com/claudiodangelis/qr-filetransfer).", "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/pwalch/share-file-qr", "keywords": "qr code smartphone share file", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "share-file-qr", "package_url": "https://pypi.org/project/share-file-qr/", "platform": "", "project_url": "https://pypi.org/project/share-file-qr/", "project_urls": { "Homepage": "https://github.com/pwalch/share-file-qr" }, "release_url": "https://pypi.org/project/share-file-qr/0.1.2/", "requires_dist": null, "requires_python": ">=3.6", "summary": "Share files from the terminal of your computer to a smartphone by scanning a QR code.", "version": "0.1.2" }, "last_serial": 3704205, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "40a149dbec038e8049138930f4e133fc", "sha256": "621a6758afa6fd5581f6ead4c2c189c9ea860fc82ae2570b804c867f335d7b0f" }, "downloads": -1, "filename": "share-file-qr-0.1.2.tar.gz", "has_sig": false, "md5_digest": "40a149dbec038e8049138930f4e133fc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 17803, "upload_time": "2018-03-25T19:35:38", "url": "https://files.pythonhosted.org/packages/24/48/7103e15bfb80998391f0b99781793bbe4803095868f5258eed218648117c/share-file-qr-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "40a149dbec038e8049138930f4e133fc", "sha256": "621a6758afa6fd5581f6ead4c2c189c9ea860fc82ae2570b804c867f335d7b0f" }, "downloads": -1, "filename": "share-file-qr-0.1.2.tar.gz", "has_sig": false, "md5_digest": "40a149dbec038e8049138930f4e133fc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 17803, "upload_time": "2018-03-25T19:35:38", "url": "https://files.pythonhosted.org/packages/24/48/7103e15bfb80998391f0b99781793bbe4803095868f5258eed218648117c/share-file-qr-0.1.2.tar.gz" } ] }