Skip to main content

A library to access Data Commons Python API.

Project description

Data Commons Python API

This is a Python library for accessing data in the Data Commons Graph.

To get started, install this package from pip.

pip install datacommons-client

To get additional functionality to work with Pandas DataFrames, install the package with the optional Pandas dependency.

pip install "datacommons-client[Pandas]"

Once the package is installed, import datacommons_client.

import datacommons_client as dc

For more detail on getting started with the API, please visit our API Overview.

Note: This package uses the V2 REST API and is in Beta. All of the existing Python and Pandas tutorials and samples use V1. We will be updating all the documentation during this Beta.

About Data Commons

Data Commons is an open knowledge repository 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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

datacommons_client-2.1.1.tar.gz (54.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

datacommons_client-2.1.1-py3-none-any.whl (70.0 kB view details)

Uploaded Python 3

File details

Details for the file datacommons_client-2.1.1.tar.gz.

File metadata

  • Download URL: datacommons_client-2.1.1.tar.gz
  • Upload date:
  • Size: 54.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for datacommons_client-2.1.1.tar.gz
Algorithm Hash digest
SHA256 22cf0d3f6e6095964d30284c17a345f5dd88f80e1c375831e15df58631eedf05
MD5 9ab8e839cc8a6a2ae2886de15bdfb49d
BLAKE2b-256 2d621c8a2f964d35f78bb91a0533bc69a5a1b3991773e6ae22ee4bd5b63e0b6c

See more details on using hashes here.

File details

Details for the file datacommons_client-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for datacommons_client-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecb87cb29df48477b6324c6deaae7b9aa017899981249144e93aeb4902e4a44a
MD5 2f4e87eba63b531b3dccd982f0bfa232
BLAKE2b-256 4ed9c262b29f8f4702aa770636557b44d54cab8f315e3cadb4b52d0b544243fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page