Skip to main content

CLI for tiders-x402-server: run a payment-enabled database API server from a YAML config file.

Project description

tiders-x402-server (CLI)

Command-line interface for tiders-x402-server — a payment-enabled database API server that combines analytical databases with the x402 payment protocol, enabling pay-per-query data access using cryptocurrency micropayments.

This package installs a single binary, tiders-x402-server, which runs the server from a YAML config file with no Python or Rust code required. All database backends (DuckDB, PostgreSQL, ClickHouse) are bundled.

Full documentation: https://yulesa.github.io/tiders-x402-server/

Installation

pip install tiders-x402-server
# or
cargo install tiders-x402-server

Usage

tiders-x402-server start [CONFIG]       # start the server (hot-reloads config by default)
tiders-x402-server start --no-watch     # disable config hot-reload
tiders-x402-server validate [CONFIG]    # validate config and test DB connectivity, then exit
tiders-x402-server --help

If CONFIG is omitted, the CLI auto-discovers a single .yaml/.yml file in the current directory that contains server, facilitator, and database keys. A .env file in the current directory (or a parent) is loaded automatically; override with --env-file PATH.

Related packages

License

Licensed under either of Apache License 2.0 or MIT license at your option.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

tiders_x402_server-0.3.0-py3-none-win_amd64.whl (18.7 MB view details)

Uploaded Python 3Windows x86-64

tiders_x402_server-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.9 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

tiders_x402_server-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (19.2 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

tiders_x402_server-0.3.0-py3-none-macosx_11_0_arm64.whl (22.1 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

tiders_x402_server-0.3.0-py3-none-macosx_10_12_x86_64.whl (23.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file tiders_x402_server-0.3.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.3.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 89638005e9cb2d9e7d3affad37417f99cc9a8cd3227167c1117aeb54312f84cd
MD5 8bc7e57e7ae72495ef60a9d5df80b4d0
BLAKE2b-256 184be5853d066f9df352ca9dcf747f1728be61880f613bc19a18ce6a391a77b8

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8ba44fea0fdfa7480488ba81ffb6ddcbc60c0303c7223e6f7206a35b2e1fd2c2
MD5 39b617c9e18560e79ded7bd9ab05fd4f
BLAKE2b-256 8c294bb65710736ed474f1e8a4761e054c89ca9f1e9191d36bc553cd58629674

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2558bd65fffd2cb8265502fa63d399329128f9ae996e5975fc1fde61a8c58677
MD5 3dbdb4cbca2ecc891d44c688fe96091e
BLAKE2b-256 055374c1d2d4aca11ae509232af3a2cc91b39546adc4cc89e11177f9da23e047

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.3.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.3.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dddc94f9bb4c36fd0c7264eddada98b2ccadb3caeeb3073e8039ccad819c1d10
MD5 8b47b38a45811ccc89827b31c0374670
BLAKE2b-256 ec791958e02b4625860a3af7cf12a5bc568c4b2bbb88de3c53365580ab7fb8b8

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.3.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.3.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 113eee158e0612970de123aa2a83c41252531be7ef91866431a5067fb39e8c85
MD5 a72de33ecdd94586f06e96bb8c817cb5
BLAKE2b-256 3479195d077f5b7a58284b7d14c46f266843160de7c4f8a702deeaedb756f7d1

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