semvec/pypi-packages huggingface dataset:
YahooFinanceScraping 0.0.3
Library to scraping from yahoo finance page quote data..
License: MIT
Requires Python: >=3.8
Keywords: yahoo,finance

# YahooFinanceScraping

**YahooFinanceScraping** is a library to scraping quote data.

## Features

- Regular market price.
- Previous close.
- Open value.
- Days range.

## Installation

- Run `pip install yahoofinancescraping`

## Example

```python
from yfs import YahooFinanceScraping

yfs = YahooFinanceScraping('IBM')

regular_market_price = yfs.regular_market_price()
print(regular_market_price)

previous_close = yfs.previous_close()
print(previous_close)

open_value = yfs.open_value()
print(open_value)

days_range = yfs.days_range()
print(days_range)

```

### Console Output

```bash
foo@bar ~/
$ python test.py
133,04
132,21
133,00
{'min': Decimal('130.89'), 'max': Decimal('133.77')}
```

## Upgrade

- Run `pip install yahoofinancescraping --upgrade`
wsgirouter3-weasyprint 0.1.2
WSGI routing library weasyprint plugin
License: MIT
Requires Python: >=3.7
Keywords: web services

# [Weasyprint](https://weasyprint.org/) plugin for [wsgirouter3](https://github.com/andruskutt/wsgirouter3)

## Usage

Configure application to use plugin

```python
def _generator(html_id: str, context: Any) -> str:
    # your choice of template engine


application = wsgirouter3.WsgiApp(router)
wsgirouter3_weasyprint.install(
    application,
    wsgirouter3_weasyprint.PdfConfig(html_generator=_generator)
)
```

Return instance of Pdf from endpoint

```python
@router.get('/get', produces='application/pdf')
def get() -> Pdf:
    html_generation_ctx = {'context': 'variable'}
    return Pdf('html_template_id', html_generation_ctx)
```

## Installation

```shell
$ pip install wsgirouter3_weasyprint
```