semvec/pypi-packages huggingface dataset:
GaleMenu 1.1.3
Simple Python menu generator
License: MIT

# GaleMenu - Simple Menu Generator

GaleMenu is a simple menu generator for Python.

## Installation
To install GaleMenu, run `pip install galemenu`.

To include it in your project, import it like so:
```python
import galemenu
```
## Use

### Creating a menu
```python
menu = galemenu.menu(name, [border], [prompt], [text], [error])
```
**name** - the title of the menu

**border** - the underline of the title (optional - default `=`)

**prompt** - the characters shown before the input prompt (optional - default `>`)

**text** - the text shown before the prompt (optional - blank by default)

**error** - the message shown if an invalid menu choice made (optional - default `Please choose an option from the menu.`)

### Adding options to menu
```python
menu.additem(function, name, [parameters])
```
**function** - the function that the menu option points to

**name** - the display name of the menu option

**parameters** - an array of parameters to pass to the function (optional)

### Displaying the menu
```python
menu.start()
```
This will start the menu and display it at the point when it is run

### Example
```python
import galemenu

def coolFunction(text):
    print(text)

menu = galemenu.menu("The best menu")
menu.addItem(coolFunction, "Item number 1", ["hey"])
menu.addItem(coolFunction, "Item number 2", ["hey2"])

menu.start()
```
This menu, called "The best menu", has 2 options - `Item number 1` and `Item number 2`. They each pass a single parameter to the function `coolFunction`.

![this is where the picture of the menu is supposed to be](https://i.gyazo.com/2b2f686fb76517d4b525f728502c19fd.png)
shuiyuan 0.0.2
small package description
License: MIT
Keywords: key1,key2,key3

ShuiYuan

水源聚合了多个开放finance数据源，yahoo_finance（雅虎财经），wbdata（世界银行），knoema，pytdx（通达信），tushare，quandl，python_binance（币安）等（数据源在增加中...）

Dependencies
=========
python 2.x/3.x   

[pandas](http://pandas.pydata.org/ "pandas")


Installation
====

- 方式1：pip install shuiyuan
- 方式2：python setup.py install
- 方式3：访问[https://pypi.python.org/pypi/shuiyuan/](https://pypi.python.org/pypi/shuiyuan/)下载安装


Upgrade
=======

	pip install shuiyuan --upgrade

Start
======
**Yahoo_finance（雅虎财经）:** [https://github.com/lukaszbanasiak/yahoo-finance](http://pandas.pydata.org/)

    import shuiyuan as sy
    yahoo_financ = sy.get_yahoo_finance()
    

**Wbdata（世界银行）:** [https://github.com/OliverSherouse/wbdata](https://github.com/OliverSherouse/wbdata)
    
    import shuiyuan as sy
    wbdata = sy.get_wbdata()

**Knoema :** [https://github.com/Knoema/knoema-python-driver](https://github.com/Knoema/knoema-python-driver)
    
    import shuiyuan as sy
    sy.get_knoemaa()

**Pytdx（通达信) :** [https://github.com/rainx/pytdx](https://github.com/rainx/pytdx)
    
    import shuiyuan as sy
    pytdx = sy.get_pytdx()

**Tushare :** [https://github.com/waditu/tushare](https://github.com/waditu/tushare)
    
    import shuiyuan as sy
    tushare = sy.get_tushare()

**Quandl :** [https://github.com/quandl/quandl-python](https://github.com/quandl/quandl-python)
    
    import shuiyuan as sy
    quandl = sy.get_quandl()

**Python_binance :** [https://github.com/sammchardy/python-binance](https://github.com/sammchardy/python-binance)
    
    import shuiyuan as sy
    python_binance = sy.get_python_binance()