semvec/pypi-packages huggingface dataset:
openbnmapi 0.3
The unofficial Python wrapper for Bank Negara Malaysia's Open API endpoints
License: MIT

# Open BNM API

This is an unofficial Python wrapper for the Bank Negara Malaysia Open API. (https://api.bnm.gov.my/portal)

Currently supports the following endpoints:
- Base Rates/BLR
- Daily FX Turnover
- Exchange Rates
- Financial Consumer Alert
- Interbank Swap
- Interest Rate
- Interest Volume
- Islamic Interbank Rate
- Kijang Emas
- Overnight Policy Rate (OPR)
- Renminbi
- USD/MYR Interbank Intraday Rate
- Kuala Lumpur USD/MYR Reference Rate

### To - Do
Implement 
- More proper error handling
- Input Validation on currency codes as per ISO 4217
- Cache mechanism 
- Pandas dataframe support
gvd 6
godverdomme, het gif !!
License: MIT



Er is bewijs dat antipsychotica schadelijk voor de hersenen zijn, bijv. Haldol brengt 4% aantasting van de hippocampus:

    1) http://www.ncbi.nlm.nih.gov/pmc/articles/PMC3476840/
    2) https://jamanetwork.com/journals/jamapsychiatry/article-abstract/2672208

Dat antipsychotica schadelijk zijn maakt het toedienen ervan een benadeling van de gezondheid.

Er is bewijs dat antipsychotica gif zijn:

    1) haloperiodol (haldol) - https://echa.europa.eu/substance-information/-/substanceinfo/100.000.142
    2) clozapine (leponex) - https://echa.europa.eu/substance-information/-/substanceinfo/100.024.831
    3) olanzapine (zyprexa) - https://echa.europa.eu/substance-information/-/substanceinfo/100.125.320
    4) aripriprazole (abilify) https://echa.europa.eu/substance-information/-/substanceinfo/100.112.532
    
| Dat het hier gif betreft en niet een onschadelijk medicijn maakt dat men een strafbaar feit pleegt.
| Dat je met gif altijd 100% zeker weet dat je de patient zijn gezondheid benadeeld maakt toedienen ervan een opzettelijke benadeling van de gezondheid.
| Een toediening van gif is altijd een opzettelijke benadeling van de gezondheid, is altijd strafbaar.
confdict 0.0.1
A dictionary with nested access, interpolation and fallback features. It is primarily meant to be used for storing configurations of programs.
License: MIT
Requires Python: >=3.4,<4.0

# ConfDict

Configuration dictionary that extends built-in python dict with recursive access, self references and fallback functionality. There is no extensive documentation yet, you can check out tests to figure out all features.

## Example usage.

```python
>>> from confdict import ConfDict
>>> cd = ConfDict(
  # Configuration of ConfDict, these are default values
  __separator = '/',
  __self_key = '.',
  __parent_key = '..',
  __root_key = '...',
  __key_key = '<key>',
  __interpolation_regex = r'({{([^{}]*)}})',
  __fallback_key = 'fallback',

  # Remaining arguments will directly be stored in underlying dict
  users = {
    # fallback dict is used when a key is not found at that level
    'fallback': {
      # <key> is evaluated to key of the current level
      # it is useful when used with fallback
      'username': '{{<key>}}',
      # you can use self references
      'ssh_private_key': '/home/{{username}}/.ssh/id_rsa',
    },
  }
)
>>> cd
ConfDict
{ 'users': { 'fallback': { 'ssh_private_key': '/home/{{username}}/.ssh/id_rsa',
                           'username': '{{<key>}}'}}}
>>> cd['users/john/username']
'john'
>>> cd['users/john/ssh_private_key']
'/home/john/.ssh/id_rsa'
>>> cd['users/john']
ConfDict
{'ssh_private_key': '/home/john/.ssh/id_rsa', 'username': 'john'}
>>> cd['users/jean']
ConfDict
{'ssh_private_key': '/home/jean/.ssh/id_rsa', 'username': 'jean'}
>>> cd['users/jean'] = { 'username': 'jeans_custom_username' }
>>> cd['users/jean/ssh_private_key']
'/home/jeans_custom_username/.ssh/id_rsa'
>>> # 'jean' exists now under 'users'
>>> # there is no partial fallback so there is no 'ssh_private_key'
>>> cd['users/jean']
ConfDict
{'username': 'jeans_custom_username'}
>>> # we can realize fallback as jean to make concrete values
>>> cd['users/fallback'].realize('jean')
>>> cd['users/jean']
ConfDict
{'ssh_private_key': '/home/jeans_custom_username/.ssh/id_rsa', 'username': 'jeans_custom_username'}
>>> # interpolation still works
>>> cd['users/jean/username'] = 'jeans_custom_username2'
>>> cd['users/jean/ssh_private_key']
'/home/jeans_custom_username2/.ssh/id_rsa'
```


## Installation
```
$ pip install confdict
```

## Development

There is a `Makefile` to automate commonly used development tasks.

### Environment Setup

```
### create a virtualenv for development

$ sudo pip install virtualenv # or your preferred way to install virtualenv

$ make virtualenv # will also install dependencies

$ source env/bin/activate

### run pytest / coverage

$ make test

### before commit

$ make format
```