Skip to main content

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

Project description

fuggers-py

fuggers-py logo

Docs

fuggers-py is a fixed-income analytics library with domain-first public modules.

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.
  • The curve-fitting API is closest to the intended final shape. Use fuggers_py.curves and YieldCurve.fit(...) for the current public curve workflow.
  • The broader bond, rates, funding, credit, inflation, and portfolio surfaces are substantial and tested, but they are still being simplified before 1.x.
  • 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.curves: fitted curve objects and curve fitting inputs
  • fuggers_py.vol_surfaces: volatility surface records and surface sources
  • fuggers_py.bonds: bond instruments, quotes, pricing, risk, spreads, and YAS-style tools
  • fuggers_py.rates: swaps, futures, swaptions, fixing storage, and rates pricing or risk
  • fuggers_py.inflation: CPI helpers, inflation swaps, and inflation analytics
  • fuggers_py.credit: CDS instruments, quotes, pricing, and bond-CDS basis analytics
  • fuggers_py.funding: repo trades, repo or haircut quotes, and financing analytics
  • fuggers_py.portfolio: holdings, aggregation, attribution, liquidity, ETF, stress, results
  • Shared types such as Date, Currency, Price, Yield, InstrumentId, and Tenor come from the fuggers_py root

Internal implementation roots such as _core, _math, _runtime, and _storage are not public API.

See docs/SRC_STRUCTURE.md for the directory-by-directory structure under src/fuggers_py/. See docs/MODULE_REFERENCE.md for the archived module-reference note from before the public API cutover. 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 import Currency, Date, Price
from fuggers_py.bonds import FixedBondBuilder

as_of = Date.from_ymd(2026, 1, 15)
clean_price = Price.new(Decimal("99.125"), Currency.USD)
builder = FixedBondBuilder.new()

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.3.0.tar.gz (1.1 MB 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.3.0-py3-none-any.whl (514.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fuggers_py-0.3.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for fuggers_py-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fd84ac09d1270b3a52876965e5da2061d68b8daf57b6ee26d7d460be718ed51c
MD5 f237e9aaca2e985d7efd57b82ffd7a37
BLAKE2b-256 fdfb3d180d1c93a539c5b2a362c14a62297ab16eed4eeabc3b3e2858f75424bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for fuggers_py-0.3.0.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.3.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for fuggers_py-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3318f9b5ebc86350f00b1c28dc23b2cbc640d16ad0b968ab0b78e53d3e0af6dc
MD5 05a3adb79fa2f8c9a783cf9c4bc1fd77
BLAKE2b-256 80eb1a26ec2a9628cb246b8a051b9bd6bb0a9021668af0a0837c7f433a3a8969

See more details on using hashes here.

Provenance

The following attestation bundles were made for fuggers_py-0.3.0-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