Skip to main content

Deterministic formatting and registry-driven rendering for FinBench answers

Project description

fina-format-lib

Deterministic formatter + registry package for finbench answer rendering.

Package Metadata

  • Package: fina-format-lib
  • Import: format_lib
  • Author: Potheesh Vignesh K
  • Parent project: finbench

Install

pip install fina-format-lib

Local Setup

python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
pytest tests/ -v

Build & Validate

.\scripts.ps1 -RunTests -Build -SmokeInstall

Publish (separate from existing package)

python -m pip install build twine
python -m build
python -m twine check dist/*
python -m twine upload dist/* -u __token__ -p <PYPI_TOKEN>

Using the same PyPI token is fine as long as package name remains different (fina-format-lib) so it does not mix with previous package.

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

fina_format_lib-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

fina_format_lib-0.1.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file fina_format_lib-0.1.0.tar.gz.

File metadata

  • Download URL: fina_format_lib-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for fina_format_lib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f59641a3080d0d816d591b63ad52b0cbd2814432e4ea8b734e1d45be1998d0e4
MD5 3eda0e1f883c3905ad236c320b157546
BLAKE2b-256 9e82f345cb015f7f5bbbe22a322c0261f479bc40b0b94846831092db4cd45a3c

See more details on using hashes here.

File details

Details for the file fina_format_lib-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fina_format_lib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a11c0796cc60ac823c0edb5553f6cc4b119142224b260c395bc9be56c89c5e54
MD5 2681b456f20c07758add528992ea0a5a
BLAKE2b-256 268ca81515d161cfd28f0bbabee30dbd003291d86de33b991ccb576312fa8a28

See more details on using hashes here.

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