diff --git a/datacommons/README.md b/datacommons/README.md index 259a7a16..29ceb49c 100644 --- a/datacommons/README.md +++ b/datacommons/README.md @@ -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. diff --git a/datacommons/__init__.py b/datacommons/__init__.py index 9e0c1f5b..a156ebbd 100644 --- a/datacommons/__init__.py +++ b/datacommons/__init__.py @@ -14,6 +14,16 @@ # isort: skip_file +import warnings + +warnings.warn( + "\n\n'datacommons' is deprecated and will no longer be updated.\n" + "Please migrate to the 'datacommons_client' package.\n" + "Migration guide: https://docs.datacommons.org/api/python/v2/migration.html\n" + "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 # diff --git a/datacommons/setup.py b/datacommons/setup.py index b2cee518..e05d54b4 100644 --- a/datacommons/setup.py +++ b/datacommons/setup.py @@ -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'] @@ -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', diff --git a/datacommons_pandas/README.md b/datacommons_pandas/README.md index 856ccf67..437af89f 100644 --- a/datacommons_pandas/README.md +++ b/datacommons_pandas/README.md @@ -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 diff --git a/datacommons_pandas/__init__.py b/datacommons_pandas/__init__.py index 8e15b457..c593ca80 100644 --- a/datacommons_pandas/__init__.py +++ b/datacommons_pandas/__init__.py @@ -14,6 +14,16 @@ # isort: skip_file +import warnings + +warnings.warn( + "\n\n'datacommons_pandas' is deprecated and will no longer be updated.\n" + "Please migrate to the 'datacommons_client' package.\n" + "Migration guide: https://docs.datacommons.org/api/python/v2/migration.html\n" + "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 ################################ diff --git a/datacommons_pandas/setup.py b/datacommons_pandas/setup.py index 7335c23f..0d7329f8 100644 --- a/datacommons_pandas/setup.py +++ b/datacommons_pandas/setup.py @@ -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'] @@ -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',