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("prices","panels","woodbased_panels_ppi")
print(meta_df); print(columns_df)

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

# Select, order, date window (if dataset has time_column)
df2 = cli.get("prices","panels","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.1.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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: furnilytics-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e87059d2a516343b75b7cde1ea98c3811496ba624d3749ff56d5abc6cf87444b
MD5 73c151a1e8fb2c892a0a6edcde69ec5a
BLAKE2b-256 b0447864ef32082a001db9a58719c531a1becd6f9c5bf36549a8ded0945a11aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: furnilytics-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d037f9821f88d7e19ee98dfa929ed0e5299f78486a5f0b6c5b0def9581b00454
MD5 b6f89629e9cd0194ca3fe849c095913f
BLAKE2b-256 9c22b865ac649789d155b1c521502741dd0d465c4f412b5d178e6d7639470dd5

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