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.2.tar.gz (5.2 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.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: furnilytics-0.1.2.tar.gz
  • Upload date:
  • Size: 5.2 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.2.tar.gz
Algorithm Hash digest
SHA256 9180df6fbebf14a474bce58f60016a1d578ed7a84759e5db979b1c895433ab36
MD5 7bd711ac5a91f22713e5aa41dc6d641f
BLAKE2b-256 f0f95a681210eebca1dacb1821259344a921ccec7d1c7f60a8d970546da85e92

See more details on using hashes here.

File details

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

File metadata

  • Download URL: furnilytics-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d06e704f2729074f8ab99678998768122ddcb28067e62f8f2c079d232f68c6b5
MD5 d2a06f4e38c30556c7effa5e83f8ca7a
BLAKE2b-256 16625f4dd9eb1321a4286c2c05ac6e562d649edd798580d67744b638571ea5aa

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