Skip to main content

Fixed-income analytics library with responsibility-first package boundaries.

Project description

fuggers-py

Docs

fuggers-py is a fixed-income analytics library organized by responsibility-first package boundaries.

Public docs: fuggers-py.readthedocs.io. Current feature readiness and the pre-1.0 stability policy are documented in docs/STATUS.md.

Status

  • fuggers-py is still pre-1.0.
  • Core bond, curve, inflation, and analytics workflows are already substantial and well-tested.
  • Some newer or broader surfaces, especially fitted-bond workflows, volatility surfaces, and parts of the runtime/integration layer, are still moving and may change before 1.x.
  • Backwards compatibility is not promised yet. The plan is to formalize that policy starting with the first 1.x release.

Package layout

  • fuggers_py.core: primitives, calendars, daycounts, shared ids, common low-level types
  • fuggers_py.reference: conventions, security metadata, contract specs, index metadata
  • fuggers_py.market: market state, quote/fixing objects, indices, and curves
  • fuggers_py.products: contract definitions by product family
  • fuggers_py.pricers: valuation engines and low-level risk algorithms
  • fuggers_py.measures: user-facing analytics and desk-style measures
  • fuggers_py.portfolio: holdings, aggregation, attribution, liquidity, ETF, stress, results
  • fuggers_py.calc: orchestration, dispatch, graph execution, and runtime wiring
  • fuggers_py.adapters: file, storage, JSON, transport, and external-boundary adapters
  • fuggers_py.math: numerical infrastructure

See docs/SRC_STRUCTURE.md for the directory-by-directory structure under src/fuggers_py/. See docs/MODULE_REFERENCE.md for the full file-by-file module inventory of the live source tree. See docs/STATUS.md for what is ready today, what is still scaffold-only, and what is expected to change before 1.x.

Quick start

from decimal import Decimal

from fuggers_py.calc import PricingSpec
from fuggers_py.core import Currency, Date, Price
from fuggers_py.market.state import AnalyticsCurves, QuoteSide

as_of = Date.from_ymd(2026, 1, 15)
clean_price = Price.new(Decimal("99.125"), Currency.USD)
spec = PricingSpec(quote_side=QuoteSide.MID)
curves = AnalyticsCurves()

Development

Install the project in editable mode:

python -m pip install -e ".[dev,engine,examples]"

Run the test suite:

pytest -q

Build the docs locally:

python -m pip install -e ".[docs]"
make docs

The built site will be available at docs/_build/html/index.html.

Examples live under examples/ as paired research scripts and notebooks where applicable. Library code lives under src/. The test suite is split into tests/unit/, tests/integration/, and tests/contracts/.

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

fuggers_py-0.2.3.tar.gz (991.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fuggers_py-0.2.3-py3-none-any.whl (578.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fuggers_py-0.2.3.tar.gz
Algorithm Hash digest
SHA256 ca353e1e67d38ccd760b305dd380edc3673a841aee942b5d2578055b6b3dd179
MD5 61106b69a993d977d7a055477fbc2776
BLAKE2b-256 992f3635dafcc970fe63a8a1c7223e1dabf21804876960d01228bd9448f5e9a2

See more details on using hashes here.

Provenance

The following attestation bundles were made for fuggers_py-0.2.3.tar.gz:

Publisher: release.yml on stanislawkubik/fuggers-py

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

File details

Details for the file fuggers_py-0.2.3-py3-none-any.whl.

File metadata

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

File hashes

Hashes for fuggers_py-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 03880d556dfa390f1c8246846b9ecffe9aca373e1dee6d45956ddf2be18a009c
MD5 c9b6b9ea776e4a45f81e10558b4ffaf0
BLAKE2b-256 e402a84cefdb768a6c91ef0358b631877d3aea1934989063295953146ccbc80e

See more details on using hashes here.

Provenance

The following attestation bundles were made for fuggers_py-0.2.3-py3-none-any.whl:

Publisher: release.yml on stanislawkubik/fuggers-py

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