OCaml bindings for Python
672.54 KB
built 2026-10-16 13:09:59 GMT
Description
py.ml provides OCaml bindings for Python 2 and Python 3. This library
subsumes the pycaml library, which is no longer actively maintained.
The Python library is linked at runtime and the same executable can be run in
a Python 2 or a Python 3 environment. py.ml does not require any Python
library at compile time. The only compile time dependency is Stdcompat to
ensure compatibility with all OCaml compiler versions from 3.12.
Bindings are split in three modules:
- Py provides the initialization functions and some high-level bindings, with
error handling and naming conventions closer to OCaml usages.
- Pycaml provides a signature close to the old Pycaml module, so as to ease
migration.
- Pywrappers provides low-level bindings, which follow closely the conventions
of the C bindings for Python. Submodules `Pywrappers.Python2` and
`Pywrappers.Python3` contain version-specific bindings.
Dependencies
58 totalRequires48
- ld-linux-riscv64-lp64d.so.1()(64bit)
- ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit)
- libc.so.6()(64bit)
- libc.so.6(GLIBC_2.27)(64bit)
- libc.so.6(GLIBC_2.34)(64bit)
- ocaml(CamlinternalFormatBasics) = 5cba8713ea434e43a50cd422bda47dda
- ocaml(CamlinternalLazy) = 39aa2e9bf7e25b383556f7748b45c72f
- ocaml(Py) = 88705a2bd3eb3b96e10ce856c0968567
- ocaml(Pyml_arch) = 008044a301a51a9ca558bf03daa58389
- ocaml(Pytypes) = 1213edf48c371518d810853978c76881
- ocaml(Pyutils) = 8494d2c03ba356cb3cef6752e226ba9f
- ocaml(Pywrappers) = 2d77a02a67decedbfd42fde8e1d32979
- ocaml(Stdcompat) = 61ce1b3ed48865ffe7f54ca5316f0e87
- ocaml(Stdcompat__init) = b848d1b061cc82575428773f9076db49
- ocaml(Stdcompat__stdlib_s) = dceddb76fb1ed82af2ed8bb7b37f9cb0
- ocaml(Stdlib) = 5debf066d2f080eabc33d8b71099252f
- ocaml(Stdlib__Array) = 09ad905d6230fc4f28ae1b69e8675e79
- ocaml(Stdlib__Bigarray) = 904d1271afeb602c556bf1e0f0f8809c
- ocaml(Stdlib__Buffer) = c0940caa52bfb8d306ed2ca69af87ed6
- ocaml(Stdlib__Bytes) = 6fa82d0a58c0eb4ca469f084a70f9a7e
- ocaml(Stdlib__Complex) = 7a66a05174368cc820464e6c12a3693c
- ocaml(Stdlib__Domain) = d11ad689f3e35d9892101961a1201121
- ocaml(Stdlib__Either) = e4e548dbb128df23a9325d9cba39fc2f
- ocaml(Stdlib__Filename) = 49e046b4f3cb36713e404a980d6fecce
- ocaml(Stdlib__Format) = 5b2f2a54d0831d599db87620d18b8ca1
- ocaml(Stdlib__Fun) = a85d85ba4df5274da68ea85f367a289e
- ocaml(Stdlib__Gc) = 37e5209d1fcf5e8dce14d0ae4850e089
- ocaml(Stdlib__Hashtbl) = 6df0309fbcf3f1661d9e3d07a603aa3e
- ocaml(Stdlib__In_channel) = 9bec502dea593e0d420bf4f042201e34
- ocaml(Stdlib__Int32) = 6583ec691ad5b5d0403bb4dba14ff95a
- ocaml(Stdlib__Int64) = 6c1bd23e0da837071a98f3330e9f1242
- ocaml(Stdlib__Lazy) = 9888b2ba7f344f43c41116cffda5081a
- ocaml(Stdlib__List) = 81a27a0a9af489e91fa1d99f325067c2
- ocaml(Stdlib__Obj) = 26b40efd5c9a30f8c9c87c6133b5adbf
- ocaml(Stdlib__Option) = f93ad2dd791886bf1fd9094af33bb172
- ocaml(Stdlib__Printexc) = 3eb12037663b6b68977615f9862f8f66
- ocaml(Stdlib__Printf) = 3303d43852c2d96a670040b4fc4aefc6
- ocaml(Stdlib__Seq) = b55b17884ef0dff6295517debe21f111
- ocaml(Stdlib__String) = 10f6a338df78df4f5987192086ffa3c9
- ocaml(Stdlib__Sys) = fb4c43482366ca204eebf7f3838d5a55
- ocaml(Stdlib__Uchar) = ffc32f05aeea05f14986ec532040e8b1
- ocaml(Stdlib__Weak) = 3a74e684389751cdee8098f5290a5966
- ocaml(Unix) = a088c1880ec9ae11d7b8ef8cdf3a21d7
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
- rpmlib(PayloadFilesHavePrefix) <= 4.0-1
- rpmlib(PayloadIsZstd) <= 5.4.18-1
- rtld(GNU_HASH)
Provides10
- ocaml(Numpy) = 54cd8379672b11cb0f668ddbdd647a14
- ocaml(Py) = 88705a2bd3eb3b96e10ce856c0968567
- ocaml(Pycaml) = 42e39df7e42861842a78d2b83b43811f
- ocaml(Pyml_arch) = 008044a301a51a9ca558bf03daa58389
- ocaml(Pyops) = d25807541d39a45944c4fa96b293893a
- ocaml(Pytypes) = 1213edf48c371518d810853978c76881
- ocaml(Pyutils) = 8494d2c03ba356cb3cef6752e226ba9f
- ocaml(Pywrappers) = 2d77a02a67decedbfd42fde8e1d32979
- ocaml-pyml = 20250807-8.fc45
- ocaml-pyml(riscv-64) = 20250807-8.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
23Name ![]() |
Size |
|---|---|
| /usr/lib/.build-id | 0.00 B |
| /usr/lib/.build-id/62 | 0.00 B |
| /usr/lib/.build-id/62/4b4e738703e43b403d71d03ce5f62c4fd329bc | 42.00 B |
| /usr/lib/.build-id/77 | 0.00 B |
| /usr/lib/.build-id/77/c026e12b051df704cd69b3e4d2a0440fdee994 | 53.00 B |
| /usr/lib64/ocaml/pyml | 0.00 B |
| /usr/lib64/ocaml/pyml/META | 156.00 B |
| /usr/lib64/ocaml/pyml/numpy.cmi | 1.48 KB |
| /usr/lib64/ocaml/pyml/py.cmi | 24.92 KB |
| /usr/lib64/ocaml/pyml/pycaml.cmi | 13.44 KB |
| /usr/lib64/ocaml/pyml/pyml.cma | 470.60 KB |
| /usr/lib64/ocaml/pyml/pyml.cmxs | 933.48 KB |
| /usr/lib64/ocaml/pyml/pyml_arch.cmi | 563.00 B |
| /usr/lib64/ocaml/pyml/pyops.cmi | 1.29 KB |
| /usr/lib64/ocaml/pyml/pytypes.cmi | 783.00 B |
| /usr/lib64/ocaml/pyml/pyutils.cmi | 1.09 KB |
| /usr/lib64/ocaml/pyml/pywrappers.cmi | 31.95 KB |
| /usr/lib64/ocaml/stublibs/dllpyml_stubs.so | 123.39 KB |
| /usr/share/doc/ocaml-pyml | 0.00 B |
| /usr/share/doc/ocaml-pyml/CHANGES.md | 10.84 KB |
| /usr/share/doc/ocaml-pyml/README.md | 11.91 KB |
| /usr/share/licenses/ocaml-pyml | 0.00 B |
| /usr/share/licenses/ocaml-pyml/LICENSE | 1.30 KB |
Files 1–23 of 23
Component of
buildroots that installed this RPMBuildroot ![]() |
Created | State |
|---|---|---|
| f45-build-39914-761 | 2026-10-20 16:15:15 | expired |
Buildroots 1–1 of 1

