Cobhan FFI
Cobhan FFI is a proof of concept system for enabling shared code to be written in Rust or Go and consumed from all major languages/platforms in a safe and effective way, using easy helper functions to manage any unsafe data marshaling.
Types
- Supported types
- int32 - 32bit signed integer
- int64 - 64bit signed integer
- float64 - double precision 64bit IEEE 754 floating point
- Cobhan buffer - length delimited 8bit buffer (no null delimiters)
- utf-8 encoded string
- JSON
- binary data
- Cobhan buffer details
- Callers provide the output buffer allocation and capacity
- Called functions can transparently return larger values via temporary files
- Modern tmpfs is entirely memory backed
- Return values
- Functions that return scalar values can return the value directly
- Functions can use special case and return maximum positive or maximum negative or zero values to represent error or overflow conditions
- Functions can allow scalar values to wrap
- Functions should document their overflow / underflow behavior
- Functions that return scalar values can return the value directly
Metadata
Release files for cobhan 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cobhan-0.4.3.tar.gz | 4.6 kB | Without provenance | Details for cobhan-0.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cobhan-0.4.3-py3-none-any.whl | Python 3 | none | any | Details for cobhan-0.4.3-py3-none-any.whl |
Total release size: 10.5 kB
Release files / cobhan-0.4.3.tar.gz
| Download URL | cobhan-0.4.3.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3992e9d9b107893d2822014b434b31e57a63ec6f678de0f34a4c34c94551649
|
|
BLAKE2b-256 checksum How to use checksums |
b960446d4ec831ebc8338277a9e2ec3a4e98ab3fe1280c0cc4937625e80d55ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1025-azure
|
Release files / cobhan-0.4.3-py3-none-any.whl
| Download URL | cobhan-0.4.3-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a53c2327fcb6a0d497cf1ae639aef9b49bd999a7165277d27250e98a5865c901
|
|
BLAKE2b-256 checksum How to use checksums |
29be72846263e5a328088fb2609c8bf59fdbcc57e8eca20a6973debf1c8f4caa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.7.17 Linux/6.5.0-1025-azure
|
Security for cobhan 0.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.