Repository URL to install this package:
|
Version:
3.0.0rc10 ▾
|
tdw-catalog
/
PKG-INFO
|
|---|
Metadata-Version: 2.4
Name: tdw-catalog
Version: 3.0.0rc10
Summary: A simple interface for working with the ThinkData Catalog in Python
Home-page: https://thinkdataworks.com
Author: Thinkdata Works
Author-email: info@thinkdataworks.com
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
License-File: LICENSE
Requires-Dist: protobuf<4,>=3.19.4
Requires-Dist: requests<3,>=2.28.2
Requires-Dist: python-dotenv<2,>=1.0.0
Requires-Dist: inflection<0.6.0,>=0.5.1
Requires-Dist: twirp==0.0.4
Requires-Dist: typing<4,>=3.7.4.3
Requires-Dist: dataclasses<0.7,>=0.6
Requires-Dist: backports.strenum<2,>=1.2.4
Requires-Dist: aiohttp<4,>=3.8.4
Requires-Dist: aiofiles<24,>=23.1.0
Requires-Dist: pyarrow<13,>=12.0.0
Requires-Dist: python-dateutil<3,>=2.8.2
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary
# Installing tdw_catalog SDK
__requires python version 3.10 or greater__
To install the package with pip:
`pip install --extra-index-url https://pypi.fury.io/thinkdataworks/ tdw-catalog==3.0.0rc10`
# Using the client
(Make sure you're using a Catalog `api_key`)
```python
import asyncio
from tdw_catalog import Catalog
async def main():
c = Catalog(
api_key='YOUR-CATALOG-API-KEY',
)
org = c.get_organization('YOUR-ORGANIZATION-ID')
ex = await org.get_dataset('DATASET-ID').export_csv()
csv_data = await ex.to_str()
asyncio.run(main())
```