Skip to main content

A wrapper package around the schwab http api

Project description

Schwab API Wrapper

schwab-api-wrapper

Redis configuration

When using RedisClient, the Redis connection is configured via a JSON file (see redis_config.json).

TLS / SSL options

You can control transport security with two optional keys:

  • ssl (bool): enable TLS for the Redis connection
  • ssl_verify (bool): when ssl: true, verify the server certificate

Backwards-compatible behavior:

  • If ssl is omitted, the client behaves like older versions: TLS is enabled when ca_cert_path is present; otherwise the connection is plaintext.
  • If ssl is true and ssl_verify is omitted, verification defaults to true.

Examples

Plaintext (insecure):

{
  "host": "localhost",
  "port": 6379,
  "password": "your_password",
  "encryption_key": "your_fernet_key",
  "ssl": false
}

TLS with certificate verification (recommended):

{
  "host": "your.redis.host",
  "port": 6379,
  "password": "your_password",
  "encryption_key": "your_fernet_key",
  "ssl": true,
  "ssl_verify": true,
  "ca_cert_path": "path/to/ca.crt"
}

TLS without certificate verification (insecure; vulnerable to MITM):

{
  "host": "your.redis.host",
  "port": 6379,
  "password": "your_password",
  "encryption_key": "your_fernet_key",
  "ssl": true,
  "ssl_verify": false
}

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

schwab_api_wrapper-0.3.1.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

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

schwab_api_wrapper-0.3.1-py3-none-any.whl (35.8 kB view details)

Uploaded Python 3

File details

Details for the file schwab_api_wrapper-0.3.1.tar.gz.

File metadata

  • Download URL: schwab_api_wrapper-0.3.1.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for schwab_api_wrapper-0.3.1.tar.gz
Algorithm Hash digest
SHA256 acddd2325eaff786fa47d6879338a74577fc3a930060e4d77b3bcda867eb7dbe
MD5 38b916be26e2972aa0de02b51bbd3dfc
BLAKE2b-256 2abd6267f0b33fd656631bc80cd79863fb378ffd272175fc71ef11fd7158cf48

See more details on using hashes here.

File details

Details for the file schwab_api_wrapper-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for schwab_api_wrapper-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ab19ae135aa66e6a4b90263df0461ee64be463c05623d774b9212c7ad639387
MD5 bc990d7ee833aad511dd2cc0dc84c7e1
BLAKE2b-256 20b21360514bd15613f0d09389ea343824d3ee038b24418b75b46d05ec159083

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