Skip to main content

A SDK for interacting with your API service

Project description

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 文件。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

test_sdk_jaylen-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

test_sdk_jaylen-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file test_sdk_jaylen-1.0.0.tar.gz.

File metadata

  • Download URL: test_sdk_jaylen-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.0

File hashes

Hashes for test_sdk_jaylen-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d3ea285d9ffbc8d78e3e05a6023a86904f8c5ee52903a962edeb03ddcdbc2f86
MD5 b415791415b51fe9ed95918f7160b8f7
BLAKE2b-256 0b66a1e86ebd4349e9ab3377293ca7f070a9b62f9f6b08d4fbeebc4b3621eb38

See more details on using hashes here.

File details

Details for the file test_sdk_jaylen-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for test_sdk_jaylen-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eef3e5358150288f775b1cc8e3d5f68a443d9df2184b0242032942ea0c4e25b8
MD5 831d045483e81c28cdd15df92d488b05
BLAKE2b-256 a3bebfa7f5909e1f72e3f6b7aae59df403883285758c7ec62c50581562e9718c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page