No project description provided
Project description
Platts Python SDK
Consuming the Platts API in Python
Installation
pip install platts-sdk
Getting Started
import platts_sdk as platts
tc = platts.TokenClient("username", "password", "apikey")
mdd = platts.MarketData(tc)
sym = ["PCAAS00", "PCAAT00"]
cur_df = mdd.get_current_assessments(sym)
print(cur_df)
mdc = "ET"
mdc_df = mdd.get_current_assessments_by_mdc(mdc)
print(mdc_df)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
platts-sdk-0.3.12.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file platts-sdk-0.3.12.tar.gz.
File metadata
- Download URL: platts-sdk-0.3.12.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.7 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f201800f9e7abb1ea69f71dd9173fd302edfc50b5818ab215e2657f9f464f23
|
|
| MD5 |
79ace1599e394557cb698190dd4dab0c
|
|
| BLAKE2b-256 |
31f5392022a53290ea5b68c87668bf99e2c5934681531dedcab0ee523f0247a9
|
File details
Details for the file platts_sdk-0.3.12-py3-none-any.whl.
File metadata
- Download URL: platts_sdk-0.3.12-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.7 Darwin/21.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05f09f3a020712d0d9136e23be2d9af848bd872c9a899613ee3f88dbe70bb56a
|
|
| MD5 |
8d79142fb75a5147cb140d598f4080b0
|
|
| BLAKE2b-256 |
9b64bad959c24842e8a4ccd280f756a0a26b3196511822422adf45c778654792
|