> For the complete documentation index, see [llms.txt](https://docs.vbase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vbase.com/python-blockchain-sdk-vbase-advanced/index.md).

# Samples

## Contents

* [vBase Python Samples Quickstart](/python-blockchain-sdk-vbase-advanced/python-quickstart-readme/quickstart-1.md)
  * [1. Get a vBase API key](/python-blockchain-sdk-vbase-advanced/python-quickstart-readme/quickstart-1.md#get-a-vbase-api-key)
  * [2. Install the samples](/python-blockchain-sdk-vbase-advanced/python-quickstart-readme/quickstart-1.md#install-the-samples)
  * [3. Configure the environment](/python-blockchain-sdk-vbase-advanced/python-quickstart-readme/quickstart-1.md#configure-the-environment)
  * [4. Verify the setup](/python-blockchain-sdk-vbase-advanced/python-quickstart-readme/quickstart-1.md#verify-the-setup)
  * [5. Configure Amazon S3](/python-blockchain-sdk-vbase-advanced/python-quickstart-readme/quickstart-1.md#configure-amazon-s3)
* [Create a Collection](/python-blockchain-sdk-vbase-advanced/index/create_set.md)
  * [Before you run it](/python-blockchain-sdk-vbase-advanced/index/create_set.md#before-you-run-it)
  * [How it works](/python-blockchain-sdk-vbase-advanced/index/create_set.md#how-it-works)
* [Add and Verify a String Record](/python-blockchain-sdk-vbase-advanced/index/add_string_dataset_record.md)
  * [Before you run it](/python-blockchain-sdk-vbase-advanced/index/add_string_dataset_record.md#before-you-run-it)
  * [Stamp the record](/python-blockchain-sdk-vbase-advanced/index/add_string_dataset_record.md#stamp-the-record)
  * [Verify the record](/python-blockchain-sdk-vbase-advanced/index/add_string_dataset_record.md#verify-the-record)
* [Use the vBase API Client from Async Code](/python-blockchain-sdk-vbase-advanced/index/add_string_dataset_record_async.md)
  * [Why a worker thread is used](/python-blockchain-sdk-vbase-advanced/index/add_string_dataset_record_async.md#why-a-worker-thread-is-used)
  * [Run the sample](/python-blockchain-sdk-vbase-advanced/index/add_string_dataset_record_async.md#run-the-sample)
* [Restore Dataset Provenance after an S3 Copy](/python-blockchain-sdk-vbase-advanced/index/restore_dataset_provenance.md)
  * [Before you run it](/python-blockchain-sdk-vbase-advanced/index/restore_dataset_provenance.md#before-you-run-it)
  * [Workflow](/python-blockchain-sdk-vbase-advanced/index/restore_dataset_provenance.md#workflow)
* [Stamp an Interactive Brokers Portfolio](/python-blockchain-sdk-vbase-advanced/index/stamp_interactive_brokers_portfolio.md)
  * [Prerequisites](/python-blockchain-sdk-vbase-advanced/index/stamp_interactive_brokers_portfolio.md#prerequisites)
  * [Run the sample](/python-blockchain-sdk-vbase-advanced/index/stamp_interactive_brokers_portfolio.md#run-the-sample)
* [Stamp an Alpaca Portfolio](/python-blockchain-sdk-vbase-advanced/index/stamp_alpaca_portfolio.md)
  * [Prerequisites](/python-blockchain-sdk-vbase-advanced/index/stamp_alpaca_portfolio.md#prerequisites)
  * [Run the sample](/python-blockchain-sdk-vbase-advanced/index/stamp_alpaca_portfolio.md#run-the-sample)
* [GitHub Codespaces Guide](https://github.com/validityBase/docs/tree/main/vbase-py-samples/github_codespaces_guide.md)
  * [Configure the API key](https://github.com/validityBase/docs/tree/main/vbase-py-samples/github_codespaces_guide.md#configure-the-api-key)
  * [Open and prepare the codespace](https://github.com/validityBase/docs/tree/main/vbase-py-samples/github_codespaces_guide.md#open-and-prepare-the-codespace)
* [Windows vBase Setup Guide](/python-blockchain-sdk-vbase-advanced/windows_guide.md)
  * [1. Install Python and Git](/python-blockchain-sdk-vbase-advanced/windows_guide.md#1-install-python-and-git)
  * [2. Get the samples](/python-blockchain-sdk-vbase-advanced/windows_guide.md#2-get-the-samples)
  * [3. Create the environment](/python-blockchain-sdk-vbase-advanced/windows_guide.md#3-create-the-environment)
  * [4. Configure vBase](/python-blockchain-sdk-vbase-advanced/windows_guide.md#4-configure-vbase)
  * [5. Run a sample](/python-blockchain-sdk-vbase-advanced/windows_guide.md#5-run-a-sample)
* [Windows Subsystem for Linux (WSL) vBase Setup Guide](/technical-reference/windows_subsystem_for_linux_guide.md)
  * [1. Install Windows Subsystem for Linux (WSL)](/technical-reference/windows_subsystem_for_linux_guide.md#install-windows-subsystem-for-linux-wsl)
  * [2. Install Python](/technical-reference/windows_subsystem_for_linux_guide.md#install-python)
  * [3. Install Git](/technical-reference/windows_subsystem_for_linux_guide.md#install-git)
  * [4. Clone the vbase-py-samples Git Repository](/technical-reference/windows_subsystem_for_linux_guide.md#clone-the-vbase-py-samples-git-repository)
  * [5. Install the Samples](/technical-reference/windows_subsystem_for_linux_guide.md#install-the-samples)
  * [6. Run Jupyter Lab and Open a Notebook](/technical-reference/windows_subsystem_for_linux_guide.md#run-jupyter-lab-and-open-a-notebook)
