Skip to main content

Python client for the Furnilytics API (topic/subtopic/dataset).

Project description

furnilytics

Client for the Furnilytics API with hierarchy topic / subtopic / dataset.

Authentication via header X-API-KEY (set FURNILYTICS_API_KEY env var or pass api_key=). Documentation can be found on www.furnilytics.com or contact thijs.meijerink@furnilytics.com

Install (editable for local dev)

pip install -e .

Quick start

import os
import pandas as pd
from furnilytics import Client

os.environ["FURNILYTICS_API_KEY"] = "your_key_here"

cli = Client()  # base_url is fixed to https://furnilytics-api.fly.dev

# Discover
topics_df = cli.list_topics()              # topic-level (one row per subtopic entry)
flat_df   = cli.list_datasets_flat()       # all datasets with topic/subtopic
print(topics_df.head()); print(flat_df.head())

# Inspect dataset
meta_df, columns_df = cli.dataset_info("macro_economics","ppi","woodbased_panels_ppi")
print(meta_df); print(columns_df)

# Query rows (DataFrame)
df = cli.get("macro_economics","ppi","woodbased_panels_ppi", limit=5, country="SE")
print(df)

# Select, order, date window (if dataset has time_column)
df2 = cli.get("macro_economics","ppi","woodbased_panels_ppi",
              select=["date","ppi","country"],
              order_by="date", order_dir="DESC",
              frm="2022-01-01", to="2023-12-31",
              country="SE", limit=100)

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

furnilytics-0.1.3.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

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

furnilytics-0.1.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file furnilytics-0.1.3.tar.gz.

File metadata

  • Download URL: furnilytics-0.1.3.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for furnilytics-0.1.3.tar.gz
Algorithm Hash digest
SHA256 f124b79b649d1d348fb6f8d390454ce72217c38f7a68aa17f5d14b4e734acaaf
MD5 170b15e1cec83f0a71b9b0830280d12d
BLAKE2b-256 e890a9cae034799c6d7caeaa59b38b2546bbaeccbb5da3da48347d3a68f8ed94

See more details on using hashes here.

File details

Details for the file furnilytics-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: furnilytics-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for furnilytics-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ce569972d159a48bad0c21aa46a7e29e7c8a30d86ebe133c523c5cffe83529f5
MD5 02a6bf52700209fe997477b75a1a0c13
BLAKE2b-256 ed05cf30252c410464fbe25f6c7c4c48b09f0c5937a1f805940837a693ee8c8a

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