World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.
Java ai-catalogdata-catalogdatalakefederated-querylakehousemetadatametalakemodel-catalogopendatacatalogskycomputingstratosphere
[#4442] feat(client-python): Publish Python client to Apache Gravitino official account (#4444)
Xune5cdf0b3c5e6
diff --git a/clients/client-python/.gitignore b/clients/client-python/.gitignoreindex 6fd78c8812..20c0f8c5a1 100644--- a/clients/client-python/.gitignore+++ b/clients/client-python/.gitignore@@ -18,7 +18,7 @@**/.pytest_cache/****/__pycache__/**-gravitino.egg-info+apache_gravitino.egg-infovevnvenv.vevndiff --git a/clients/client-python/build.gradle.kts b/clients/client-python/build.gradle.ktsindex 6a92bd06db..6716f345ba 100644--- a/clients/client-python/build.gradle.kts+++ b/clients/client-python/build.gradle.kts@@ -135,13 +135,13 @@ fun generatePypiProjectHomePage() {}// Use regular expression to match the `` link in the content- // Convert `` to `[](https://raw.githubusercontent.org/apache/gravitino/main/docs/a/b/c.png)`- val assertUrl = "https://raw.githubusercontent.org/apache/gravitino/main/docs"+ // Convert `` to `[](https://github.com/apache/gravitino/blob/main/docs/a/b/c.png?raw=true)`+ val assertUrl = "https://github.com/apache/gravitino/blob/main/docs"val patternImage = """!\[([^\]]+)]\(\./assets/([^)]+)\)""".toRegex()val contentUpdateImage = patternImage.replace(contentUpdateDocs) { matchResult ->val altText = matchResult.groupValues[1]val fileName = matchResult.groupValues[2]- ""+ ""}val readmeFile = file("README.md")diff --git a/clients/client-python/setup.py b/clients/client-python/setup.pyindex 4bf67fc0d8..bf5447dd1c 100644--- a/clients/client-python/setup.py+++ b/clients/client-python/setup.py@@ -24,16 +24,16 @@ try:with open("README.md") as f:long_description = f.read()except FileNotFoundError:- long_description = "Gravitino Python client"+ long_description = "Apache Gravitino Python client"setup(- name="gravitino",- description="Python lib/client for Gravitino",- version="0.7.0.dev",+ name="apache-gravitino",+ description="Python lib/client for Apache Gravitino",+ version="0.7.0.dev0",long_description=long_description,long_description_content_type="text/markdown",url="https://github.com/apache/gravitino",- author="gravitino",+ author="apache-gravitino",author_email="[email protected]",python_requires=">=3.8",packages=find_packages(exclude=["tests*", "scripts*"]),diff --git a/docs/how-to-use-python-client.md b/docs/how-to-use-python-client.mdindex 6531cd97b2..76698ff4db 100644--- a/docs/how-to-use-python-client.md+++ b/docs/how-to-use-python-client.md@@ -119,9 +119,9 @@ You can ues any IDE to develop Gravitino Python Client. Directly open the client## Resources-+ Official website https://gravitino.apache.org/ (coming soon)++ Official website https://gravitino.apache.org/+ Project home on GitHub: https://github.com/apache/gravitino/+ Playground with Docker: https://github.com/apache/gravitino-playground+ User documentation: https://datastrato.ai/docs/+ Videos on Youtube: https://www.youtube.com/@Datastrato-+ Slack Community: [https://the-asf.slack.com++ Slack Community: [https://the-asf.slack.com#gravitino](https://the-asf.slack.com/archives/C078RESTT19)