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.0.0b1.tar.gz (37.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.0.0b1-py3-none-any.whl (50.1 kB view details)

Uploaded Python 3

File details

Details for the file datacommons_client-2.0.0b1.tar.gz.

File metadata

  • Download URL: datacommons_client-2.0.0b1.tar.gz
  • Upload date:
  • Size: 37.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for datacommons_client-2.0.0b1.tar.gz
Algorithm Hash digest
SHA256 055f69332f54a8ddd43168f9cb084b4341443df67b408c13be9eb5e2eaa70abf
MD5 c20b29dd9b87c7c68c68b0c2016798f6
BLAKE2b-256 e7f40ee04cd28cb8f74406ea63231fde36927706a79016f59ca7cd775181c0ed

See more details on using hashes here.

File details

Details for the file datacommons_client-2.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for datacommons_client-2.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 142a5223871cc7d3ca77857cc2641e75ce771e4325830770da2928783284f06f
MD5 8145d837ef2cf4e9e5946b9648172645
BLAKE2b-256 5319b2aa2f4418a3136db97978eddf47f297451fe61802aa7be5593e4da8f50f

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