Skip to main content

LFKit

CI Docs License PyPI

LFKit is a modular Python toolkit for luminosity function modeling, photometric corrections, and related utilities for cosmological analyses.

It is designed to provide reusable building blocks for working with luminosity functions, magnitude conversions, k-corrections, e-corrections, and photometric response handling in a clear and extensible way.

Features

LFKit currently includes tools for:

  • luminosity function modeling
  • Schechter and evolving luminosity function utilities
  • magnitude and luminosity conversions
  • k-corrections and e-corrections
  • photometric response and filter-related helpers
  • interpolation, validation, and general utility functions

The package is intended to stay modular, so components can be used independently or combined into larger analysis pipelines.

Documentation

View the documentation

Installation

Install LFKit from PyPI:

python -m pip install py-lfkit

Clone the repository and install it locally:

git clone https://github.com/cosmology-kit/lfkit.git
cd lfkit
python -m pip install -e .

Citation

If you use LFKit in your research, please cite it.

@software{sarcevic2026lfkit,
  title   = {LFKit: Luminosity functions and photometric corrections toolkit},
  author  = {Šarčević, Nikolina},
  year    = {2026},
  version = {0.5.1.dev0+g8dbb26ee5.d20260615},
  url     = {https://github.com/cosmology-kit/lfkit}
}

License

MIT License © 2025 Niko Šarčević, Matthijs van der Wild, and contributors.

Metadata

Release files for py-lfkit 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for py-lfkit 0.7.0
File Size Uploaded Provenance Actions
py_lfkit-0.7.0.tar.gz 2.7 MB Without provenance Details for py_lfkit-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py-lfkit 0.7.0
File Interpreter ABI Platform Actions
py_lfkit-0.7.0-py3-none-any.whl Python 3 none any Details for py_lfkit-0.7.0-py3-none-any.whl

Total release size: 3.0 MB

Release files / py_lfkit-0.7.0.tar.gz

Download URL py_lfkit-0.7.0.tar.gz
Size 2.7 MB
Tags Source
SHA-256 checksum
How to use checksums
9ce1352a5a9590c661549ebed7fee23ddbe093e33f5c6598475b871fd788ae54
BLAKE2b-256 checksum
How to use checksums
c6c1d22a7b2203417e6471706b6d3ffa9eab74f6d37a989a5defbb7913c53fa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / py_lfkit-0.7.0-py3-none-any.whl

Download URL py_lfkit-0.7.0-py3-none-any.whl
Size 356.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0446a6c7fcbc8e9ec276b24b561cb8949dbc1009f36e6d27385035456a4d6f4
BLAKE2b-256 checksum
How to use checksums
e7cc8dd6677860e05f561b862fbc3657fe2bfc0a80ef5e814f28e13860215307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for py-lfkit 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page