Skip to main content

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

Project description

fuggers-py

fuggers-py is a fixed-income research and production library organized by responsibility-first package boundaries.

Docs start at docs/index.md. Shared unit and sign conventions for public APIs are documented in docs/conventions.md. Docstring expectations for generated API docs are documented in docs/docstring_standard.md.

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.

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.2.tar.gz (1.7 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.2.2-py3-none-any.whl (580.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fuggers_py-0.2.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • 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.2.tar.gz
Algorithm Hash digest
SHA256 562a9327336b784e6a4fdaa977464fc70a306dcd3f448e32efd5e436a9fd80d7
MD5 ab374ec60f45558975f2badae94264f8
BLAKE2b-256 149985296cf85fe6a571bc79213173a94e7b230c39c6b5e676fca188a6eae969

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fuggers_py-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 580.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 113bc6bfbb25f7ec2d256a378844266710d66b769e4ad35a8e0b5e3db93c10bc
MD5 3d6dcd71b7f7edb5ed475a3d738451ef
BLAKE2b-256 37a1aeddf36412d1445cbd87ee59d3358c22adda6bf84a4b2f188ed6b0f62646

See more details on using hashes here.

Provenance

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