Skip to main content

Export Yahoo Fantasy Football data from historical records and live data.

Project description

TODO

Downloads Stable Version Code style: black Ruff Checked with mypy pypi license python versions Actions status Build Status Documentation Status

  1. Data Loader:
    • Get Data from the yahoo api
    • Split accross seperate "Loaders" within Mage
    • Export Raw Json to Supabase
  2. Transform Raw Json:
    • Transform data from raw json to parsed json
    • Export parsed json
  3. Transform Parsed Json:
    • Transform parsed json to tabular form
    • Export to public schema

Process

  • Query yahoo api
    • DONE
  • TODO:
    • Split across multiple "blocks" for each "live" api connection needed
      • Could use multiple api keys to help with rate limiting and speed
    • Once queried, data should load to database immediately
      • Jsonb format in postgresql
      • yahoo_data.raw_json
    • Transformation 1
      • Convert data to "parsed_json"
      • Upload to yahoo_data.parsed_json
    • Transformation 2
      • Convert to tabular format
      • Upload to yahoo_data.public

Need to knows

  • How to use the yahoo_api package created within Mage?
  • Should I be using SQLAlchemy or could is suffice with psycopg (perferably v3, but can use v2 if needed)
    • Should this be Async?
    • Would multiple api calls/inserts affect ACID/locks?
    • If so, probably should use ORM?

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

yahoo_export-1.0.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

yahoo_export-1.0.2-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file yahoo_export-1.0.2.tar.gz.

File metadata

  • Download URL: yahoo_export-1.0.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for yahoo_export-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8be435eb315cfde4cdabac084f8b4593736676b5c39c2e3f9adeacec7204d28d
MD5 d65a6bab95da0ef30627b2179ca809b0
BLAKE2b-256 0fe18bd3cda5ec0e03b49d295de4e8e78cb45475cb9f35c4f240b93e6cef4efd

See more details on using hashes here.

File details

Details for the file yahoo_export-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: yahoo_export-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.24.1

File hashes

Hashes for yahoo_export-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1443e2b0f4ab1ceb138d06237c7e25e5db2acc66107020cc422b74552d4d52f0
MD5 e999d2c661fa9cbf8c6249dc7d15dcab
BLAKE2b-256 4be80b2da432adf826ba84f8643ac48fc2b414303164035bfdddec14def43b2f

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