Skip to main content

Python package with helper functions for the Data team.

Project description

fb_data

fb_data is a Python package maintained by the Data team at FishingBooker which simplifies data workflows by providing helper functions for interacting with:

  • Snowflake: Streamlined query execution, DataFrame integration, and privilege management.
  • Google Analytics (GA4): Query analytics data in raw or DataFrame format.
  • Google Search Console: Extract search performance data efficiently.

📦 Installation

Install the package using pip:

pip install fb_data

📚 Supported Modules

1. Snowflake Helper

The Snowflake module provides methods to interact with your Snowflake database.

Features:

  • Execute SQL queries with results in raw or Pandas DataFrame format.
  • Write DataFrames to Snowflake tables.
  • Manage database, schema, and object privileges.

2. Google Analytics Helper

Simplifies interactions with Google Analytics API (GA4).

Features:

  • Query analytics data with custom dimensions and metrics.
  • Retrieve results in raw or Pandas DataFrame format.

3. Google Search Console Helper

Provides easy access to Google Search Console API.

Features:

  • Extract search performance data for specific dimensions and metrics.
  • Handle large data extractions with pagination support.

🤝 Contributing

  • Ensure you have Poetry installed for dependency management and packaging.
  • This project follows Semantic Versioning 2.0.0. When making changes, increment the version number in the pyproject.toml file based on the nature of the change:
    • Patch: Bug fixes or minor updates (e.g., 1.0.0 → 1.0.1).
    • Minor: New features that are backward-compatible (e.g., 1.0.0 → 1.1.0).
    • Major: Breaking changes (e.g., 1.0.0 → 2.0.0).

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

fb_data-1.0.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

fb_data-1.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file fb_data-1.0.1.tar.gz.

File metadata

  • Download URL: fb_data-1.0.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.0 Darwin/24.1.0

File hashes

Hashes for fb_data-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8822a1774e8bcddb1e0fb36b4e8ef93d53626c7f8fa75556cef1c5948a435531
MD5 6907aab09c376ae55931902140a3f602
BLAKE2b-256 909da594fe07ed99ddc43b9af51a0111acfa044ff85863ca6cfc6c7f9d912f65

See more details on using hashes here.

File details

Details for the file fb_data-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fb_data-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.13.0 Darwin/24.1.0

File hashes

Hashes for fb_data-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 870af1dc9cdff679831450d5adef11c0e9fb99303b6c1bb4887d183ec39fe7b7
MD5 33435d5fbb08f729c31feb93de15a4c3
BLAKE2b-256 60333092c33efe2d0e2ac0507b2002bfbbc3665909ad201b04b26a6f554186d4

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