A library to access Data Commons Python Client API.
Project description
Data Commons Python Client API
This is a Python library for accessing data in the Data Commons knowledge graph. To get started, install this package from pip.
pip install datacommons
Once the package is installed, import datacommons
.
import datacommons as dc
You will also need to provision an API key by enabling the Data Commons API on GCP. Once you have the API key, simply add the following line to your code.
dc.set_api_key('YOUR-API-KEY')
For more detail on getting started with the API, please visit Getting Started.
After you're ready to use the API, you can refer to datacommons/examples
for
examples on how to use this package to perform various tasks. More tutorials and
documentation can be found at our
readthedocs!
About Data Commons
Data Commons is an Open Knowledge Graph that provides a unified view across multiple public data sets and statistics. You can view what datasets are currently ingested and browse the graph using our browser.
License
Apache 2.0
Development
The Python Client API currently supports python>=3.6
. We use
bazel as our build system. To test, first install
bazel then run the following:
$ bazel build //...
$ bazel test //...
Support
For general questions or issues about the API, please open an issue on our
issues page. For all other
questions, please send an email to support@datacommons.org
.
Note - This is not an officially supported Google product.
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
Built Distribution
Hashes for datacommons-1.0.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2e3e9f94d4aa8deeb5c04d5f9ba7b7e10b2a9a62832053b9169e1a68c0005ca |
|
MD5 | f64bdfd06f28cd32efcce5e7213650d2 |
|
BLAKE2b-256 | 1c6f1db636dcd550c0e5b24f6cf8fd9da6e319421219dfb6b05fe8f6727f70c9 |