cpython: Bindings for libpython
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
These bindings allow Haskell code to call CPython code. It is not currently possible to call Haskell code from CPython, but this feature is planned.
Properties
Versions | 3.1.0, 3.1.1.0, 3.1.2.0, 3.1.2.1, 3.1.3, 3.1.4, 3.2.0, 3.3.0, 3.3.1, 3.4.0, 3.5.0, 3.5.0, 3.5.1 |
---|---|
Change log | changelog.md |
Dependencies | base (>=4.0 && <5.0), bytestring (>=0.9), text [details] |
License | GPL-3.0-only |
Author | John Millikin <jmillikin@gmail.com> |
Maintainer | Adam Zsigmond <zsedem@gmail.com> |
Category | Foreign |
Home page | https://github.com/zsedem/haskell-cpython |
Source repo | head: git clone https://github.com/zsedem/haskell-cpython |
Uploaded | by zsedem at 2021-01-01T13:30:17Z |
Modules
- CPython
- CPython.Constants
- Protocols
- CPython.Protocols.Iterator
- CPython.Protocols.Mapping
- CPython.Protocols.Number
- CPython.Protocols.Object
- CPython.Protocols.Object.Enums
- CPython.Protocols.Sequence
- CPython.Reflection
- CPython.System
- CPython.Types
- CPython.Types.ByteArray
- CPython.Types.Bytes
- CPython.Types.Capsule
- CPython.Types.Cell
- CPython.Types.Code
- CPython.Types.Complex
- CPython.Types.Dictionary
- CPython.Types.Exception
- CPython.Types.Float
- CPython.Types.Function
- CPython.Types.InstanceMethod
- CPython.Types.Integer
- CPython.Types.Iterator
- CPython.Types.List
- CPython.Types.Method
- CPython.Types.Module
- CPython.Types.Set
- CPython.Types.Slice
- CPython.Types.Tuple
- CPython.Types.Type
- CPython.Types.Unicode
- CPython.Types.WeakReference
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
usepython38 | Fix python version to 3.8. Needed in case of the libpython3.so does not exists or not a full python3 module. (If enabled, then only works for python 3.8) | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- cpython-3.5.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees