{ "info": { "author": "Wellington Silva", "author_email": "wellington@wosilva.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# PyFile\n\nPyFile is a simple library which provides you some funcionalities for file reading and writing.\n\n# Install\n\n from wosPyFile import pyFile\n\n# Files\n\nPyFile is effective on simple text files, let's see some examples:\n\n## Reading\n\n### Read all\nThis will return all lines\n\n pyFile.read(\"file.txt\")\n\n\n### Read with conditions\n This will return only lines that begins with the list elements\n\n pyFile.read(\"file.txt\", [\"AAA\", \"BBB\", \"CCC\"])\n\n## Extracting data from lines\nLet's assume that we have a variable called **line** with the value bellow\n\n\n> **ABC1234567**\n\nTo extract data from this line, you can use pyFile.getLineData(), the second parameter is responsible to split the line in list elements\n\n\t pyFile.getLineData(line, [3,10])\n\nOutput:\n\n> [\"ABC\", \"1234567]\n\n\n## Matrix\n\nIf you have a defined range you can use pyFile.generateMatrix()\n\n data = []\n collumns = 240\n size = 2\n matrix = pyFile.generateMatriz(collumns, len(lines), size)\n for index, line in enumerate(lines):\n\t pyFile.getLineData(line, matrix[index])\n\n\n>A list element will be generated according with the interval defined in **size**\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/WellingtonOSilva/pyFile", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "wosPyFile", "package_url": "https://pypi.org/project/wosPyFile/", "platform": "", "project_url": "https://pypi.org/project/wosPyFile/", "project_urls": { "Homepage": "https://github.com/WellingtonOSilva/pyFile" }, "release_url": "https://pypi.org/project/wosPyFile/2.0.0/", "requires_dist": null, "requires_python": "", "summary": "Simple package for file reading", "version": "2.0.0" }, "last_serial": 4654545, "releases": { "2.0.0": [ { "comment_text": "", "digests": { "md5": "9a6778fceb51924089f412354da65a17", "sha256": "4de93c706bda125ca6e89d6db1436873bff6027233f3b130a0c4719f114bd1fd" }, "downloads": -1, "filename": "wosPyFile-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9a6778fceb51924089f412354da65a17", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4183, "upload_time": "2019-01-02T23:54:03", "url": "https://files.pythonhosted.org/packages/00/1f/3fe00af21768be9b2b629a07e15387f64378de52b6e2346003fb44e3af38/wosPyFile-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "98dcd3f85f06bd2abf59e39594b456b3", "sha256": "14cac9967a6b0a5d8ee188b5493b77c386914ce2076505dd7cfd76424ff3b079" }, "downloads": -1, "filename": "wosPyFile-2.0.0.tar.gz", "has_sig": false, "md5_digest": "98dcd3f85f06bd2abf59e39594b456b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2026, "upload_time": "2019-01-02T23:54:05", "url": "https://files.pythonhosted.org/packages/7a/99/d75777ba91d893d60427d52c0fd61b0969a63935ca951e1680a261730372/wosPyFile-2.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9a6778fceb51924089f412354da65a17", "sha256": "4de93c706bda125ca6e89d6db1436873bff6027233f3b130a0c4719f114bd1fd" }, "downloads": -1, "filename": "wosPyFile-2.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9a6778fceb51924089f412354da65a17", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4183, "upload_time": "2019-01-02T23:54:03", "url": "https://files.pythonhosted.org/packages/00/1f/3fe00af21768be9b2b629a07e15387f64378de52b6e2346003fb44e3af38/wosPyFile-2.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "98dcd3f85f06bd2abf59e39594b456b3", "sha256": "14cac9967a6b0a5d8ee188b5493b77c386914ce2076505dd7cfd76424ff3b079" }, "downloads": -1, "filename": "wosPyFile-2.0.0.tar.gz", "has_sig": false, "md5_digest": "98dcd3f85f06bd2abf59e39594b456b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2026, "upload_time": "2019-01-02T23:54:05", "url": "https://files.pythonhosted.org/packages/7a/99/d75777ba91d893d60427d52c0fd61b0969a63935ca951e1680a261730372/wosPyFile-2.0.0.tar.gz" } ] }