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.2.0-cp312-cp312-win_amd64.whl (18.4 MB view details)

Uploaded CPython 3.12Windows x86-64

tiders_x402_server-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

tiders_x402_server-0.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (19.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

tiders_x402_server-0.2.0-cp312-cp312-macosx_11_0_arm64.whl (21.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

tiders_x402_server-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl (23.3 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

File details

Details for the file tiders_x402_server-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0919d911c95e0aa7b8f24fa29f90d1e9251d21b8a06708f9f9316b0c4e1bb58b
MD5 c78ee694fd34c6aec0995e6c3ca3ab91
BLAKE2b-256 8fc0adde738908f507e794e66a1bd7da25d94a59937b410392904fc8ba01b74b

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4976d931d6220d5b4d8e1bec39eb70f64312bb1ba4ce81794512d16e661bc9c9
MD5 f087f8caa3f6824c04d34e256583a2cd
BLAKE2b-256 49d20499142775894a759cb2f0b42521762a948af4d165043bfe5a6ebc8ea410

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.2.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5e8d450dd79f14f61380c2f4f1d5316e25320bd9aaf60b4132d2b148f1a98884
MD5 ab2a8ab27dcde847de001b6439c6dba3
BLAKE2b-256 f13fffb1fe9269ce7f4f14a32e9b3052308f9e33c2f4fa62eca12554a391ef70

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 23782b7c754aef3e8256779c245350c283b20a84de5c149d8a88da7b41557382
MD5 688b1c8be106e0be52fc944049eb8036
BLAKE2b-256 b334859c3c01ea72d16ab3b863afe65b5d0aa7037c866e44738c0bacd813c8f8

See more details on using hashes here.

File details

Details for the file tiders_x402_server-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for tiders_x402_server-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 0dd634d5ba5ea0dda76790421ce334416d8fbdb3ce7daf4e17d4cf6712dc61be
MD5 cd37339fd84a9d53c47d240b129f3048
BLAKE2b-256 fa74b01c51e5b3f20376f36475b26d620ab879dbd7422a9dbc834cedfc60fe9e

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