Skip to main content

Crates.io Version GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Actions Workflow Status GitHub Actions Workflow Status PyPI - Version

crate2bib

Converts a given crate and version number to a BibLaTeX entry.

The crate will try to determine if a publication is already available by scanning for possible CITATION.cff files. It will further generate entries from the information available at crates.io. There are 4 distinct ways of using this package:

  1. Webapp jonaspleyer/.github.io/crate2bib
  2. Python bindings pypi.org/project/crate2bib
  3. CLI tool crate2bib-cli
  4. Rust crate crate2bib
def get_biblatex(
        crate_name: str,
        semver: Optional[str] = None,
        user_agent: Optional[str] = None,
        branch_name: Optional[str] = None,
        filenames: Sequence[str] = ['CITATION.cff', 'citation.bib'],
    ) -> typing.Any:
    r"""
    Wraps the [crate2bib::get_biblatex] function.

    Args:
        crate_name: Name of the crate to get BibLaTeX entry
        version: A semver-compliant version number for the crate
        user_agent: The name of the user agent. Defaults to None.
        branch_name: Name of the branch where to look for citaiton files.
        filenames: Filenames to search for within repository.
    Returns:
        list: A list of formatted BibLaTeX entries.
    """
    ...

Example Usage

import asyncio
from crate2bib import get_biblatex

async def obtain_result():
    results = await get_biblatex(
        "serde", "1.0.228", "crate2bib-py-testing-serde-user-agent"
    )
    biblatex = results[0]
    print(biblatex)
