Skip to main content
fastpdb


A high performance drop-in replacement for Biotite’s PDBFile written in Rust.

Installation

fastpdb can be installed via

$ pip install fastpdb

Usage

You can simply replace biotite.structure.io.pdb.PDBFile by fastpdb.PDBFile. The methods and their parameters are the same.

import fastpdb

in_file = fastpdb.PDBFile.read("path/to/file.pdb")
atom_array = in_file.get_structure(model=1)

out_file = fastpdb.PDBFile()
out_file.set_structure(atom_array)
out_file.write("path/to/another_file.pdb")

Note that fastpdb does not yet support the hybrid-36 PDB format.

Performance

fastpdb is multiple times faster than biotite.

https://raw.githubusercontent.com/biotite-dev/fastpdb/main/benchmark.svg

Metadata

Release files for fastpdb 1.3.3

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

Source distribution (sdist)

Source distribution for fastpdb 1.3.3
File Size Uploaded
fastpdb-1.3.3.tar.gz 2.9 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for fastpdb 1.3.3
File
fastpdb-1.3.3-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
fastpdb-1.3.3-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details
fastpdb-1.3.3-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
fastpdb-1.3.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
fastpdb-1.3.3-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
fastpdb-1.3.3-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
fastpdb-1.3.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
fastpdb-1.3.3-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details
fastpdb-1.3.3-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
fastpdb-1.3.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
fastpdb-1.3.3-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details
fastpdb-1.3.3-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 6.7 MB

Release files / fastpdb-1.3.3.tar.gz

Download URL fastpdb-1.3.3.tar.gz
Size 2.9 MB
Tags Source
SHA-256 checksum
How to use checksums
ddae2c4d49251f7ebc918507d09bc57e8be4ff83d898fcf9e6d521846353cfed
BLAKE2b-256 checksum
How to use checksums
9b0e21f7131d90e8b0d20d2a78990d20b4f9e549973e6da10b58f4231aa52f96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp313-cp313-win_amd64.whl

Download URL fastpdb-1.3.3-cp313-cp313-win_amd64.whl
Size 229.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f508b177d18158a953f803fe496dcaa02f91c78b7710a8fcdc960ec67d2d576f
BLAKE2b-256 checksum
How to use checksums
f60faa374dc3a535d5b621748fac905079a1e7760668c572d424c8b95a9bb95c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL fastpdb-1.3.3-cp313-cp313-manylinux_2_34_x86_64.whl
Size 372.3 kB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
04f7b65715431186cd34e71256a8b0430c2d86ea40cc6ae7bac9339674f9960f
BLAKE2b-256 checksum
How to use checksums
9d7a9a48ac419ec2342a4a11c759356ec958df051f0be86cc346e6e2d6bbf5e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp313-cp313-macosx_11_0_arm64.whl

Download URL fastpdb-1.3.3-cp313-cp313-macosx_11_0_arm64.whl
Size 333.1 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
21981690ff48780e18c5a844e741a597e8ed039a2ff363f9a6800c66f38ac99e
BLAKE2b-256 checksum
How to use checksums
1211dd9302a1cdfe0c6a3476aef9e877f65c6450c9e492f644557a9e7b13f6f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp312-cp312-win_amd64.whl

Download URL fastpdb-1.3.3-cp312-cp312-win_amd64.whl
Size 229.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
c6c507d1264f85ff314ee48313aac49fd67fdf408fbd68718cace46ecbb09f1b
BLAKE2b-256 checksum
How to use checksums
ee2deac4b65c0e927aa2f300e6849e7a3865351e51e6f7762674d3ca4732332d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL fastpdb-1.3.3-cp312-cp312-manylinux_2_34_x86_64.whl
Size 373.0 kB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
2f1ad05682fead811b279ade945009324efc29578377cf9128ac9b6b942cedde
BLAKE2b-256 checksum
How to use checksums
8699123f206acf75648cb8f8316889966095d023f6717231d1c71b296d8ebcf0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp312-cp312-macosx_11_0_arm64.whl

Download URL fastpdb-1.3.3-cp312-cp312-macosx_11_0_arm64.whl
Size 333.7 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
646e1d245e2cd5f5a10e15aa1dbc087da99a7f753ccc50024f16794b6c0a5872
BLAKE2b-256 checksum
How to use checksums
a1cc7ad17f5dc27c61b76eda8e512e398dbd8efcb3d5ea9e07f8055e0b8b63f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp311-cp311-win_amd64.whl

Download URL fastpdb-1.3.3-cp311-cp311-win_amd64.whl
Size 229.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
b3ff38d0c93329d63a46de71ecc44af0d50326d8a2774bdf19e35279ce57bcc9
BLAKE2b-256 checksum
How to use checksums
b09c0cbc1b77c440d983963c313afe55f69cb7d7be9cb9ac5ba7f20b08e7d0db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL fastpdb-1.3.3-cp311-cp311-manylinux_2_34_x86_64.whl
Size 373.4 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
2f1b5356b591baf4203239af206287cc169968fee632c0a38ee68057fa3d1550
BLAKE2b-256 checksum
How to use checksums
a85698dcafe1a951fff635f7e46c8385ce95ae0bb7fb82017497ffa7a9b435b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp311-cp311-macosx_11_0_arm64.whl

Download URL fastpdb-1.3.3-cp311-cp311-macosx_11_0_arm64.whl
Size 337.9 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cabaad654876b8f7377c26a2a480d8c1f7fb52d97174f9ada53a03867e079163
BLAKE2b-256 checksum
How to use checksums
3e7b15e512f2f0bc91f0d5fee9c0ea1678ef526c6e14e78e0e670911514943ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp310-cp310-win_amd64.whl

Download URL fastpdb-1.3.3-cp310-cp310-win_amd64.whl
Size 229.4 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
140e4c9c67f1603b434220c7e1a7883d7701ab5fbef1ee19a445b2e17fc0213a
BLAKE2b-256 checksum
How to use checksums
9dbd07ef90bf1e58ee9c1e10d85efd5b357c9a7a7ececd4312cb9ac9357e4368
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL fastpdb-1.3.3-cp310-cp310-manylinux_2_34_x86_64.whl
Size 373.3 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
65d17ff46a66d703d7b6738093b4d9f3a19868bb6ad01b6cb94d8c0d96dd878a
BLAKE2b-256 checksum
How to use checksums
64189b33ff3d9a4e9c7e9e8d5cb7a67ef7c2aa2c012487b740e1bebbd0ff1463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / fastpdb-1.3.3-cp310-cp310-macosx_11_0_arm64.whl

Download URL fastpdb-1.3.3-cp310-cp310-macosx_11_0_arm64.whl
Size 337.7 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3b34d06e52ce18523c1aa6891a3e1f51c8606e5a7ae274f3f659356e8a630369
BLAKE2b-256 checksum
How to use checksums
b35a5ffb286c2592eb2f413b66e9936ef7b47e9a3d5cdb3edc642e85d9a71b70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release history Release notifications | RSS feed

This release

1.3.3 This release

13 release files

1.3.0

10 release files

1.2.0

10 release files

1.0.1

10 release files

1.0.0

10 release files

0.1.0

2 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