{ "info": { "author": "Idin K", "author_email": "py@idin.ca", "bugtrack_url": null, "classifiers": [], "description": "# Revelio\n\nRevelio is a Python library for interacting with the file system in an object oriented manner. I know you can use os and os.path to do all of these but I find their usage hard to remember and not very object oriented. \n\n# Installation\n\nYou can use pip to install Revelio.\n\n```bash\npip install revelio\n```\n\n# Usage\n\nRevelio is an object oriented interface for the file system. All files and directories (folders) are considered *Path* objects. Any path except the root, has a parent: the directory it is in. Directories have children, some of them are files and some are subdirectories.\n\n## Path\n\nUsually we want to start in the current working directory:\n\n```python\nfrom revelio import Path\ncurrent_directory = Path.get_current_directory()\n\n# ls or dir:\nprint(current_directory.list())\n\n# get the first subdirectory:\nfirst_subdirectory = current_directory.directories[0]\n\n# get the parent directory:\nparent_directory = current_directory.parent_directory\n```\n\n\n\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/idin/revelio", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "revelio", "package_url": "https://pypi.org/project/revelio/", "platform": "", "project_url": "https://pypi.org/project/revelio/", "project_urls": { "Homepage": "https://github.com/idin/revelio" }, "release_url": "https://pypi.org/project/revelio/0.1.1/", "requires_dist": null, "requires_python": "~=3.6", "summary": "Python library for interacting with the file system", "version": "0.1.1" }, "last_serial": 4690380, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "af3d20d89d138175cf3bdd5bf9249c2f", "sha256": "599441fab79b317d2142e61a66e714929af455e19a08ef5196007fb3ad24164d" }, "downloads": -1, "filename": "revelio-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "af3d20d89d138175cf3bdd5bf9249c2f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.6", "size": 4163, "upload_time": "2019-01-13T08:36:27", "url": "https://files.pythonhosted.org/packages/d9/3c/4b3862b830495dc92a211acbcf8082112335d858e6f60ddf992caca7e19f/revelio-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "306235e71bdcc484491d41ff7ff4c96c", "sha256": "fec39c19997d959576c14a12f445cae186ad0294d8c9eed7b8a1924029eca19c" }, "downloads": -1, "filename": "revelio-0.1.0.tar.gz", "has_sig": false, "md5_digest": "306235e71bdcc484491d41ff7ff4c96c", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 2630, "upload_time": "2019-01-13T08:36:29", "url": "https://files.pythonhosted.org/packages/39/6d/e96511c62081211257d5efd31a9542e6199bc1f1bce1d78ff2587686ade2/revelio-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a509db7c60e42b1bc7b4e69f30cedb91", "sha256": "c75f12d16536fb79e829c5d97a8ae9afa470c897ee8471b74993108bd8ce6e59" }, "downloads": -1, "filename": "revelio-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a509db7c60e42b1bc7b4e69f30cedb91", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.6", "size": 4556, "upload_time": "2019-01-13T08:52:40", "url": "https://files.pythonhosted.org/packages/ae/67/6452c03084488b3146b467ff1a8c6169166df7f40ebb4ba885b9eefe4bf7/revelio-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3f4e409dfe41f545992b0c1266e90a55", "sha256": "b57f93a6e16b0d7f54e89204997cacee2225ae7e62c0e8951f369305317ae1ea" }, "downloads": -1, "filename": "revelio-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3f4e409dfe41f545992b0c1266e90a55", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 3122, "upload_time": "2019-01-13T08:52:42", "url": "https://files.pythonhosted.org/packages/ce/35/af5f7b2be731ac036d928cdb3bce70ea0614ab8c8fd865701d33a4edf056/revelio-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a509db7c60e42b1bc7b4e69f30cedb91", "sha256": "c75f12d16536fb79e829c5d97a8ae9afa470c897ee8471b74993108bd8ce6e59" }, "downloads": -1, "filename": "revelio-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a509db7c60e42b1bc7b4e69f30cedb91", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": "~=3.6", "size": 4556, "upload_time": "2019-01-13T08:52:40", "url": "https://files.pythonhosted.org/packages/ae/67/6452c03084488b3146b467ff1a8c6169166df7f40ebb4ba885b9eefe4bf7/revelio-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3f4e409dfe41f545992b0c1266e90a55", "sha256": "b57f93a6e16b0d7f54e89204997cacee2225ae7e62c0e8951f369305317ae1ea" }, "downloads": -1, "filename": "revelio-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3f4e409dfe41f545992b0c1266e90a55", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 3122, "upload_time": "2019-01-13T08:52:42", "url": "https://files.pythonhosted.org/packages/ce/35/af5f7b2be731ac036d928cdb3bce70ea0614ab8c8fd865701d33a4edf056/revelio-0.1.1.tar.gz" } ] }