Skip to main content

Formula 1 historical and telemetry datasets with DuckDB

Project description

DuckF1

Hello, and welcome to DuckF1! It’s a collection of datasets for all things related to Formula 1. It uses parquets files and DuckDB for storage and compute, making it available on every platform and can queried in almost any programming language.

[!WARNING] This project is in active development and does not guarantee compatibility between minor versions until the first major release. The table definitions are prone to changes and you might need to adapt your custom queries.

Installation

DuckF1 is available on PyPi and support Python 3.9 through version 3.11. It is strongly recommended that you install the duck-f1 cli with pipx. It will create its own dedicated environment while making the project available globally. The project required the dbt cli with the duckdb module to be installed.

# Install the dbt cli
pipx install dbt-core
pipx inject dbt-core dbt-duckdb

# Install the duck-f1 cli
pipx install duck-f1

Building the database

To get started on generating the database, you can execute the duck-f1 run command. By default, it will capture the historical data as well as the telemetry data for the last Grand Prix weekend.

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

duck_f1-0.2.0.tar.gz (14.4 MB view details)

Uploaded Source

Built Distribution

duck_f1-0.2.0-py3-none-any.whl (18.3 MB view details)

Uploaded Python 3

File details

Details for the file duck_f1-0.2.0.tar.gz.

File metadata

  • Download URL: duck_f1-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.1 CPython/3.11.9 Linux/6.10.4-linuxkit

File hashes

Hashes for duck_f1-0.2.0.tar.gz
Algorithm Hash digest
SHA256 73ae5844838d7fb551306e08ed9c33efb85647b3f2f91f876fdd88650456a6aa
MD5 551cf109f7fb167b758cf2e72f4d70c8
BLAKE2b-256 ad3bd32b68773dd0df5f8614f7d1be5ff08b2f6c40018f980dbd3e3b9836091c

See more details on using hashes here.

File details

Details for the file duck_f1-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: duck_f1-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.19.1 CPython/3.11.9 Linux/6.10.4-linuxkit

File hashes

Hashes for duck_f1-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be8e9374b3bc0d629892e86a7c41ae3f3b6e5b9612cfdeee1b939371932ff810
MD5 b52cbda2d0fbec106c7883664e602c3e
BLAKE2b-256 575c895acfe65fd481bd2e9bc1a5e45e261d2f89f2d8134525672b9dbd8e7cac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page