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

Uploaded Python 3

File details

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

File metadata

  • Download URL: datacommons_client-2.0.0.tar.gz
  • Upload date:
  • Size: 50.4 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.0.tar.gz
Algorithm Hash digest
SHA256 a11910d9725fb1987e3284da1de0bdacc20f9cc4fa72a6d32c01ed0e6119c4c6
MD5 1b64aeb48a238304a3ceddbee0d3f9d6
BLAKE2b-256 6e9fcc2f9520f95f446b9055848d6510998dfc1a4ef75491fd7f63307b805571

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datacommons_client-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f837d721d9b8a2be9f57a480a5a7e7c92e82c1075ffdc89dcbcd52ecec0aea8
MD5 7c0f5bccebf95fee482e9c6554f8ab4a
BLAKE2b-256 007f74d6c430dcc2c166bf2d33262ad2fa317c19de69676dbd7bcd95f63d04ed

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