semvec/pypi-packages huggingface dataset:
jambase-api 1.0.0
Python API wrapper for Jambase API
License: MIT
Requires Python: >=3.9

# jambase_api

Python API wrapper for the [Jambase Concert API](https://www.jambase.com/concert-api)

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install jambase_api.

```bash
pip install jambase_api
```

## API Keys
To get an API key, go to [Jambase](https://www.jambase.com/concert-api) and click Access API Docs in the upper right corner. As of this writing, their typical rate limit is a generous 3600 API calls per hour, which can be extended for an additional cost.

## Usage

```python
import jambase_api.jambase import Jambase

# initialize jambase object with your api key
jambase = Jambase(apikey='YOUR_API_KEY_HERE')

# returns list of states
states = jambase.get_states()

# search artists
artists = jambase.search_by_artist_by_name('goose')

# search events by venue
events = jambase.search_events_by_artist_name('taylor swift')
```

## Development setup

Clone this repo and install packages listed in requirements.txt
```python
pip3 install -r requirements.txt
```

## Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

Please add or update tests as appropriate.

## License

[MIT](https://choosealicense.com/licenses/mit/)
yahoo-export 3.0.1
Export Yahoo Fantasy Football data from historical records and live data.
License: MIT
Requires Python: >=3.10
Keywords: api,data,export,fantasy,football,yahoo

# TODO

[![Downloads](https://img.shields.io/pypi/dm/mypy)](empty)
[![Stable Version](https://img.shields.io/pypi/v/mypy?color=blue)](empty)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
[![pypi](https://img.shields.io/pypi/v/ruff/0.0.287.svg)](empty)
[![license](https://img.shields.io/pypi/l/ruff/0.0.287.svg)](empty)
[![python versions](https://img.shields.io/pypi/pyversions/ruff/0.0.287.svg)](empty)
[![Actions status](https://github.com/astral-sh/ruff-pre-commit/workflows/main/badge.svg)](empty)
[![Build Status](https://github.com/python/mypy/actions/workflows/test.yml/badge.svg)](empty)
[![Documentation Status](https://readthedocs.org/projects/mypy/badge/?version=latest)](empty)

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?