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.0.tar.gz (54.1 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.0-py3-none-any.whl (69.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datacommons_client-2.1.0.tar.gz
  • Upload date:
  • Size: 54.1 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.0.tar.gz
Algorithm Hash digest
SHA256 ab837dd2e337db2f8012a358c4db3b6ad8090dd4c89aff5611a2e9c8e75492bb
MD5 67ab0e3cfc254c7b0c0c947d20c033cd
BLAKE2b-256 af7d8dbe7fa9cd63cabd6d49f7d179cc86a3a2eabc3b795e46b098a0b4d4580f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datacommons_client-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6f10309ef028a90bb34734c65dde59a6749d10e57fb7d049b3e93a4598726fb
MD5 1d700c888678aa49de3955be8c95de36
BLAKE2b-256 5d61d0422b718a0bba93d8ff02bacef58b65a8fac936a7a092d10c7690f31800

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