{ "info": { "author": "Felipe Salvatore", "author_email": "felipessalvador@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# bovespa2csv\n\n[![Build Status](https://travis-ci.org/felipessalvatore/bovespa2csv.svg?branch=master)](https://travis-ci.org/felipessalvatore/bovespa2csv) [![License](https://img.shields.io/github/license/mashape/apistatus.svg?maxAge=2592000)](https://github.com/felipessalvatore/bovespa2csv/blob/master/LICENSE) ![Version](https://img.shields.io/badge/bovespa2csv-0.0.2-blue.svg)\n\n\n## Introduction\n\nThis library was created to parse the txt files from [BM&FBOVESPA/B3 site](http://www.bmfbovespa.com.br/pt_br/servicos/market-data/historico/mercado-a-vista/series-historicas/) to a **csv file** or to an **xlsx file**.\n\n\n### Install\n\nYou can either install by pip:\n\n```\n$ pip3 install bovespa2csv\n```\n\nor by cloning the repository on Github:\n\n```\n$ git clone git@github.com:felipessalvatore/bovespa2csv.git\n$ cd bovespa2csv\n$ pip3 install -r requirements.txt\n```\n\n## Usage\n\nYou can use the script `parse_file.py` to create a csv file:\n\n\n```\n $ cd bovespa2csv \n $ python3 parse_file.py example.csv\n```\n\n\nor to create a xlsx file:\n\n```\n $ cd bovespa2csv \n $ python3 parse_file.py -e example.xlsx\n```\n\nYou can also use the class `BovespaParser` to get a pandas DataFrame from the txt file: \n\n\n```python\nfrom bovespa2csv.BovespaParser import BovespaParser\n\nparser = BovespaParser()\nparser.read_txt(\"COTAHIST_DXXXXXX.TXT\")\ndf = parser.df\n```\n\n\n## Built With\n\n* [Pandas](https://pandas.pydata.org/)\n* [XlsxWriter](https://xlsxwriter.readthedocs.io/)\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/felipessalvatore/bovespa2csv", "keywords": "bovespa,parsercsv,excel", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "bovespa2csv", "package_url": "https://pypi.org/project/bovespa2csv/", "platform": "", "project_url": "https://pypi.org/project/bovespa2csv/", "project_urls": { "Homepage": "https://github.com/felipessalvatore/bovespa2csv" }, "release_url": "https://pypi.org/project/bovespa2csv/0.0.2/", "requires_dist": null, "requires_python": "", "summary": "Parser for Bovespa data", "version": "0.0.2" }, "last_serial": 4186764, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "e604e1944510dc3bf85d72538af485d7", "sha256": "3bcc7664aca03974980dc19607d0453732060ea78e75cbea9a9e3648f5010e54" }, "downloads": -1, "filename": "bovespa2csv-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e604e1944510dc3bf85d72538af485d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6305, "upload_time": "2018-08-20T01:43:18", "url": "https://files.pythonhosted.org/packages/1d/82/e54ee353b323827a8d513c74a93b16f523d85aec36c5644d6cdb601e7c47/bovespa2csv-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd1f56ef52a40a44dde216f73065d858", "sha256": "a1078416a6b3477e239252818232ae1262056cf4d15ba593e7a8e91f0fab4120" }, "downloads": -1, "filename": "bovespa2csv-0.0.2.tar.gz", "has_sig": false, "md5_digest": "cd1f56ef52a40a44dde216f73065d858", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4739, "upload_time": "2018-08-20T01:43:20", "url": "https://files.pythonhosted.org/packages/c1/9d/5c892409912f5520350ddd22fa7ca1fdeb39c296b835851585800e81b88c/bovespa2csv-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e604e1944510dc3bf85d72538af485d7", "sha256": "3bcc7664aca03974980dc19607d0453732060ea78e75cbea9a9e3648f5010e54" }, "downloads": -1, "filename": "bovespa2csv-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "e604e1944510dc3bf85d72538af485d7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6305, "upload_time": "2018-08-20T01:43:18", "url": "https://files.pythonhosted.org/packages/1d/82/e54ee353b323827a8d513c74a93b16f523d85aec36c5644d6cdb601e7c47/bovespa2csv-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd1f56ef52a40a44dde216f73065d858", "sha256": "a1078416a6b3477e239252818232ae1262056cf4d15ba593e7a8e91f0fab4120" }, "downloads": -1, "filename": "bovespa2csv-0.0.2.tar.gz", "has_sig": false, "md5_digest": "cd1f56ef52a40a44dde216f73065d858", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4739, "upload_time": "2018-08-20T01:43:20", "url": "https://files.pythonhosted.org/packages/c1/9d/5c892409912f5520350ddd22fa7ca1fdeb39c296b835851585800e81b88c/bovespa2csv-0.0.2.tar.gz" } ] }