{ "info": { "author": "Thomas Bouve (@crahan)", "author_email": "crahan@n00.be", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# ipyfilechooser\n\nA simple Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets. The selected path and file are available via `.selected_path` and `.selected_filename` respectvely or as a single combined filepath via `.selected`. The dialog can be reset to its default path and filename by using `.reset()`. \n\nWhen a typed filename matches an existing file entry in the current folder the entry will be highlighted. To emphasize the risk of overwriting existing files, the selected filepath is displayed in green if the file does not exist and orange if it does.\n\n## Usage\n\n```\nfrom ipyfilechooser import FileChooser\n\n# Create and display a FileChooser widget\nfc = FileChooser('/Users/crahan/FC demo')\ndisplay(fc)\n\n# Print the selected path, filename, or both\nprint(fc.selected_path)\nprint(fc.selected_filename)\nprint(fc.selected)\n\n# Change defaults and reset the dialog\nfc.default_path = '/Users/crahan/'\nfc.default_filename = 'output.txt'\nfc.reset()\n\n# Shorthand reset\nfc.reset(path='/Users/crahan/', filename='output.txt')\n\n# Change hidden files\nfc.show_hidden = True\n\n# Change the title (use '' to hide)\nfc.title = 'FileChooser title'\n```\n\n## Functions and variables\n\n```\nfc.reset()\nfc.refresh()\nfc.show_hidden\nfc.rows\nfc.title\nfc.default\nfc.default_path\nfc.default_filename\nfc.selected\nfc.selected_path\nfc.selected_filename\n```\n\n## Screenshots\n\n### Closed vs open dialog\n\n![Screenshot 1](https://github.com/crahan/ipyfilechooser/raw/master/screenshots/FileChooser_screenshot_1.png)\n\n![Screenshot 2](https://github.com/crahan/ipyfilechooser/raw/master/screenshots/FileChooser_screenshot_2.png)\n\n### Existing vs new file selection\n\n![Screenshot 3](https://github.com/crahan/ipyfilechooser/raw/master/screenshots/FileChooser_screenshot_3.png)\n\n![Screenshot 4](https://github.com/crahan/ipyfilechooser/raw/master/screenshots/FileChooser_screenshot_4.png)\n\n### Quick navigation dropdown\n\n![Screenshot 5](https://github.com/crahan/ipyfilechooser/raw/master/screenshots/FileChooser_screenshot_5.png)\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/crahan/ipyfilechooser", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ipyfilechooser", "package_url": "https://pypi.org/project/ipyfilechooser/", "platform": "", "project_url": "https://pypi.org/project/ipyfilechooser/", "project_urls": { "Homepage": "https://github.com/crahan/ipyfilechooser" }, "release_url": "https://pypi.org/project/ipyfilechooser/0.2.0/", "requires_dist": [ "ipywidgets" ], "requires_python": "", "summary": "Python file chooser widget for use in Jupyter/IPython in conjunction with ipywidgets", "version": "0.2.0" }, "last_serial": 5414481, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "4f55bd0c09c9899af224de0c05ca150f", "sha256": "1454199cbdc1378e68ac4154be44d0164457ad57fad89b728f597fafb7e7d4aa" }, "downloads": -1, "filename": "ipyfilechooser-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "4f55bd0c09c9899af224de0c05ca150f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5869, "upload_time": "2019-04-17T20:51:33", "url": "https://files.pythonhosted.org/packages/37/a5/b15bc34e7457ceb85e4c815c96f747e03dc80fa40f904d38cd80d2f03b08/ipyfilechooser-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ff4bf6d1580381b5a399d9778421e7d0", "sha256": "473bb1aa3d4bf24ed0e232bea3fa36c2edef42c1b1eb72422c5bbf6ef26c8cb5" }, "downloads": -1, "filename": "ipyfilechooser-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ff4bf6d1580381b5a399d9778421e7d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4450, "upload_time": "2019-04-17T20:51:35", "url": "https://files.pythonhosted.org/packages/5b/a2/ae8bd6901b85f5d3af925afaeb057a58803d7dc22f004003b55955d6f78c/ipyfilechooser-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "427e4c5b1a638bd1e068aa84f06ea861", "sha256": "469a5825bdaa5d42b5abc7ee1fcb94a6e2cf1f55bab7f5a5a55bd1653a57d04f" }, "downloads": -1, "filename": "ipyfilechooser-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "427e4c5b1a638bd1e068aa84f06ea861", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6035, "upload_time": "2019-06-18T10:30:18", "url": "https://files.pythonhosted.org/packages/8d/2b/7b38d24c041fdb3e47bec9aa7fdcf8125690ee1491ca8c01694ef9025929/ipyfilechooser-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aee20a77d1d5ff5959410fe6345e9796", "sha256": "fac3916fd55f92a4c85a0887432224b81762993168a693ddcae826013f0a80de" }, "downloads": -1, "filename": "ipyfilechooser-0.2.0.tar.gz", "has_sig": false, "md5_digest": "aee20a77d1d5ff5959410fe6345e9796", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4616, "upload_time": "2019-06-18T10:30:20", "url": "https://files.pythonhosted.org/packages/f1/1a/eadb77e8b025261bf056f0aea3c1129b8d0ac74610be8790ed8a3c9a9c29/ipyfilechooser-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "427e4c5b1a638bd1e068aa84f06ea861", "sha256": "469a5825bdaa5d42b5abc7ee1fcb94a6e2cf1f55bab7f5a5a55bd1653a57d04f" }, "downloads": -1, "filename": "ipyfilechooser-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "427e4c5b1a638bd1e068aa84f06ea861", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6035, "upload_time": "2019-06-18T10:30:18", "url": "https://files.pythonhosted.org/packages/8d/2b/7b38d24c041fdb3e47bec9aa7fdcf8125690ee1491ca8c01694ef9025929/ipyfilechooser-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "aee20a77d1d5ff5959410fe6345e9796", "sha256": "fac3916fd55f92a4c85a0887432224b81762993168a693ddcae826013f0a80de" }, "downloads": -1, "filename": "ipyfilechooser-0.2.0.tar.gz", "has_sig": false, "md5_digest": "aee20a77d1d5ff5959410fe6345e9796", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4616, "upload_time": "2019-06-18T10:30:20", "url": "https://files.pythonhosted.org/packages/f1/1a/eadb77e8b025261bf056f0aea3c1129b8d0ac74610be8790ed8a3c9a9c29/ipyfilechooser-0.2.0.tar.gz" } ] }