semvec/pypi-packages huggingface dataset:
wakanda 0.7
This library enable to extract data from various african website into a pandas DataFrame
License: MIT
Keywords: africa,stock,index,price,exchange

# Wakanda

[![N|Solid](https://cldup.com/dTxpPi9lDf.thumb.png)](https://nodesource.com/products/nsolid)

[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://travis-ci.org/joemccann/dillinger)

This tool is useful to extract data from various african's websites.


# New Features!

  - Hitorical data for stocks from more than 8 africans markets (BRVM, Ghana, Nigeria, Kenya and more)
  - Get real-time data ( at this point this worked only for BRVM 

### Installation

From pypi with pip:
```sh
$ pip install wakanda
```
### Usage example

Use afx.kwayisi as main source of data, ranging up to 7 years.
```sh
$ import wandaka as wkd 
# Initialize market (eg:brvm).you could also choose ghana(gse), nigeria(ngse)..
$ brvm = wkd.stock('brvm')
# now you can collect stock data for all stocks under that market
$ brvm.DataReader('BICC')
 	    Date	close price	
    0	09-16-2013	43000	
    1	09-23-2013	42000
    2	09-26-2013	42000
    3	10-01-2013	42000
    4	10-02-2013	42000

# you may specify start and end dates
$ gse = wkd.stock('gse')
$ gse.DataReader('MTNGH' start='01-09-2020',end='01-13-2020')
        Date	close price
    0	01-09-2020	0.7
    1	01-10-2020	0.7
    2	01-13-2020	0.7
```
Get live quote from markets' official website
```sh
$ from wakanda import wkd
brvm = wkd.stock('brvm')
brvm.get_quote('BICC')
```
License
----

MIT


**Free Software, Hell Yeah!**

[//]: # (These are reference links used in the body of this note and get stripped out when the markdown processor does its job. There is no need to format nicely because it shouldn't be seen. Thanks SO - http://stackoverflow.com/questions/4823468/store-comments-in-markdown-syntax)


   [dill]: <https://github.com/joemccann/dillinger>
   [git-repo-url]: <https://github.com/joemccann/dillinger.git>
   [john gruber]: <http://daringfireball.net>
   [df1]: <http://daringfireball.net/projects/markdown/>
   [markdown-it]: <https://github.com/markdown-it/markdown-it>
   [Ace Editor]: <http://ace.ajax.org>
   [node.js]: <http://nodejs.org>
   [Twitter Bootstrap]: <http://twitter.github.com/bootstrap/>
   [jQuery]: <http://jquery.com>
   [@tjholowaychuk]: <http://twitter.com/tjholowaychuk>
   [express]: <http://expressjs.com>
   [AngularJS]: <http://angularjs.org>
   [Gulp]: <http://gulpjs.com>

   [PlDb]: <https://github.com/joemccann/dillinger/tree/master/plugins/dropbox/README.md>
   [PlGh]: <https://github.com/joemccann/dillinger/tree/master/plugins/github/README.md>
   [PlGd]: <https://github.com/joemccann/dillinger/tree/master/plugins/googledrive/README.md>
   [PlOd]: <https://github.com/joemccann/dillinger/tree/master/plugins/onedrive/README.md>
   [PlMe]: <https://github.com/joemccann/dillinger/tree/master/plugins/medium/README.md>
   [PlGa]: <https://github.com/RahulHP/dillinger/blob/master/plugins/googleanalytics/README.md>
expnbk 0.0.3
expnbk provides a class for creating an experiment with its own results directory that automatically contains a copy of the code used to run the experiment. Super useful for reproducibility.
License: MIT
Requires Python: >=3.6
Keywords: expnbk

# Experiment_Notebook

[![PyPI Version](https://img.shields.io/pypi/v/Experiment_Notebook.svg)](https://pypi.org/project/Experiment_Notebook/)
[![Supported Python Versions](https://img.shields.io/pypi/pyversions/Experiment_Notebook.svg)](https://pypi.org/project/Experiment_Notebook/)

`expnbk` provides a class for creating an experiment with its own results directory that automatically contains a copy of the code used to run the experiment. Super useful for reproducibility.

---

## Installation

To install Experiment_Notebook, run this command in your terminal:

```bash
$ pip install -U expnbk
```

This is the preferred method to install Experiment_Notebook, as it will always install the most recent stable release.

If you don't have [pip](https://pip.pypa.io) installed, these [installation instructions](http://docs.python-guide.org/en/latest/starting/installation/) can guide you through the process.



## Quick Start

The `expnbk` package provides a class `Experiment`. Upon instantiation,  it takes a snapshot of the current working directory and saves all files into a `results/current_time` folder within the current directory (see `Usage` for variations). It also provides functions that automatically save figures to the same output directory. Check out the following example and you shall see similar changes in your directories.  
```
$ tree
    .
    ├── file1        
    └── dir1
        └── file2
```
```python
>>> from expnbk import Experiment
>>> exp = Experiment()
>>> fig = exp.figure()
>>> fig.savefig("image1.png") 
```
```
$ tree
    .
    ├── file1
    ├── dir1
    │   └── file2
    └── results
        └── 2020-12-31_123006
            ├── <project_name>
            │   ├── file1
            │   └── dir1
            │       └── file2
            └── image1.png
```



## Usage

- Import the `expnk` package:
```python
>>> from expnbk import Experiment
```



- Create an `Experiment` class with attributes:

```python
>>> exp = Experiment(expname='some_experiemnt', results_dir='path_to_results_directory', copy_code=True, ignore_dirs=None):
```
`expname`: str, optional

>> A name identifying the type of experiment run.


`results_dir` : str, optional

>> Path to the desired results directory for storing experiment details.

`copy_code` : bool, optional

>> Should the experiment results include the code used to generate them?

`ignore_dirs` : list(str), optional

>> Any directories that should not be copied with the code.



- Save figures to the same output directory as above: 
```python
>>> fig = exp.figure() //Get a matplotlib figure
>>> fig.savefig("image1.png") //`savefig` function will put it in the experiment directory
```