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

Uploaded Python 3

File details

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

File metadata

  • Download URL: furnilytics-0.2.3.tar.gz
  • Upload date:
  • Size: 4.6 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.3.tar.gz
Algorithm Hash digest
SHA256 b6f1350d61ea48854f12ceccd6bc1f96cfd68d85e9c8f8b01a086f862d311d91
MD5 f2762fb2bcba41976fb78e4500cb2572
BLAKE2b-256 a100a7404d397e26fc1c73fb8aebd3674da461becc46cf55658aa78d2ab8ebcf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: furnilytics-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 5.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 31dacd9a56fba06e38a947a3f74a3c830b63cb9a009dd82c7dfbc66252ea0017
MD5 110b1c3b2c42f3985fe0fc50da57dc94
BLAKE2b-256 4f24e528c6aaab02aa7633dce9b601d7171667f0469d9e25339e8fd68885079b

See more details on using hashes here.

Provenance

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