Skip to main content

Python client for the Furnilytics API.

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.2.0.tar.gz (2.7 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.2.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: furnilytics-0.2.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for furnilytics-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a644cc553ffabdc5a447b6cc6f8f10c040d73a425ee5ff543e4bf8e1e3531c20
MD5 49396919eb13abf1d15c7406f3ac5cbe
BLAKE2b-256 df677497d2e12c74b85cd83f7a6e132e405f66ad7e05e412eddaf6a9d393d9f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for furnilytics-0.2.0.tar.gz:

Publisher: publish.yml on Furnilytics/Furnilytics_lib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: furnilytics-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for furnilytics-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 371bac51ad0e14837269e9bf137c5945bb4f4b590464ebac7908b6b92afa7ab8
MD5 5589fa91c47e2359d7001375be2d4cc5
BLAKE2b-256 2c1eb38e836fe795ed7dfb9eeb13077f45dcc060fcc016370f273ffb7f1ed201

See more details on using hashes here.

Provenance

The following attestation bundles were made for furnilytics-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Furnilytics/Furnilytics_lib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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