dataesg-0.0.2
توضیحات
Package for dataesg data access
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dataesg-0.0.2 |
| نام | dataesg |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | DATAESG |
| ایمیل نویسنده | hello@dataesg.com |
| آدرس صفحه اصلی | https://github.com/dataesg/dataesg-python |
| آدرس اینترنتی | https://pypi.org/project/dataesg/ |
| مجوز | MIT |
# DATAESG
# Dataesg Python
This is the official documentation for Dataesg’s Python Package. This package is compatible with python v3+.
### Installation
To complete the installation of Dataesg’s Python Package, execute either of the following pip commands from terminal:
```sh
$ pip install dataesg
$ pip3 install dataesg
```
### API Configurations
Please use the provided API keys to be able to access our services.
Example API Key: 32e6f6c4-33b1-4156-8ae6-8t92e7ab66cc
### Using Python to retrieve ESG data
```sh
$ import dataesg
$ dataesg.connect(‘32e6f6c4-33b1-4156-8ae6-8t92e7ab66cc’)
$ dataesg.get_sample(metric=[‘Scope_1’,‘Scope_2’],return_type=‘pandas’)
$ dataesg.get_by_ticker(ticker=‘MMM’,return_type=‘pandas’)
$ dataesg.get_by_isin(isin=[‘US88579Y1010’,’SE0000103814’],return_type=‘pandas’)
$ dataesg.get_by_cusip(cusip=‘88579Y101’,return_type=‘numpy’)
$ dataesg.get_by_sedol(sedol=‘2595708’,return_type=‘numpy’)
```
## Parameters
```sh
$ metrics - string or list of strings (default: returns all metrics)
$ return_type - either ‘pandas’ or ’numpy’ (default: ‘pandas’)
$ api_key - If not connected previously
```
## License
----
[MIT License](http://opensource.org/licenses/MIT)
نیازمندی
| مقدار | نام |
|---|---|
| >=0.14 | pandas |
| >=1.8 | numpy |
| >=2.7.0 | requests |
| >=3.1.3 | matplotlib |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >= 3.5 | Python |
نحوه نصب
نصب پکیج whl dataesg-0.0.2:
pip install dataesg-0.0.2.whl
نصب پکیج tar.gz dataesg-0.0.2:
pip install dataesg-0.0.2.tar.gz