semvec/pypi-packages huggingface dataset:
ipyantd 0.1.11
Ant Design Jupyter Widget
Keywords: ipython,jupyter,widgets

ipyantd
===============================
[![PyPI version](https://badge.fury.io/py/ipyantd.svg)](https://badge.fury.io/py/ipyantd)
[![MIT License][license-image]][license-url]
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/g21589/ipyantd/master?filepath=ipyantd_test.ipynb)

Ant Design Jupyter Widget

Installation
------------

To install use pip:

    $ pip install ipyantd
    $ jupyter nbextension enable --py --sys-prefix ipyantd


For a development installation (requires npm),

    $ git clone https://github.com//ipyantd.git
    $ cd ipyantd
    $ pip install -e .
    $ jupyter nbextension install --py --symlink --sys-prefix ipyantd
    $ jupyter nbextension enable --py --sys-prefix ipyantd

Support Components
------------

|  Component | Support functions |
|:----------:|:-----------------:|
| Row & Col  |     essential     |
| Button     |     essential     |
| Switch     |     essential     |
| Checkbox   |     essential     |
| Select     |     essential     |
| DatePicker |     essential     |
| Progress   |     essential     |
| Steps      |     essential     |


License
----

MIT

[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat
[license-url]: LICENSE
cli-app 0.1.0
Framework for creating CLI apps using Python

# Python CLI App
> Framework for creating CLI apps using Python

The purpose of this library is to speed up bulding CLI applications by providing abstract classes representing an app and its commands. It uses `argparse` to define and parse command line arguments.

## Concepts
### App
An "App" is the main entry point of an application. It groups together one or more commands

### Command
A "Command" is a single operation that the application can perform. It is identified by a positional argument on the command line. Let's take `git` as an example. `git` would be the **app** that provides different **commands**, such as `add`, `commit`, `merge`, `checkout`, etc.

## Example
**git.py**
```python
#!/usr/bin/env python3

from cli_app import App
from commands.checkout import Checkout
from commands.merge import Merge


class Git(App):
    """Git - fast, scalable, distributed revision control system"""

    def register_commands(self):
        self.add_command('checkout', Checkout)  # make the Checkout command available through `git.py checkout …`
        self.add_command('merge', Merge)  # make the Merge command available through `git.py merge …`


if __name__ == '__main__':
    app = Git()
    app.run()

```

**commands/checkout.py**
```python
from cli_app import Command


class Checkout(Command):
    """Switch branches or restore working tree files"""

    @staticmethod
    def register_arguments(parser):
        parser.add_argument('ref', type=str, help='The ref (branch name, tag, commit sha) to checkout')

    def run(self):
        # Do whatever needs to be done to checkout given ref
        print('Checking out %s' % self.app.args.ref)
```

**commands/merge.py**
```python
from cli_app import Command


class Merge(Command):
    """Join two or more development histories together"""

    @staticmethod
    def register_arguments(parser):
        parser.add_argument('branch', type=str, help='The branch to merge into the currently checked-out branch')

    def run(self):
        # Do whatever needs to be done to merge given branch
        print('Merging %s into current branch' % self.app.args.branch)
```
boklib 1.1
parsing a bank of korea api

# boklib

usage

    from boklib import bok

    api_key = 'example' # get an api key in this site: https://ecos.bok.or.kr/jsp/openapi/OpenApiController.jsp?t=main
    lang = '' # 'kr'or 'en'
    state_code = '' # get a state_code in table_list or get a state_code in item_list
    cycle = '' # get a cycle in item_list
    start_date = '' # get a start_date in item_list
    end_date = '' # get a end_date in item_list
    item_code = '' # get a item_code in item_list

    bok = bok(api_key, lang)
    result_key_list = bok.key_List()
    result_table_list = bok.table_list()
    result_item_list = bok.item_list(stat_code)
    result_search = bok.search(stat_code, cycle, start_date, end_date, item_code)
    result_meta = bok.meta(meta_search_word) # maybe korean language only - site: https://ecos.bok.or.kr/jsp/use/metadata/MetaData.jsp
    result_word = bok.word(search_word) # maybe korean language only - site: https://ecos.bok.or.kr/jsp/use/metaword/MetaDataWordList.jsp

    for result in result_key_list['row']:
      class_name =  result['CLASS_NAME']
      keystat_name = result['KEYSTAT_NAME']
      data_value = result['DATA_VALUE']
      cycle = result['CYCLE']
      unit_name = result['UNIT_NAME']
      print('class_name = %s, keystat_name = %s, data_value = %s, cycle = %s, unit_name = %s' % (class_name, keystat_name, data_value, cycle, unit_name))

    #
    # --- result example ---
    # {'list_total_count': {}, 'row' : [] }
    #
    # print result_key_list
    # {'list_total_count' : 1, 'row' : [{'CLASS_NAME' : '', 'KEYSTAT_NAME' : '', 'DATA_VALUE' : '', 'CYCLE' : '', 'UNIT_NAME' : ''}]}
    #
    # print result_table_list
    # {'list_total_count': 1, 'row' : [{'P_STAT_CODE' : '', 'STAT_CODE' : '', 'STAT_NAME' : '', 'CYCLE' : '', 'SRCH_YN' : '', 'ORG_NAME' : ''}] }
    #
    # print result_item_list
    # {'list_total_count' : 1, 'row' : [{'STAT_CODE' : '', 'STAT_NAME' : '', 'GRP_CODE' : '', 'GRP_NAME' : '', 'P_ITEM_CODE' : '', 'ITEM_CODE' : '', 'ITEM_NAME' : '', 'CYCLE' : '', 'START_TIME' : '', 'END_TIME' : '', 'DATA_CNT' : ''}]}
    # print result_search
    # {'list_total_count' : 1, 'row' : [{'STAT_CODE' : '', 'STAT_NAME' : '', 'ITEM_CODE1' : '', 'ITEM_CODE2' : '', 'ITEM_CODE3' : '', 'UNIT_NAME' : '', 'TIME' : '', 'DATA_VALUE' : ''}]}
    #
    # print result_meta
    # {'list_total_count': 1, 'row' : [{'LVL' : '', 'P_CONT_CODE' : '', 'CONT_CODE' : '', 'CONT_NAME' : '', 'META_DATA' : ''}] }
    #
    # print result_word
    # {'list_total_count': 1, 'row' : [{'WORD' : '', 'CONTENT' : ''}] }
    #