Skip to main content

vBase REST API Python Client

Project description

vbase-py

vBase REST API Python Client

See documentation and the Swagger UI for more details.


License

This project is licensed under the Apache 2.0 License - see the LICENSE.txt file for details.

Introduction

vBase creates a global auditable record of when data was created, by whom, and how it has changed (collectively, “data provenance”). Data producers can prove the provenance of their data to any external party, increasing its value and marketability. Data consumers can ensure the integrity of historical data and any derivative calculations. The result is trustworthy information that can be put into production quickly without expensive and time-consuming trials.

Verifiable provenance establishes the credibility of data and calculations. For example, if you wish to prove investment skill, the recipient must be sure they are receiving a complete and accurate record of your timestamped trades or portfolios.

vBase resolves several expensive market failures common to financial data. Some of the areas that benefit include:

  • Provably point-in-time datasets
  • Auditable investing track records
  • Sound backtests, historical simulations, and time-series modeling

vBase services do not require access to the data itself, assuring privacy. They also do not rely on centralized intermediaries, eliminating the technical, operating, and business risks of a trusted party controlling your data and its validation. vBase ensures data security and interoperability that is unattainable with legacy centralized systems. It does so by storing digital fingerprints of data, metadata, and revisions on secure public blockchains.

With vBase, creating and consuming provably correct data is as easy as pressing a button.

References

Installation

Install the package using pip:

pip install vbase-api

Quick Start

Getting Your API Key

To use the vBase API, you'll need an API key (Bearer token). You can obtain this from your vBase account settings.

Basic Usage

from vbase_api import VBaseAPIClient

# Initialize the client
client = VBaseAPIClient(api_key="your-bearer-token")

# Stamp some data
stamp = client.create_stamp(data="Important data to be stamped")
print(f"Stamped with CID: {stamp.commitment_receipt.object_cid}")

# List your collections
collections = client.get_collections()
for collection in collections:
    print(f"{collection.name}: {collection.cid}")

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

vbase_api-0.1.2.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

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

vbase_api-0.1.2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file vbase_api-0.1.2.tar.gz.

File metadata

  • Download URL: vbase_api-0.1.2.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vbase_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 04443ea1d4c52e3f2eda59ad4faea3621659793aedee52f08f41ed9e7a7e2555
MD5 80fe8f48b5a2c87c6aab443c089da0bb
BLAKE2b-256 cf95d14fb5fbd1286fbc165167b980960a19db1e489860ba7efe526906878e07

See more details on using hashes here.

Provenance

The following attestation bundles were made for vbase_api-0.1.2.tar.gz:

Publisher: publish-pypi.yml on validityBase/vbase-api-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vbase_api-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: vbase_api-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vbase_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 00c76b4781bca5a7290ac58e7a4350bedd28aff2a0a2161da71e553688298fa4
MD5 b029e14f07dc3378a7235bcb1ae98ac7
BLAKE2b-256 08f35cb8d3f8fa29f44d1317cf38e62cbab909b2d0ae6066eb2660f8dfd57529

See more details on using hashes here.

Provenance

The following attestation bundles were made for vbase_api-0.1.2-py3-none-any.whl:

Publisher: publish-pypi.yml on validityBase/vbase-api-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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