bindview 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. bindview/__init__.py +88 -0
  2. bindview/__main__.py +6 -0
  3. bindview/align.py +493 -0
  4. bindview/arrange.js +347 -0
  5. bindview/arrange.py +248 -0
  6. bindview/backends.py +290 -0
  7. bindview/basepairs.py +1711 -0
  8. bindview/chains.py +264 -0
  9. bindview/chem.py +57 -0
  10. bindview/clearance.py +123 -0
  11. bindview/cli.py +990 -0
  12. bindview/compare.py +1854 -0
  13. bindview/confidence.py +531 -0
  14. bindview/consensus.py +303 -0
  15. bindview/covalent.py +220 -0
  16. bindview/depict.py +790 -0
  17. bindview/detect.py +378 -0
  18. bindview/diagram.py +1891 -0
  19. bindview/distance_table.py +589 -0
  20. bindview/ensemble.py +787 -0
  21. bindview/errors.py +47 -0
  22. bindview/exposure.py +207 -0
  23. bindview/features.py +179 -0
  24. bindview/fingerprint.py +469 -0
  25. bindview/fragments.py +304 -0
  26. bindview/geometry.py +482 -0
  27. bindview/graph.py +611 -0
  28. bindview/graphbuild.py +431 -0
  29. bindview/interactions.py +418 -0
  30. bindview/interactive.py +334 -0
  31. bindview/interface.py +1329 -0
  32. bindview/ions.py +155 -0
  33. bindview/layout/__init__.py +15 -0
  34. bindview/layout/body.py +421 -0
  35. bindview/layout/engine.py +1084 -0
  36. bindview/layout/field.py +261 -0
  37. bindview/ligand.py +583 -0
  38. bindview/near.py +67 -0
  39. bindview/options.py +92 -0
  40. bindview/pae.py +991 -0
  41. bindview/peptide.py +610 -0
  42. bindview/plane.py +320 -0
  43. bindview/polymer.py +678 -0
  44. bindview/py.typed +0 -0
  45. bindview/report.py +1407 -0
  46. bindview/residues.py +296 -0
  47. bindview/resolve.py +493 -0
  48. bindview/scene.py +239 -0
  49. bindview/solvent.py +254 -0
  50. bindview/structure.py +1145 -0
  51. bindview/styles/__init__.py +2 -0
  52. bindview/styles/absence.py +180 -0
  53. bindview/styles/base.py +2128 -0
  54. bindview/styles/closeup.py +146 -0
  55. bindview/styles/detailed.py +690 -0
  56. bindview/styles/ligand_draw.py +289 -0
  57. bindview/styles/mixed.py +70 -0
  58. bindview/styles/polymer_draw.py +354 -0
  59. bindview/styles/rings.py +75 -0
  60. bindview/styles/schematic.py +311 -0
  61. bindview/styles/summary.py +147 -0
  62. bindview/svg.py +310 -0
  63. bindview/textmetrics.py +64 -0
  64. bindview/theme.py +317 -0
  65. bindview-0.1.0.dist-info/METADATA +270 -0
  66. bindview-0.1.0.dist-info/RECORD +70 -0
  67. bindview-0.1.0.dist-info/WHEEL +4 -0
  68. bindview-0.1.0.dist-info/entry_points.txt +2 -0
  69. bindview-0.1.0.dist-info/licenses/LICENSE +21 -0
  70. bindview-0.1.0.dist-info/licenses/NOTICE +48 -0
