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.5.tar.gz (5.0 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.5-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: furnilytics-0.2.5.tar.gz
  • Upload date:
  • Size: 5.0 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.5.tar.gz
Algorithm Hash digest
SHA256 a0781925271014bcdad7683ed8a9abd3999b0e65ae3bc8e86ecdc2692a825e58
MD5 dca48ab84411231291d58b24f4466b0e
BLAKE2b-256 ce498e418e5891443ec122f5b27307ce81294a4f854948b9135e73ba9cea7259

See more details on using hashes here.

Provenance

The following attestation bundles were made for furnilytics-0.2.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: furnilytics-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 701b67f1cb1a616cec9cc05aa2f0fd8a57f86c7f6bdbe5b0873d2e45b46b4776
MD5 a071412a050205f79a5a7b58bf137589
BLAKE2b-256 09a762744e38ab61731f709061c9445edf601108c92be2942c9e7d3977cbc535

See more details on using hashes here.

Provenance

The following attestation bundles were made for furnilytics-0.2.5-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