Skip to main content

Official Python SDK for Synapse by Keaton Technologies

Project description

keatpy

Official Python SDK for Synapse by Keaton Technologies.

One API key. Currency, weather, stocks, news, and Wikipedia — unified.

Install

pip install keatpy

Quick Start

from keatpy import Synapse

client = Synapse(api_key="syn_yourkey")

# Currency conversion
result = client.currency.convert("CAD", "USD", 100)
print(f"100 CAD = {result.result} USD")

# Weather
w = client.weather.current("Vancouver")
print(f"{w.city}: {w.temperature}°C, {w.description}")

# Stock quote
s = client.stocks.quote("NVDA")
print(f"NVDA: ${s.price} ({s.change_pct})")

# Wikipedia
wiki = client.wiki.search("quantum computing", sentences=2)
print(wiki.summary)

# News
news = client.news.search("PC hardware", limit=3)
for article in news.articles:
    print(article.title, "—", article.source)

Get an API Key

Visit keatontechnologies.com/synapse

License

MIT

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

keatpy-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keatpy-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file keatpy-0.1.0.tar.gz.

File metadata

  • Download URL: keatpy-0.1.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for keatpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b51908cd5e5d6bb0a0c34f9216d7f4f89cdcb2f86b2b6099ba93fdcdf4ca4254
MD5 1543a92a866ba7513559896f54bf318c
BLAKE2b-256 68cd2641acaed303dfb55b7d5053a94adec4db99804d4bfa8ad5f329966e2db0

See more details on using hashes here.

File details

Details for the file keatpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: keatpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for keatpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 35031e43a71140010a225fec79b285a3e504c60e69d85be9824dafa3cb9815a6
MD5 687ecb9004fdda9ab8d4774ba3ec55ed
BLAKE2b-256 a1015da69cdbcb89615ee2fcca14fe2f35b23f8b8146f81edfb98c9125ae591e

See more details on using hashes here.

Supported by

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