@@ -0,0 +1,70 @@
1
+ bindview/__init__.py,sha256=l6w3WlnnZ-glHOT-M8SqDaP_PvgnZCoLQ3R4Fb9U9DI,4383
2
+ bindview/__main__.py,sha256=O_UEa13LnE3wAZ9mMrfWPI_1SxDS82Ss5FlcDH5OL2A,150
3
+ bindview/align.py,sha256=PuPUpW8EjwcsAdzxi4dfABwPVwz9G8xGtxekBpUUvTk,23220
4
+ bindview/arrange.js,sha256=GeImIpaUmZgYcc3Spl-X1q7vd4XEzisxwzpi4f3zd0w,20231
5
+ bindview/arrange.py,sha256=ESAplZD3gMcitdFLRNjBe0DcA_V_clIiM8FpZIhfJzY,13769
6
+ bindview/backends.py,sha256=dlrRdeH2U5cunsTxZXMpo0x2zTPaVTYhXRpk4_43ptM,14494
7
+ bindview/basepairs.py,sha256=xc8YFni1EvAJ1Q54w_zlZHExpDuQcEu016XQlKdixAs,91787
8
+ bindview/chains.py,sha256=68xnURtK8eAmMEvrWwZOfpRlUm7o9CXAgz1zPDYhGDQ,15035
9
+ bindview/chem.py,sha256=6N8yV9p_lo2yD43rH3Nk6OEEnTF1XM1PrX7ywo6mDCw,1975
10
+ bindview/clearance.py,sha256=967DGpHjM1l2DCyMQxd18-1E4FxiGI-K_sHuPJD1My0,5833
11
+ bindview/cli.py,sha256=s5QYdBgtjiEcUI-8D8KqyCoPxvg32T_offXDRYSqwIo,58946
12
+ bindview/compare.py,sha256=w4ytva6icHUGX-sV7zR3tlPUoLyMUJqjcBc3vV7ZbgQ,107341
13
+ bindview/confidence.py,sha256=hxpXQeOexrAV2nTmQxnO8Q-JDVKucUBhFiVMFUx1DKU,26541
14
+ bindview/consensus.py,sha256=yV5EKT9qhqRWM2JtpuaWL_qDLWAWz-JU2FrhQNn_rxc,15060
15
+ bindview/covalent.py,sha256=1bCDHclJVmZ6LnrKtup7zGQbBznH0s7xbqFlTn3nnqQ,11425
16
+ bindview/depict.py,sha256=XO1S5vFB07mf-EwJIiXptmDwAl_BTwlmRlpJ-Az2y74,34690
17
+ bindview/detect.py,sha256=e5gd1zw7u8TSo5KTrlmwk1ni_oCQfwpygOIgA4oOHVk,20990
18
+ bindview/diagram.py,sha256=wDqBm62KPUDnYJcf1GXcxtkhiyj_uajPTWyAcna0v_g,114766
19
+ bindview/distance_table.py,sha256=m5MQs-wpTFQsGXGrLXMs6bTX1mvymjeIFyJJ2TfofMQ,35112
20
+ bindview/ensemble.py,sha256=MIIEK7_VvHOIsd7Vc_Q3acfk0fYd9bgiicBFls5Bkq0,45892
21
+ bindview/errors.py,sha256=k7rFHgxCGYuxWpRJxPRbdMhndmqXHVPw8fhblvZIdx4,1488
22
+ bindview/exposure.py,sha256=S_qmL_QS99SIDH8GHa31GHN2Xs-cOzVY5uRRWg9Ld54,10080
23
+ bindview/features.py,sha256=RnuzlPFiXQYJYCbmZ0OF3bJdGCJjcZLwJysRd5jIuu0,7743
24
+ bindview/fingerprint.py,sha256=munVE_fHVmj5wgS7MoYCBvVqtoiwwK8iRCrpKvGBz1o,23100
25
+ bindview/fragments.py,sha256=W-zfXqRfjqabx0u3jOZB1Q9sRBAlhvmuBYcNgva9YC4,13860
26
+ bindview/geometry.py,sha256=RBhpJI_62a1W0ZYWXbkWw_GQrVO8reOWBCqUitTAu4U,18895
27
+ bindview/graph.py,sha256=l4aJjrikesfUoXS-E_lfaXUPtEH6aNg6HcvL8Gyi4kA,30817
28
+ bindview/graphbuild.py,sha256=Q7v7Aiqj8x5wRM5l1edo_zEEs4cLmzb_mzMCs23j8e0,24028
29
+ bindview/interactions.py,sha256=K-cZLqZezXcSYpcc-xIlHse9yglSxkGF2Tfjbfciwns,20314
30
+ bindview/interactive.py,sha256=3BCHlsYncu-KzYuUlAgXTCcHo2PBI2ZdCNchX2GiyYc,17712
31
+ bindview/interface.py,sha256=wm24HxyTbojab9lCfvnrsiHTztxyKaM0rt9wHybQEVQ,78822
32
+ bindview/ions.py,sha256=obb5sAvL2iWHfq-l-Om47Kq2Q3eanodRHhDYKKGVgB4,8223
33
+ bindview/ligand.py,sha256=z2OcL4Pv-m7XK9r2Mu5vD_1YHqDWlEc5hUefSwMM1Do,28079
34
+ bindview/near.py,sha256=r4LntzASFeSjDiMNuwD5bO2uLPQRvKz8vOQ7BnFqgag,2833
35
+ bindview/options.py,sha256=otLRk3qDq2J7v8ME3owg9GohuPNFcx2LFYhQxGv5Djk,5724
36
+ bindview/pae.py,sha256=hjYfCfGmFB3IB9YiMAinFQWHfREIlSBsMq9ZpGbjvys,57948
37
+ bindview/peptide.py,sha256=VunaL4_xCDgBVYA9cfE1ZZ1ijHCOBfqXZA8-V9fdVog,27660
38
+ bindview/plane.py,sha256=nDzmL2MsethqIzUwXYNHU8zryO1pKV3CNbnsNmTyN8U,14934
39
+ bindview/polymer.py,sha256=IMJOcuKhvXnmxjvoFcCxofKNi7KpfIeLqYIOgpw_UCw,36767
40
+ bindview/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
41
+ bindview/report.py,sha256=EVtBkmCIWBjNPV41u75TrPjLG2gHW68I7efy4eOdfBY,83433
42
+ bindview/residues.py,sha256=VKZ6QsMolnFnnzDym3JkJJ76Iw_Ywx38PklGTf5iEFc,14106
43
+ bindview/resolve.py,sha256=RGnbdW-uEivlZAaU8k0Rbg1ozbnYNB_5ywDotsMhWRI,22436
44
+ bindview/scene.py,sha256=cUuxltzK0vMIcoqLGrXlrEmxmy8TDCVXiYd6TlMixm4,7738
45
+ bindview/solvent.py,sha256=i6ZCdrLmpKiZL9apEpzrKehY1WtT_Jm12bbjswriT3U,12907
46
+ bindview/structure.py,sha256=4Cv09B_WmObKVRgRIhmpLuOYb1MTam6WqwYajTJN6Nw,56438
47
+ bindview/svg.py,sha256=oxSDK9mYj6P1WujTKhjeP2M8Dro79piM7HutlHNF8Yc,15105
48
+ bindview/textmetrics.py,sha256=xDMWvhMp4GiENqjYp11dMU78lnm1H3aKh5E_tCCzEwU,3337
49
+ bindview/theme.py,sha256=p2KxjGpfV7-5KkraDsY7ZsvVbIC4xVAO8f97JpBFfqU,14415
50
+ bindview/layout/__init__.py,sha256=qWOeEaag-m61ST18k3fwl9GIce3CoCbsfQEpM4qYaG0,661
51
+ bindview/layout/body.py,sha256=zcU1i2eBof-KvP8tfsxsR9z19U0BqQdCV-I5VjrBbfY,21305
52
+ bindview/layout/engine.py,sha256=wzpR14SHzzvcFQ6IITvb4i6Ur91ptq11pHbcEQkzqCs,57085
53
+ bindview/layout/field.py,sha256=QVpFGn-tXxAPilnQCiOMoe1gUpt50sstoM_L9yUOd1U,12852
54
+ bindview/styles/__init__.py,sha256=TbRPHXnNy4G_rKzRwyaUlZlHgiHGRbNMBJTNCR2n6a8,139
55
+ bindview/styles/absence.py,sha256=ynY9qLp0uh2kl0qehb-HaP0-wYYvaOpwa6LuGKcma5A,7747
56
+ bindview/styles/base.py,sha256=-BI8oJR24BSDKqV930zzwGMYmvMcZ1C2T1Im9O-6-Gw,110711
57
+ bindview/styles/closeup.py,sha256=GNVHkj-fCksppBnOcGLjqFYCyNjve5J5Z5WRtUrZA6E,6998
58
+ bindview/styles/detailed.py,sha256=Iqek5dYs_-2uuLvlRONWqG67XNZmFn2cWyV6XK4uQ1A,40054
59
+ bindview/styles/ligand_draw.py,sha256=29VEx5uzZRhqUFpXZKcGikBThOtx8szNvF3hTTU7M8s,12963
60
+ bindview/styles/mixed.py,sha256=MygsSOce33RvDnanjRIPvxuE_yuZM478cn46rrUqEEA,3378
61
+ bindview/styles/polymer_draw.py,sha256=zhxv0uCLg2p56sCRaVQr5EZ4l7ekSC7a5hAcCbxFHAg,19265
62
+ bindview/styles/rings.py,sha256=VUk9DNAYx0zxk2jP7_SosMm1BZaxCRvSlOKhYBvH1WA,3192
63
+ bindview/styles/schematic.py,sha256=3rd0p5lTJh8xHb7TBlv8BxwnwDxEuyinjRy4W_PTWA8,16426
64
+ bindview/styles/summary.py,sha256=rMcfaRYqqdMowvkhR-hRe4JbQM41m2LNg-g6fFd1H14,7336
65
+ bindview-0.1.0.dist-info/METADATA,sha256=r409lWOXurGsWMw1PPlyOcg0FX6O9FJfnBZclCBwSSI,19077
66
+ bindview-0.1.0.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
67
+ bindview-0.1.0.dist-info/entry_points.txt,sha256=YZ-j_kvOuyTvQZsXg1e04LzCbtAvbyULDH6xIsSlrAk,47
68
+ bindview-0.1.0.dist-info/licenses/LICENSE,sha256=o9dMg4jtybwT8CMgCAVOANj04IlhGaIw3YvuSFzpsRQ,1069
69
+ bindview-0.1.0.dist-info/licenses/NOTICE,sha256=W-Ry2EXp15iKOYftftfeTowXhEID5MKKM_ZaZZPjZo4,2710
70
+ bindview-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.33.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ bindview = bindview.cli:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jakob Steuer
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,48 @@
1
+ bindview
2
+ Copyright (c) 2026 Jakob Steuer
3
+ Licence: MIT (see LICENSE)
4
+
5
+ This file names what the package and its repository hold of others' work.
6
+
7
+ In the package
8
+ --------------
9
+
10
+ Advance widths of Helvetica and Helvetica-Bold (src/bindview/textmetrics.py), from the font metrics of the
11
+ 14 PDF core fonts:
12
+
13
+ Copyright (c) 1985, 1987, 1989, 1990, 1997 Adobe Systems Incorporated. All Rights Reserved.
14
+
15
+ This file and the 14 PostScript(R) AFM files it accompanies may be used, copied, and distributed for any
16
+ purpose and without charge, with or without modification, provided that all copyright notices are retained;
17
+ that the AFM files are not distributed without this file; that all modifications to this file or any of the
18
+ AFM files are prominently noted in the modified file(s); and that this paragraph is not modified. Adobe
19
+ Systems has no responsibility or obligation to support the use of the AFM files.
20
+
21
+ The widths are held as a table of numbers; those of a few characters that the two fonts do not have (a pi, a
22
+ prime, an arrow, subscript digits) were added.
23
+
24
+ Residue templates (src/bindview/residues.py) follow the wwPDB Chemical Component Dictionary, which is in the
25
+ public domain (CC0 1.0).
26
+
27
+ In the repository, not in the package
28
+ -------------------------------------
29
+
30
+ Structures under testdata/ are entries of the RCSB Protein Data Bank, whose data are in the public domain
31
+ (CC0 1.0); each folder's meta.json names its entry. Berman et al., Nucleic Acids Res. 2000, 28, 235.
32
+
33
+ testdata/interface_pae: models and predicted aligned errors of the AlphaFold Protein Structure Database
34
+ (CC BY 4.0; Jumper et al., Nature 2021, 596, 583; Varadi et al., Nucleic Acids Res. 2024, 52, D368). The files
35
+ are the database's, packed. The domain borders are from The Encyclopedia of Domains (CC BY 4.0).
36
+
37
+ scripts/solvent_validation_set.tsv lists the Astex Diverse Set (Hartshorn et al., J. Med. Chem. 2007, 50, 726)
38
+ with the ligand of each entry as PoseBusters names it (Buttenschoen et al., Chem. Sci. 2024, 15, 3130).
39
+
40
+ testdata/nucleic/riboswitch_bisguanidine and testdata/md/riboswitch_bisguanidine: a frame and contact tables of
41
+ the molecular dynamics simulations of a guanidine-II riboswitch with a bivalent ligand by the author of bindview
42
+ (Steuer et al., NAR Genom. Bioinform. 2024, 6, lqae132; https://doi.org/10.1093/nargab/lqae132), taken from
43
+ https://github.com/jakob-steuer/FHNW-Summer-School-2025-MolSim-Analysis (MIT).
44
+
45
+ testdata/ensemble_bioemu2: samples of BioEmu 2 (Microsoft), whose code and checkpoint are under the MIT licence.
46
+
47
+ testdata/*/interactions.tsv were written by PLIP (Adasme et al., Nucleic Acids Res. 2021, 49, W530), which is
48
+ GPL-2.0 and not part of this repository.