Skip to main content

RefKit

Parse bibliography data, render citations and bibliographies, and edit raw BibTeX from Python. RefKit accepts BibTeX, BibLaTeX, and Hayagriva YAML, with Citation Style Language rendering into text, HTML, and structured trees.

Documentation · Python reference · Polars

Render a citation

Install in Python 3.11 through 3.14:

python -m pip install refkit
import refkit as rk

library = rk.Library.parse_bibtex("""
@article{doe2024,
  author = {Doe, Jane},
  title = {Fast Citations},
  journal = {Journal of Citation Tests},
  year = {2024}
}
""")
document = rk.Document(library, rk.Style.load("apa"), locale="en-US")
result = document.render([rk.Citation("intro", "doe2024")])

print(result["intro"].text)
print(result.bibliography.text)
(Doe, 2024)
Doe, J. (2024). Fast Citations. Journal of Citation Tests.

Pass related citations in one ordered render call so numbering and disambiguation share the same context. Continue with the Python quickstart.

Use with agents

The refkit package includes an Agent Plugin with version-matched task guidance. An agent that can execute Python can discover the installed workflow:

import refkit.agent

help(refkit.agent)

Agent integration covers discovery and packaged resources.

Choose a workflow

RefKit is alpha software. Public APIs may change before 1.0.

Apache-2.0 license · Upstream notices

Release files for refkit 0.0.7

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

Source distribution (sdist)

Source distribution for refkit 0.0.7
File Size Uploaded
refkit-0.0.7.tar.gz 92.0 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for refkit 0.0.7
File
refkit-0.0.7-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
refkit-0.0.7-cp311-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.11 abi3 PyEmscripten 2026.0+ WebAssembly Details
refkit-0.0.7-cp311-abi3-manylinux_2_34_x86_64.whl CPython 3.11 abi3 Linux glibc 2.34+ x86-64 Details
refkit-0.0.7-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details

Total release size: 10.3 MB

Release files / refkit-0.0.7.tar.gz

Download URL refkit-0.0.7.tar.gz
Size 92.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4ac53c67af647327776db057db7893beb1c3bfefb75e3343660302a7c63758ab
BLAKE2b-256 checksum
How to use checksums
ece24335b2d8b2bebfb11b1aa611646bd115c46ab8a6277e4f8ca2153f1d2eee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / refkit-0.0.7-cp311-abi3-win_amd64.whl

Download URL refkit-0.0.7-cp311-abi3-win_amd64.whl
Size 2.8 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
191fc9f92f3e4b2727ff7d18985e76516c77516762da717d39f278c22fe1d8ba
BLAKE2b-256 checksum
How to use checksums
2bc4726459bccf0fd8a83c24ec7085e1c46fae31c9043d34342285fb4630d31c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / refkit-0.0.7-cp311-abi3-pyemscripten_2026_0_wasm32.whl

Download URL refkit-0.0.7-cp311-abi3-pyemscripten_2026_0_wasm32.whl
Size 2.0 MB
Tags CPython 3.11 PyEmscripten 2026.0+ WebAssembly abi3
SHA-256 checksum
How to use checksums
b6ca2cee020510b776db9d64d269cbf79d6556b38e7da15a8f2bfae3c30e3d14
BLAKE2b-256 checksum
How to use checksums
997867ab1d6c414d49e6386e415313843477b369fdc1fdd059e3933a6d31912e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / refkit-0.0.7-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL refkit-0.0.7-cp311-abi3-manylinux_2_34_x86_64.whl
Size 2.8 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
bdb368609324cc6e68ce7cf18f13c97e265f9cb402afb04f5eb677ff2ab78a9a
BLAKE2b-256 checksum
How to use checksums
1a08536164af0ef983d340ca2df531ca7c54b707b3448cec905c46becc4688b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / refkit-0.0.7-cp311-abi3-macosx_11_0_arm64.whl

Download URL refkit-0.0.7-cp311-abi3-macosx_11_0_arm64.whl
Size 2.6 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
bf61fac47f4454aacc1837b75c5d1ed1fe92d04dc464b21c2407a297ef5c0d8d
BLAKE2b-256 checksum
How to use checksums
3796b5d9fd55338b11b2a8748b8e232990f1e33f90165dcaf90ac2fdeb5d8d13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
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