> @software {Tolnay2025,
>     author = {David Tolnay},
>     title = {{serde}: A generic serialization/deserialization framework},
>     url = {https://github.com/serde-rs/serde},
>     date = {2025-09-27},
>     version = {1.0.228},
>     license = {MIT OR Apache-2.0},
> }

Release files for crate2bib 0.7.1

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

Source distribution (sdist)

Source distribution for crate2bib 0.7.1
File Size Uploaded
crate2bib-0.7.1.tar.gz 54.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for crate2bib 0.7.1
File
crate2bib-0.7.1-py3-none-musllinux_1_2_x86_64.whl Python 3 none Linux musl 1.2+ x86-64 Details
crate2bib-0.7.1-py3-none-musllinux_1_2_i686.whl Python 3 none Linux musl 1.2+ x86-32 Details
crate2bib-0.7.1-py3-none-musllinux_1_2_armv7l.whl Python 3 none Linux musl 1.2+ ARMv7l Details
crate2bib-0.7.1-py3-none-musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64 Details
crate2bib-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
crate2bib-0.7.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl Python 3 none Linux glibc 2.17+ PowerPC 64-le Details
crate2bib-0.7.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl Python 3 none Linux glibc 2.17+ ARMv7l Details
crate2bib-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
crate2bib-0.7.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl Python 3 none Linux glibc 2.5+ x86-32 Details
crate2bib-0.7.1-cp314-cp314-win32.whl CPython 3.14 CPython 3.14 Windows x86-32 Details
crate2bib-0.7.1-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
crate2bib-0.7.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
crate2bib-0.7.1-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details
crate2bib-0.7.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
crate2bib-0.7.1-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
crate2bib-0.7.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
crate2bib-0.7.1-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details

Total release size: 17.9 MB

Release files / crate2bib-0.7.1.tar.gz

Download URL crate2bib-0.7.1.tar.gz
Size 54.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d225fd83bbcce149225d1f99b9aee17bb9303f30e0f7bfb94dfa421fdc5b4773
BLAKE2b-256 checksum
How to use checksums
64c134b91db44050c5634dee12c84f299602c8e37aaf286f127f5da013ac11e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-musllinux_1_2_x86_64.whl

Download URL crate2bib-0.7.1-py3-none-musllinux_1_2_x86_64.whl
Size 177.3 kB
Tags Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
788e4d6d02e1f721cc148e192a14107a7653b22ba75f709b5dd43784c02f352c
BLAKE2b-256 checksum
How to use checksums
4ec664ebc2e7d14169dc64f6baac50d3380dab8219dd1ee89f0b27868938b469
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-musllinux_1_2_i686.whl

Download URL crate2bib-0.7.1-py3-none-musllinux_1_2_i686.whl
Size 191.3 kB
Tags Linux musl 1.2+ x86-32 Python 3
SHA-256 checksum
How to use checksums
20af19c39779423fcbc45e90675ef6f35fbba0e26e0613351d86a421511cebac
BLAKE2b-256 checksum
How to use checksums
0455715fc10df9b5d27e000b3a76841d049d2c4dbfc1d65136dcdd97bf3c0684
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-musllinux_1_2_armv7l.whl

Download URL crate2bib-0.7.1-py3-none-musllinux_1_2_armv7l.whl
Size 271.5 kB
Tags Linux musl 1.2+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
fed19df3ac73ab93aeaf79f4da9b1a182ec28793f5169ff57c91dcd120be10bc
BLAKE2b-256 checksum
How to use checksums
e61e413c3e013f397f7f0bec87eb06c0bb6f5d0d27ea8f49022d579dd5759a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-musllinux_1_2_aarch64.whl

Download URL crate2bib-0.7.1-py3-none-musllinux_1_2_aarch64.whl
Size 189.3 kB
Tags Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4f6d74bf5c2dfe7c272bd211753d98e1d3640ea46aa7f15184c169018cf68b3c
BLAKE2b-256 checksum
How to use checksums
50faa587d83630e66eb83b512a24b6b94e64da234edd75eae963309375ef1cc6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL crate2bib-0.7.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 184.1 kB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d7b245ef1438b51c0a7bf9aeaa5951e2f9a8df37c3ec67b77fc9c84f27e965df
BLAKE2b-256 checksum
How to use checksums
8df456bbdfdbd3a73a518a45e2e914bc8bb9e905a2d7f076ba9ed131671f3e66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL crate2bib-0.7.1-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 6.7 kB
Tags Linux glibc 2.17+ PowerPC 64-le Python 3
SHA-256 checksum
How to use checksums
fb8353aa91ccb8740a2176c8affeff47332d8d766c835f31f07ef85785f22f8a
BLAKE2b-256 checksum
How to use checksums
766beda3e9829ab30067bfe4374880dc3ff9878fa844a964541b2a16b3f90e11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL crate2bib-0.7.1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 6.3 kB
Tags Linux glibc 2.17+ ARMv7l Python 3
SHA-256 checksum
How to use checksums
238b80d499546061e98869279f840b4877f1ba20eaf66fe5764eca84bd673c09
BLAKE2b-256 checksum
How to use checksums
8706be8d05aaf82318dea0a65f36b4829b63a351c1e0b71147014a118962c5a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL crate2bib-0.7.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 179.4 kB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
723894e9e161abc08a7616010a293f55f405a0e5cd85a765862b1ef1cc5bc558
BLAKE2b-256 checksum
How to use checksums
54afb3cc3bf600b246e0f4afc1d7d7bb0a3a11fa931a7f1836fe8caa1b041e90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl

Download URL crate2bib-0.7.1-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
Size 5.6 kB
Tags Linux glibc 2.5+ x86-32 Python 3
SHA-256 checksum
How to use checksums
1fd763d0ef9558bae857e2d276e7f2cdf55e22e01a851b639b010fdb82b2bbcf
BLAKE2b-256 checksum
How to use checksums
651f22f0416e5d770f30357fe9c99597728455d4b57f3e93df9c0bff7e67032f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp314-cp314-win32.whl

Download URL crate2bib-0.7.1-cp314-cp314-win32.whl
Size 1.8 MB
Tags CPython 3.14 Windows x86-32
SHA-256 checksum
How to use checksums
c457e36aa378e42dc3c3ffb50cb24b8e9ff6cc3b38aa113b450b2a358ead6346
BLAKE2b-256 checksum
How to use checksums
fd8136bf18e8f7289ae3c7bae4420423d233a4d5136db7c9ce90d8a0777f582d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp314-cp314-macosx_11_0_arm64.whl

Download URL crate2bib-0.7.1-cp314-cp314-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
88c71b52d91ba8a5022691f98dfdab7ccda9d1735e64b35dba4f6b6868e98e3e
BLAKE2b-256 checksum
How to use checksums
b573decc5794a4942df42b53c2c0d14dcdcefde4e587edd8e26d54be6ffa182e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL crate2bib-0.7.1-cp313-cp313-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3b680e3c79b03a6e0c433a033719760d215da89bd2319bc889f0e4192cc2b74b
BLAKE2b-256 checksum
How to use checksums
934cc9e8becee18392645926bdc51e1d5060d10800a556b8dc508e74d84e8020
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp313-cp313-macosx_10_12_x86_64.whl

Download URL crate2bib-0.7.1-cp313-cp313-macosx_10_12_x86_64.whl
Size 2.2 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
19e54cbbc3bce273d96c39775aaa3953d967ec815b4569c0fff3827f0591beff
BLAKE2b-256 checksum
How to use checksums
34ced77f46477e2a3b4d422ecb03bdbd2a73ac684d231cadd87c23743e51f9c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL crate2bib-0.7.1-cp312-cp312-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
354b952211a5c469d7f97f51b7ad0d23c8700444eea7489a4a201d14dfe3f5c7
BLAKE2b-256 checksum
How to use checksums
4037a76172eaf528d54ba7d31608a387f460254ac18ecf0bf2f97073778eeb2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp312-cp312-macosx_10_12_x86_64.whl

Download URL crate2bib-0.7.1-cp312-cp312-macosx_10_12_x86_64.whl
Size 2.2 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a6cb5f1268cbb816b0af11fb27ac616963f2adefc3fecb4296936e4a2956152a
BLAKE2b-256 checksum
How to use checksums
8f733a9bcb99725a3f58becfeb62c1951b9970bb016e6f1f0572bef3c3700781
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL crate2bib-0.7.1-cp311-cp311-macosx_11_0_arm64.whl
Size 2.1 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6ad4d1ad97bc9516aca204d709457d1116202935317a50f656f239e767edbd40
BLAKE2b-256 checksum
How to use checksums
0e2f5fd5fb2cec1c2ce29a89eadb42b0217c11782904b863d33cf22e07d3640a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release files / crate2bib-0.7.1-cp311-cp311-macosx_10_12_x86_64.whl

Download URL crate2bib-0.7.1-cp311-cp311-macosx_10_12_x86_64.whl
Size 2.2 MB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
892009a74f0ef5d41a935737e08dda180ae45c1a6184afaba95a0a0fa00ec826
BLAKE2b-256 checksum
How to use checksums
bd69a8235e5e95e70ad87df908aaa2989afa5862a5e972994aea3a15716e021d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.9.6

Release history Release notifications | RSS feed

This release

0.7.1 This release

18 release files

0.7.0

21 release files

0.6.1

21 release files

0.6.0

21 release files

0.5.1

26 release files

0.5.0

26 release files

0.4.1

27 release files

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