Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions datacommons/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**DEPRECATED: This library is no longer maintained. Please migrate to the [datacommons_client](https://pypi.org/project/datacommons-client/) library. For help on translating your requests, see the [Migration guide](https://docs.datacommons.org/api/python/v2/migration.html).**

# Data Commons Python API

This is a Python library for accessing data in the Data Commons Graph.
Expand Down
9 changes: 9 additions & 0 deletions datacommons/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

# isort: skip_file

import warnings

warnings.warn(
"\n\n'datacommons' is deprecated and will no longer be updated. "
"Please migrate to the 'datacommons_client' package. "
"Contact support@datacommons.org with any questions.\n",
category=DeprecationWarning,
stacklevel=2)

################################## IMPORTANT #################################
# All user-facing functions in this package must be symlinked to the #
# datacommons_pandas pkg. This is so that users do not need to import both #
Expand Down
3 changes: 2 additions & 1 deletion datacommons/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
EMAIL = 'support@datacommons.org'
AUTHOR = 'datacommons.org'
REQUIRES_PYTHON = '>=3.7'
VERSION = '1.4.3'
VERSION = '1.4.4'
REQUIRED = ['six', 'requests']
PACKAGES = ['datacommons']

Expand All @@ -48,6 +48,7 @@
include_package_data=True,
license='Apache 2.0',
classifiers=[
'Development Status :: 7 - Inactive',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
Expand Down
2 changes: 2 additions & 0 deletions datacommons_pandas/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**DEPRECATED: This library is no longer maintained. Please migrate to the [datacommons_client](https://pypi.org/project/datacommons-client/) library. For help on translating your requests, see the [Migration guide](https://docs.datacommons.org/api/python/v2/migration.html).**

# Data Commons Pandas API

This is a Python library for creating pandas objects with data in the
Expand Down
9 changes: 9 additions & 0 deletions datacommons_pandas/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

# isort: skip_file

import warnings

warnings.warn(
"\n\n'datacommons_pandas' is deprecated and will no longer be updated. "
"Please migrate to the 'datacommons_client' package. "
"Contact support@datacommons.org with any questions.\n",
category=DeprecationWarning,
stacklevel=2)

from datacommons_pandas.df_builder import build_time_series, build_time_series_dataframe, build_multivariate_dataframe

################################ SYMLINK FILES ################################
Expand Down
3 changes: 2 additions & 1 deletion datacommons_pandas/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
EMAIL = 'support@datacommons.org'
AUTHOR = 'datacommons.org'
REQUIRES_PYTHON = '>=3.7'
VERSION = '0.0.3'
VERSION = '0.0.4'
REQUIRED = ['pandas', 'six', 'requests']
PACKAGES = ['datacommons_pandas']

Expand All @@ -48,6 +48,7 @@
include_package_data=True,
license='Apache 2.0',
classifiers=[
'Development Status :: 7 - Inactive',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
Expand Down