Skip to main content

Your SDK Package

Your SDK Package 是一个用于与你的 API 服务交互的 Python SDK。

安装

可以通过 pip 来安装 Your SDK Package:

pip install test_sdk_jaylen

使用方法

from your_sdk_package import app, DatabaseConnector

使用示例

创建数据库连接

db_connector = DatabaseConnector(host="your_host", user="your_user", password="your_password", database="your_database") db_connector.connect()

调用 API 示例

检查相似性

response = app.post('/check_similarity', json={'name': ['New Title'], 'country': 'Country', 'source_name': 'Source Name'})

打印响应

print(response.json())

配置 你需要配置以下参数才能使用 SDK:

host: 数据库主机地址 user: 数据库用户名 password: 数据库密码 database: 数据库名称 依赖项 Your SDK Package 依赖以下 Python 包:

Flask mysql-connector-python nltk 贡献 欢迎贡献代码!你可以通过提交 Pull Request 来改进这个 SDK。

版权和许可 这个项目使用 MIT 许可证。详细信息请参阅 LICENSE 文件。

Release files for test-sdk-jaylen 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for test-sdk-jaylen 1.0.0
File Size Uploaded
test_sdk_jaylen-1.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for test-sdk-jaylen 1.0.0
File Interpreter ABI Platform
test_sdk_jaylen-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / test_sdk_jaylen-1.0.0.tar.gz

Download URL test_sdk_jaylen-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d3ea285d9ffbc8d78e3e05a6023a86904f8c5ee52903a962edeb03ddcdbc2f86
BLAKE2b-256 checksum
How to use checksums
0b66a1e86ebd4349e9ab3377293ca7f070a9b62f9f6b08d4fbeebc4b3621eb38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.0

Release files / test_sdk_jaylen-1.0.0-py3-none-any.whl

Download URL test_sdk_jaylen-1.0.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eef3e5358150288f775b1cc8e3d5f68a443d9df2184b0242032942ea0c4e25b8
BLAKE2b-256 checksum
How to use checksums
a3bebfa7f5909e1f72e3f6b7aae59df403883285758c7ec62c50581562e9718c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page