semvec/pypi-packages huggingface dataset:
bovespa2csv 0.0.2
Parser for Bovespa data
License: MIT
Keywords: bovespa,parsercsv,excel

# bovespa2csv

[![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)


## Introduction

This 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**.


### Install

You can either install by pip:

```
$ pip3 install bovespa2csv
```

or by cloning the repository on Github:

```
$ git clone git@github.com:felipessalvatore/bovespa2csv.git
$ cd bovespa2csv
$ pip3 install -r requirements.txt
```

## Usage

You can use the script `parse_file.py` to create a csv file:


```
  $ cd bovespa2csv 
  $ python3 parse_file.py <txt_file> example.csv
```


or to create a xlsx file:

```
  $ cd bovespa2csv 
  $ python3 parse_file.py -e <txt_file> example.xlsx
```

You can also use the class `BovespaParser` to get a pandas DataFrame from the txt file: 


```python
from bovespa2csv.BovespaParser import BovespaParser

parser = BovespaParser()
parser.read_txt("COTAHIST_DXXXXXX.TXT")
df = parser.df
```


## Built With

* [Pandas](https://pandas.pydata.org/)
* [XlsxWriter](https://xlsxwriter.readthedocs.io/)
gingerfy 0.1.0b0
Remove broken colours from strings and replace them with the one true colour, GINGER!!
License: MIT

[![Build Status](https://travis-ci.org/RobDWaller/gingerfy.svg?branch=master)](https://travis-ci.org/RobDWaller/gingerfy) [![codecov](https://codecov.io/gh/RobDWaller/gingerfy/branch/master/graph/badge.svg)](https://codecov.io/gh/RobDWaller/gingerfy) [![Maintainability](https://api.codeclimate.com/v1/badges/d43c3780ccf78820c5b7/maintainability)](https://codeclimate.com/github/RobDWaller/gingerfy/maintainability)
# Gingerfy

Remove unginger colours from strings and replace them with the one true colour, GINGER!!

```python
import gingerfy

result = gingerfy.fix("Blonde haired people are the best!")

print(result.get_fix())
```

> **Output:** Ginger haired people are the best!

## Notes

This project is obviously a joke, I come from a long line of Scottish and Irish gingers, so it's very much meant to be self-deprecating.

It was created to help me learn the basics of Python and how to pipeline Python code.

## Author

[RobDWaller](https://twitter.com/RobDWaller)