Skip to content

Commit 3f7e6d0

Browse files
authored
Remove obsolete code for deprecated python client (#288)
This PR removes code for the deprecated datacommons and datacommons_pandas packages It also adds a top level README that points to the datacommons-client README and updates the deprecation notice and removes release instructions for the deprecated packages
1 parent f3025e8 commit 3f7e6d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+22
-4517
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Data Commons Python API
2+
3+
This is a Python library for accessing data in the Data Commons Graph.
4+
5+
See the `datacommons-client` [README](datacommons_client/README.md) for details on installation and usage.
6+
7+
## About Data Commons
8+
9+
[Data Commons](https://datacommons.org/) is an open knowledge repository that
10+
provides a unified view across multiple public data sets and statistics. You can
11+
view what [datasets](https://datacommons.org/datasets) are currently ingested
12+
and browse the graph using our [browser](https://datacommons.org/browser).
13+
14+
## License
15+
16+
Apache 2.0
17+
18+
## Support
19+
20+
For questions, please send an email to `support@datacommons.org`.

datacommons/README.md

Lines changed: 1 addition & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1 @@
1-
**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).**
2-
3-
# Data Commons Python API
4-
5-
This is a Python library for accessing data in the Data Commons Graph.
6-
7-
> See also: [Data Commons Pandas API](../datacommons_pandas/README.md).
8-
9-
To get started, install this package from pip.
10-
11-
```bash
12-
pip install datacommons
13-
```
14-
15-
Once the package is installed, import `datacommons`.
16-
17-
```python
18-
import datacommons as dc
19-
```
20-
21-
For more detail on getting started with the API, please visit our
22-
[API Overview](https://docs.datacommons.org/api/).
23-
24-
When you are ready to use the API, you can refer to `examples` for
25-
examples on how to use this package to perform various tasks. More tutorials and
26-
documentation can be found on our [tutorials page](https://docs.datacommons.org/tutorials/)!
27-
28-
## About Data Commons
29-
30-
[Data Commons](https://datacommons.org/) is an open knowledge repository that
31-
provides a unified view across multiple public data sets and statistics. You can
32-
view what [datasets](https://datacommons.org/datasets) are currently ingested
33-
and browse the graph using our [browser](https://datacommons.org/browser).
34-
35-
## License
36-
37-
Apache 2.0
38-
39-
## Support
40-
41-
For general questions or issues about the API, please open an issue on our
42-
[issues](https://github.com/google/datacommons/issues) page. For all other
43-
questions, please send an email to `support@datacommons.org`.
1+
**DEPRECATED: This library has been deprecated. 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).**

datacommons/__init__.py

Lines changed: 0 additions & 45 deletions
This file was deleted.

datacommons/core.py

Lines changed: 0 additions & 256 deletions
This file was deleted.

datacommons/examples/__init__.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)