Metadata-Version: 2.1
Name: pythainav
Version: 0.1.4
Summary: a Python interface to pull thai mutual fund NAV
Home-page: https://github.com/CircleOnCircles/pythainav
License: MIT
Author: Nutchanon Ninyawee
Author-email: me@nutchanon.org
Maintainer: Nutchanon Ninyawee
Maintainer-email: me@nutchanon.org
Requires-Python: >=3.6.8,<4.0.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: dataclasses (>=0.7.0,<0.8.0); python_version == "3.6"
Requires-Dist: dateparser (>=0.7.2,<0.8.0)
Requires-Dist: furl (>=2.1,<3.0)
Requires-Dist: fuzzywuzzy[speedup] (>=0.17.0,<0.18.0)
Requires-Dist: requests (>=2.22,<3.0)
Project-URL: Repository, https://github.com/CircleOnCircles/pythainav
Description-Content-Type: text/markdown

# PythaiNAV
![Language](https://img.shields.io/github/languages/top/CircleOnCircles/pythainav)
![Start](https://img.shields.io/github/stars/CircleOnCircles/pythainav)
![Fork](https://img.shields.io/github/forks/CircleOnCircles/pythainav?label=Fork)
![Watch](https://img.shields.io/github/watchers/CircleOnCircles/pythainav?label=Watch)
![Issues](https://img.shields.io/github/issues/CircleOnCircles/pythainav)
![Pull Requests](https://img.shields.io/github/issues-pr/CircleOnCircles/pythainav.svg)
![Contributors](https://img.shields.io/github/contributors/CircleOnCircles/pythainav.svg)

![Github_workflow_tatus](https://img.shields.io/github/workflow/status/CircleOnCircles/pythainav/Python%20package)
![lgtm_gred](https://img.shields.io/lgtm/grade/python/github/CircleOnCircles/pythainav)
![lgtm_alerts](https://img.shields.io/lgtm/alerts/github/CircleOnCircles/pythainav)


![cover image](https://github.com/CircleOnCircles/pythainav/raw/master/extra/pythainav.png)


ทำให้การดึงข้อมูลกองทุนไทยเป็นเรื่องง่าย

> อยากชวนทุกคนมาร่วมพัฒนา ติชม แนะนำ เพื่อให้ทุกคนเข้าถึงข้อมูลการง่ายขึ้น [เริ่มต้นได้ที่นี้](https://github.com/CircleOnCircles/pythainav/issues) หรือเข้ามา Chat ใน [Discord](https://discord.gg/jjuMcKZ) ได้เลย 😊

## Get Started - เริ่มต้นใช้งาน

```bash
$ pip install pythainav
```

```python
import pythainav as nav

nav.get("KT-PRECIOUS")
> Nav(value=4.2696, updated='20/01/2020', tags={'latest'}, fund='KT-PRECIOUS')

nav.get("TISTECH-A", date="1 week ago")
> Nav(value=12.9976, updated='14/01/2020', tags={}, fund='TISTECH-A')

nav.get_all("TISTECH-A")
> [Nav(value=12.9976, updated='21/01/2020', tags={}, fund='TISTECH-A'), Nav(value=12.9002, updated='20/01/2020', tags={}, fund='TISTECH-A'), ...]

nav.get_all("KT-PRECIOUS", asDataFrame=True)
> pd.DataFrame [2121 rows x 4 columns]
```

## Source of Data - ที่มาข้อมูล

ดูจาก <https://pythainav.nutchanon.org/datasource/>

## Disclaimer

เราไม่รับประกันความเสียหายใดๆทั้งสิ้นที่เกิดจาก แหล่งข้อมูล, library, source code,sample code, documentation, library dependencies และอื่นๆ

